🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!
cache busting and multilingual support with 17 languages
sassanixa185d7d1d7c5
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1873ba5..d9622b9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,104 @@# Changelog+## 0.10.1.5 - 2025-07-08++### Enhanced+- **Comprehensive Cache Busting Implementation:** Updated all frontend assets with consistent cache versioning to ensure users receive the latest files immediately.+ - **Unified Cache Version:** Applied consistent cache busting version `v=20250118001` across all frontend assets:+ - **CSS Files:** `style.css`, `settings-styles.css`, `header-fix.css`, `mobile-header.css`+ - **JavaScript Files:** `script.js`, `auth.js`, `settings-new.js`, `status.js`, `theme-loader.js`, `footer-fix.js`, `footer-content.js`+ - **Authentication Scripts:** `auth-redirect.js`, `registration-status.js`, `file-utils.js`, `include-auth-new.js`, `fix-auth-buttons-loader.js`+ - **Internationalization:** `js/i18n.js`, `js/i18n-debug.js`, and all i18next library files+ - **Chart Library:** `chart.js`+ - **Complete HTML Coverage:** Updated cache busting across all application pages:+ - **Main Pages:** `index.html`, `status.html`, `settings-new.html`+ - **Authentication Pages:** `login.html`, `register.html`, `reset-password.html`, `reset-password-request.html`+ - **Utility Pages:** `about.html`, `auth-redirect.html`, `debug-export.html`+ - **Service Worker Integration:** Updated Progressive Web App caching with new cache name `warracker-cache-v20250118001`:+ - **Cache Name Update:** Incremented service worker cache version to force cache refresh+ - **Asset Registry:** Added all cache-busted files to service worker's cached asset list+ - **Cache Invalidation:** Old cached versions automatically cleared on service worker activation+ - **Performance Benefits:**+ - **Immediate Updates:** Users automatically receive latest file versions without manual cache clearing+ - **Consistent Experience:** Eliminates mixed version issues from partial cache updates+ - **Developer Control:** Simplified cache management for future deployments+ - **PWA Compatibility:** Service worker properly synchronized with new asset versions+ - _Files: All HTML files, `frontend/sw.js`_++### Added+- **Multi-Language Support Expansion:** Warracker now provides comprehensive internationalization support with **17 languages**, making warranty management accessible to users worldwide.+ - **Complete Localization Coverage:** Full application translation including UI elements, navigation, settings, status pages, and user messaging across all supported languages+ - **Right-to-Left (RTL) Language Support:** Native RTL text direction support for Arabic and Persian languages with proper layout adjustments+ - **Supported Languages:**+ - **Arabic (ar)** – *RTL Support*+ - **Czech (cs)** – Čeština+ - **German (de)** – Deutsch+ - **English (en)** – English *(Default)*+ - **Spanish (es)** – Español+ - **Persian (fa)** – فارسی *(RTL Support)*+ - **French (fr)** – Français+ - **Hindi (hi)** – हिन्दी+ - **Italian (it)** – Italiano+ - **Japanese (ja)** – 日本語+ - **Korean (ko)** – 한국어+ - **Dutch (nl)** – Nederlands+ - **Portuguese (pt)** – Português+ - **Russian (ru)** – Русский+ - **Ukrainian (uk)** – Українська+ - **Chinese (Simplified) (zh_CN)** – 简体中文+ - **Chinese (Hong Kong) (zh_HK)** – 繁體中文 (香港)+ - **Language Selection Features:**+ - **Auto-Detection:** Browser language automatically detected on first visit+ - **User Preference:** Individual language selection saved to user profile+ - **Native Names:** Language dropdown displays options in their native scripts for better user recognition+ - **Instant Switching:** Real-time language changes without page reload++## Frontend Enhancements++* Language dropdown updated to list all 17 languages using native names.+* UI elements across navigation, settings, and status pages are fully localized.+* Translation files updated with keys for status, warranties, and user settings.+* Full support for pluralization and dynamic content in all languages.++ * *Files: `frontend/js/i18n.js`, `frontend/settings-new.html`, `frontend/status.js`, `frontend/status.html`, `frontend/version-checker.js`*++## Backend and Database Updates++* Language code validation extended to all 17 languages in user preference APIs.+* Database constraints updated to allow the new language codes.++ * *Files: `backend/auth_routes.py`, `backend/app.py`, `backend/localization.py`, `backend/migrations/039_update_language_constraint.sql`, `backend/migrations/041_update_language_constraint_again.py`*++## Translation Files++* New translation files added for all supported languages under `locales/`.+* All existing translation files updated to include standardized language names.+* Gettext `.po` files updated to reflect new keys.++ * *Files: `locales/*/translation.json`, `locales/*/LC_MESSAGES/messages.po`, `scripts/manage_translations.py`, `run_language_migration.py`*++## Status Page Localization++* Status dashboard, chart labels, and table headers are fully translatable.+* Dynamic labels (e.g., warranty statuses, chart titles, empty states) now reflect the selected language.+* Proper pluralization support implemented for all time-based units.+* Missing or inconsistent keys added across all language files:++ * `dashboard_title`, `global_dashboard_title`, `overview`+ * `purchase_date`, `expiration_date`, `status`, `expiring_soon`+ * `recent_expirations_empty`, `active`, and others+ * *Files: `frontend/status.js`, `locales/*/translation.json`*++### Fixed++- **Paperless-ngx Auto-Linking After Add Warranty:** Fixed an issue where uploading invoices or manuals to Paperless-ngx when adding a new warranty did not automatically link the documents to the warranty (auto-link/search logic was not triggered). Now, after adding a warranty, any uploaded Paperless-ngx documents (invoice or manual) are automatically searched and linked, matching the behavior of the edit warranty modal. This works for both invoices and manuals, provided their storage is set to "paperless".+ - **Root Cause:** The auto-link logic was running after the form reset, which cleared file inputs and prevented document linking.+ - **Solution:** The auto-link logic now runs before the form reset, using pre-upload file info and storage type to ensure correct document association.+ - **Impact:** Users can now add warranties and have their uploaded Paperless-ngx invoices/manuals automatically linked, just like in the edit modal.+ - _Files: `frontend/script.js`_++- **Toast Error Adding Warranty:** When skipping a missing field in a form, the application now displays only a single warning message instead of multiple repeated warnings. This improves user experience by preventing redundant alerts when required fields are missing or skipped.+## 0.10.1.4 - 2025-06-24### Enhanceddiff --git a/Dockerfile b/Dockerfileindex 352575a..8954a26 100644--- a/Dockerfile+++ b/Dockerfile@@ -46,6 +46,7 @@ COPY backend/oidc_handler.py /app/backend/COPY backend/apprise_handler.py /app/backend/COPY backend/notifications.py /app/backend/COPY backend/paperless_handler.py /app/backend/+COPY backend/localization.py /app/backend/# Copy other utility scripts and migrationsCOPY backend/fix_permissions.py .@@ -60,6 +61,13 @@ COPY frontend/manifest.json /var/www/html/manifest.json# Add favicon and imagesCOPY frontend/favicon.ico /var/www/html/COPY frontend/img/ /var/www/html/img/+# Copy frontend JS directory for localization+COPY frontend/js/ /var/www/html/js/++# Copy localization files+COPY locales/ /app/locales/+COPY locales/ /var/www/html/locales/+COPY babel.cfg /app/# Configure nginx siteRUN rm /etc/nginx/sites-enabled/default@@ -73,6 +81,8 @@ echo "Running database migrations..."\n\python /app/migrations/apply_migrations.py\n\echo "Running fix permissions script..."\n\python /app/fix_permissions.py\n\+echo "Compiling translations..."\n\+cd /app && python -c "import subprocess; subprocess.run([\"pybabel\", \"compile\", \"-d\", \"locales\"], check=False)"\n\echo "Setup script finished successfully."\n\# The actual services (gunicorn, nginx) will be started by Supervisor below\n\exit 0 # Exit successfully, Supervisor takes over\n\diff --git a/README.md b/README.mdindex 2fbc75e..57c77c9 100644--- a/README.md+++ b/README.md@@ -1,94 +1,83 @@<div align="center">-<img src="https://github.com/user-attachments/assets/2132a842-4233-4d37-8fde-b2d23353ed76" width="100"/>+<img src="https://github.com/user-attachments/assets/2132a842-4233-4d37-8fde-b2d23353ed76" width="145"/><h1 <strong>Warracker</strong></h1>-<p align="center">- <b>Open-source warranty tracker for individuals and teams.</b> <br/>-The easiest way to organize product warranties, monitor expiration dates, and store receipts or related documents.-</b>-</p>+</div><div align="center">+<!--  -->-[](https://discord.gg/PGxVS3U2Nw)--<p align="center">- <img src="images/demo.gif" alt="Warracker Demo" width="600">-</p>-+<!--  -->+[](https://github.com/denser-org/denser-retriever/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)+#--</div>-⭐ If you find Warracker helpful, we’d truly appreciate a star on GitHub! Your support motivates us to keep improving and building great new features.--#--## 🌟Overview-**Warracker** is a web-based application that simplifies the management of product warranties. It allows users to organize warranty information, monitor expiration dates, and securely store related documents.+# 🛡️ Warracker+Warracker is an open-source warranty tracker application designed to help you effortlessly keep track of product warranties, expiration dates, and related documentation.-## 🔑 Key Features+## 🌟 Overview-| **Feature** | **Description** |-| -------------------------------- | -------------------------------------------------------------------------------------------------------- |-| 🗃️ **Centralized Management** | Track all your product warranties in one place |-| 🧾 **Detailed Records** | Store purchase dates, durations, notes, and product photos with thumbnail previews |-| 📄 **Document Storage** | Upload receipts, invoices, and manuals securely |-| 🔔 **Proactive Alerts** | Get alerts for upcoming expirations via email or 100+ push services (Discord, Slack, etc.) using Apprise |-| 🔍 **Quick Search and Filter** | Search by product name, serial number, vendor, tags, and more with real-time filtering |-| #️⃣ **Multiple Serial Numbers** | Add and manage multiple serial numbers per product |-| 🌍 **Global Warranty View** | Authenticated users can view global warranty data with role-based permissions |-| 👥 **Multi-User Support** | Manage multiple accounts with admin controls and global access toggles |-| 📤 **Data Export/Import** | Import/export warranty data via CSV |-| ⚙️ **Customizable Settings** | Configure currency, date formats, notification timing, and branding |-| 🌐 **Internationalization Support** | Support for multiple currencies and date formats tailored to regional preferences, enabling a seamless global user experience |-| 🏷️ **Tagging** | Organize warranties using custom tags |-| 🔐 **Password Reset** | Token-based, secure account recovery system |-| 🔑 **OIDC SSO** | Single sign-on with providers like Google, GitHub, and Keycloak |-| 📊 **Status Dashboard** | Visual analytics and stats with charts, tables, and global/user views |-| 📱 **Responsive UI** | Mobile-friendly interface with admin tools and improved UX |-| 📦 **Paperless-ngx Integration** | Store/manage documents directly in Paperless-ngx with file-level control |+**Warracker** is a web-based application designed to simplify and centralize product warranty management. Key capabilities include:----+- **Centralized Warranty Management:** Track and manage all your product warranties in one place.+- **Detailed Records:** Save essential details like purchase dates, durations, and notes.+- **Document Storage:** Upload and securely store receipts, invoices, product manuals, and other related files (e.g., ZIP, RAR archives).+- **Proactive Alerts:** Visual notifications for active, expiring (customizable from 1 to 365 days), and expired warranties.+- **Quick Search and Filter:** Instantly find warranties by product name, serial numbers, vendor, tags, or notes.+- **Notes Support:** Add freeform notes to each warranty for extra context or reminders.+- **Secure Access with Multi-User Support:** Create multiple user accounts for shared access; admins can enable or disable new user creation.+- **System Status Dashboard:** Real-time system health and warranty summary.+- **Data Export and Import:** Export warranty data to CSV, or import warranties from CSV files.+- **Email Notifications:** Receive timely email reminders about upcoming expirations — configurable as daily, weekly, or monthly.+- **Customizable Currency Symbols:** Display prices using your preferred currency symbol ($, €, £, ¥, ₹, or a custom symbol).+- **Customizable Dates:** Display dates based on your own region.+- **Tagging:** Organize warranties with flexible, multi-tag support.+- **Password Reset:** Easily recover accounts through a secure, token-based password reset flow.+## 📸 Screenshots-## Project Status+**Home Page**-**Warracker is in active beta.**-The essential features are reliable and ready for everyday use. Development is ongoing, with regular updates and improvements.+-* ✅ Stable core for tracking, notification , and managing warranty documents, files-* ✅ Full support for self-hosted deployments-* ⚒️ Advanced enhancements are still being worked on-* ✍️ Your feedback and bug reports help shape the future of the app-## 📸Screenshots+-**Home Page**+**Status Dashboard**-++## ✨ Features-+- **Warranty Management:** Add, edit, and delete warranty information easily.+- **Document Storage:** Upload and manage receipts, invoices, and product manuals securely.+- **Extended Document Storage:** Securely upload and store additional product-related documents or files in ZIP or RAR format.+- **Status Tracking:** Visual indicators for warranty status (active, expiring soon, expired).+- **Notes:** Add detailed notes for each warranty, viewable and editable via a dedicated notes modal.+- **Search and Tagging:** Find warranties quickly using product names, serial numbers, vendor, notes, or multiple tags.+- **Multi-User Management:** Support for multiple user accounts; admin users can control whether new accounts can be created.+- **Responsive Design:** Optimized for both desktop and mobile devices.+- **Secure Login:** Safe and private authentication for all users.+- **Password Reset:** Token-based secure password recovery flow.+- **Email Alerts:** Customize how and when you receive expiration notifications.+- **CSV Export/Import:** Full support for backing up and restoring warranty data.+- **Currency Customization:** Personalize displayed prices with your preferred symbol.-**Status Dashboard**---## 🛠️Technology Stack+## 🛠️ Technology Stack* **Frontend**: HTML, CSS, JavaScript* **Backend**: Python with Flask@@ -96,30 +85,44 @@ The essential features are reliable and ready for everyday use. Development is o* **Containerization**: Docker and Docker Compose* **Web Server**: Nginx-## 🗺️Roadmap--* ✅ User Authentication-* ✅ Settings Page-* ✅ Status Page-* ✅ Customizable Reminders-* ✅ Email Notifications-* ✅ Warranty Categories via Tags-* ✅ CSV Import/Export-* ✅ OIDC SSO Functionality-* ✅ Advanced User/Admin Controls-* ✅ Paperless-ngx integration-* [ ] Audit trail-* [ ] Warranty Claim Tracking-* [ ] Calendar Integration-* [ ] Localization Support--## 🚀Setup+## 🚀 Setup### Prerequisites* Docker and Docker Compose installed on your system.+* Git (for cloning the repository).++### Fresh Installation 🆕+1. Clone the repository:+ ```+ git clone https://github.com/sassanix/Warracker.git+ ```+2. Navigate to the project directory:+ ```+ cd Warracker+ ```+3. Start the application using Docker:+ ```+ docker compose up+ ```++### Updating from a Previous Version ⬆️+1. Pull the latest changes:+ ```+ git pull origin main+ ```+2. Rebuild and restart the containers:+ ```+ docker compose down+ docker compose up --build+ ```+3. **Access the Application:**++ Open your browser and navigate to `http://localhost:8005`.+++## 🐋 Pull Docker-## 🐋Pull Docker```services:@@ -129,20 +132,34 @@ services:- "8005:80"volumes:- warracker_uploads:/data/uploads- env_file:- - .env+ environment:+ - DB_HOST=warrackerdb+ - DB_NAME=warranty_db+ - DB_USER=warranty_user+ - DB_PASSWORD=${DB_PASSWORD:-warranty_password}+ - SMTP_HOST=smtp.email.com+ - SMTP_PORT=465+ - SMTP_PASSWORD=password+ - SECRET_KEY=${APP_SECRET_KEY:-your_strong_default_secret_key_here}+ - MAX_UPLOAD_MB=32 # Example: Set max upload size to 32MB+ - NGINX_MAX_BODY_SIZE_VALUE=32M # For Nginx, ensure this matches MAX_UPLOAD_MB in concept (e.g., 32M)+ # - FLASK_DEBUG=0depends_on:warrackerdb:condition: service_healthyrestart: unless-stopped-+warrackerdb:image: postgres:15-alpinevolumes:- postgres_data:/var/lib/postgresql/data- env_file:- - .env+ environment:+ - POSTGRES_DB=warranty_db+ - POSTGRES_USER=warranty_user+ - POSTGRES_PASSWORD=${DB_PASSWORD:-warranty_password}restart: unless-stopped+healthcheck:test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]interval: 5s@@ -154,9 +171,9 @@ volumes:warracker_uploads:```-To get the docker compose file with environemts and .env example for warracker and the warrackerdb please go [here](https://github.com/sassanix/Warracker/tree/main/Docker)+To get the docker compose file please go [here](https://github.com/sassanix/Warracker/tree/main/Docker)-## 📝Usage+## 📝 Usage### Adding a Warranty@@ -171,7 +188,7 @@ To get the docker compose file with environemts and .env example for warracker a* Click the edit icon to modify warranty details.* Click the delete icon to remove a warranty.-## Product Information Entry Requirements for CSV import+## 📦 Product Information Entry Requirements for CSV import| Field Name | Format / Example | Required? | Notes ||----------------|-------------------------------------------|--------------------------------------------------------|-----------------------------------------------------------------------|@@ -188,16 +205,58 @@ To get the docker compose file with environemts and .env example for warracker a| **Tags** | Text (`tag1,tag2`) | ❌ No (Optional) | Use comma-separated values for multiple tags. |-## Why I Built This+## 💻 Development++### Local Development Environment++1. Clone the repository.+2. Make your changes.+3. Build and run with Docker Compose:++ ```bash+ docker-compose build+ docker-compose up -d+ ```++### Project Structure++```+warracker/+├── backend/ # Python Flask backend+│ ├── app.py # Main application logic+│ ├── requirements.txt # Python dependencies+│ └── init.sql # Database initialization+├── frontend/ # Web frontend+│ ├── index.html+│ ├── script.js+│ └── style.css+├── docker-compose.yml # Docker configuration+├── Dockerfile # Container definition+└── nginx.conf # Web server configuration+```++## 🗺️ Roadmap-Warracker was born from personal frustration with warranty confusion. When my father’s dishwasher broke, we had the invoice and assumed it was under warranty, only to find out we were referencing the wrong one, and the warranty had ended by a couple of months.+* User Authentication - **Completed ✅**+* Settings Page - **Completed ✅**+* Status Page - **Completed ✅**+* Customizing Reminders to any day needed - **Completed ✅**+* Email Reminders for Expiring Warranties - **Completed ✅**+* Warranty Categories/Grouping through tags - **Completed ✅**+* Warranty Data Import (CSV) - **Completed ✅**+* Improved Search and Filtering - **Completed ✅**+* Warranty claim tracking - **Planned**+* Calendar Integration - **Planned**-That experience, along with others like it, made me realize how common and avoidable these issues are. So I built **Warracker**, a simple, organized way to track purchases, receipts, and warranties. It has already saved me money by reminding me to get car repairs done before my warranty expired.-Inspired by [**Wallos**](https://github.com/ellite/Wallos), I wanted to bring the same clarity to warranties that it brought to subscriptions and share it with anyone who's ever been burned by missed coverage.+## 🛠️ Troubleshooting+### Common Issues-## Contributing+* **Connection Refused Error**: Ensure all containers are running (`docker-compose ps`). Verify the backend is correctly connected to the database.+* **Database Errors**: If schema issues arise, double-check that the database initialization script (`init.sql`) matches the expected schema in `app.py`.++## 🤝 ContributingWe welcome contributions and appreciate your interest in improving this project! To get started, please follow these steps:@@ -213,7 +272,7 @@ We welcome contributions and appreciate your interest in improving this project!`git push origin feature/amazing-feature`5. **Open a Pull Request** with a clear explanation of your changes.-### 📌Contribution Guidelines+### 📌 Contribution Guidelines* **Start with an issue**: Before submitting a Pull Request, ensure the change has been discussed in an issue.* **Help is welcome**: Check the [issues](../../issues) for open discussions or areas where help is needed.@@ -221,43 +280,29 @@ We welcome contributions and appreciate your interest in improving this project!* **Follow project style**: Match the project's code style and naming conventions.* **Be respectful**: We value inclusive and constructive collaboration.-### 🤝Contributors:-<a href="https://github.com/sassanix/warracker/graphs/contributors">- <img src="https://contrib.rocks/image?repo=sassanix/warracker" />-</a>--### ❤️Supporters:--[<img src="https://avatars.githubusercontent.com/u/8194208?u=7ee82feed0044f85bcfc39f001643fe81a188f66&v=4&s=50" width="50"/>](https://github.com/SirSpidey)-[<img src="https://avatars.githubusercontent.com/u/6196195?v=4&s=50" width="50"/>](https://github.com/keithellis74)-[<img src="https://avatars.githubusercontent.com/u/79404036?v=4&s=50" width="50"/>](https://github.com/CristianKerr)+### Contributors:+[<img src="https://avatars.githubusercontent.com/u/39465071?s=50&v=4" width="50"/>](https://github.com/sassanix)+[<img src="https://avatars.githubusercontent.com/u/1223625?s=50&v=4" width="50"/>](https://github.com/humrochagf)+[<img src="https://avatars.githubusercontent.com/u/5875512?s=50&v=4" width="50"/>](https://github.com/clmcavaney)+### ❤️ Supporters:+[<img src="https://avatars.githubusercontent.com/u/8194208?u=7ee82feed0044f85bcfc39f001643fe81a188f66&v=4&s=50" width="50"/>](https://github.com/SirSpidey)[](https://buymeacoffee.com/sassanix)--## Join Our Community--[](https://discord.gg/PGxVS3U2Nw)--Want to discuss the project or need help? Join our Discord community!--## 📜License+## 📜 LicenseThis project is licensed under the GNU Affero General Public License v3.0 - see the [LICENSE](LICENSE) file for details.-## 🙏Acknowledgements+## 🙏 Acknowledgements* Flask* PostgreSQL* Docker-* Chart.js-* Apprise--## ⭐Star History+## ⭐ Star History<a href="https://star-history.com/#sassanix/Warracker&Date"><picture><source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=sassanix/Warracker&type=Date&theme=dark" />@@ -265,3 +310,31 @@ This project is licensed under the GNU Affero General Public License v3.0 - see<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=sassanix/Warracker&type=Date" /></picture></a>++# 🚀 **Quick Start**++Ready to get started? Follow our [**Setup Guide**](https://github.com/Athena25526/warracker/blob/main/SETUP.md) for detailed installation instructions.++## 🔧 **Memory Optimization**++Warracker offers configurable memory modes to run efficiently on different server specifications:++### **Memory Modes**++Set the `WARRACKER_MEMORY_MODE` environment variable in your `docker-compose.yml`:++- **`optimized`** (default): 2 gevent workers, ~60-80MB RAM usage+ - Best for: Small to medium servers with 1GB+ RAM+ - Handles: ~50-100 concurrent users efficiently++- **`ultra-light`**: 1 sync worker, ~40-50MB RAM usage+ - Best for: Minimal VPS, Raspberry Pi, containers with <512MB RAM+ - Handles: ~10-20 concurrent users efficiently++- **`performance`**: 4 gevent workers, ~150-200MB RAM usage+ - Best for: High-performance servers with 2GB+ RAM+ - Handles: ~200-400 concurrent users efficiently++### **Additional Memory Settings**++```\ No newline at end of filediff --git a/babel.cfg b/babel.cfgnew file mode 100644index 0000000..49f50b6--- /dev/null+++ b/babel.cfg@@ -0,0 +1,3 @@+[python: backend/**.py]+[jinja2: **/templates/**.html]+extensions=jinja2.ext.autoescape,jinja2.ext.with_\ No newline at end of filediff --git a/backend/app.py b/backend/app.pyindex 9306abb..b4a6aa0 100644--- a/backend/app.py+++ b/backend/app.py@@ -44,6 +44,16 @@ from dateutil.relativedelta import relativedeltaimport mimetypesimport requests+# Configure logging FIRST - before any other initialization+logging.basicConfig(level=logging.INFO)+logger = logging.getLogger(__name__)++# Import localization+try:+ from backend.localization import init_babel, get_current_language, set_language, _, _n, _l+except ImportError:+ from localization import init_babel, get_current_language, set_language, _, _n, _l+app = Flask(__name__)# Configure Flask to trust forwarded headers from reverse proxy (Nginx)@@ -53,6 +63,14 @@ app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1, x_proto=1, x_host=1, x_prefix=1)+# Initialize localization+try:+ babel = init_babel(app)+ logger.info("Localization initialized successfully")+except Exception as e:+ logger.error(f"Failed to initialize localization: {e}")+ babel = None+# Memory optimization configurationsapp.config['JSON_SORT_KEYS'] = False # Disable JSON key sorting to save CPU/memoryapp.config['JSONIFY_PRETTYPRINT_REGULAR'] = False # Disable pretty printing in production@@ -75,9 +93,7 @@ bcrypt = Bcrypt(app)oauth.init_app(app) # Initialize Authlib OAuth with the app instance-# Configure logging-logging.basicConfig(level=logging.INFO)-logger = logging.getLogger(__name__)+# Logger already configured at top of file# Import Apprise notification handler (after logger is defined)try:@@ -4781,3 +4797,65 @@ def get_paperless_url():finally:if conn:release_db_connection(conn)+[email protected]('/api/user/language-preference', methods=['PUT'])+@token_required+def save_language_preference():+ """Save user's language preference"""+ conn = None+ try:+ data = request.get_json()+ if not data or 'preferred_language' not in data:+ return jsonify({'error': 'Invalid request'}), 400++ language = data['preferred_language']++ # Validate language code+ valid_languages = ['en', 'fr', 'es', 'de', 'it', 'cs', 'nl', 'hi', 'fa', 'ar']+ if language not in valid_languages:+ return jsonify({'error': 'Invalid language code'}), 400++ # Get current user ID from token+ token_header = request.headers.get('Authorization', '').replace('Bearer ', '')+ try:+ payload = decode_token(token_header)+ user_id = payload['user_id']+ except Exception as e:+ return jsonify({'error': 'Invalid token'}), 401++ # Update user's language preference+ conn = get_db_connection()+ with conn.cursor() as cur:+ cur.execute("""+ UPDATE users+ SET preferred_language = %s+ WHERE id = %s+ """, (language, user_id))+ conn.commit()++ logger.info(f"User {user_id} language preference updated to {language}")+ return jsonify({'message': 'Language preference saved successfully'})++ except Exception as e:+ logger.error(f"Error saving language preference: {e}")+ return jsonify({'error': 'Failed to save language preference'}), 500+ finally:+ if conn:+ release_db_connection(conn)+[email protected]('/api/locales', methods=['GET'])+def get_supported_locales():+ """Get list of supported locales"""+ locales = {+ 'en': 'English',+ 'fr': 'Français',+ 'es': 'Español',+ 'de': 'Deutsch',+ 'it': 'Italiano'+ }++ return jsonify({+ 'supported_languages': ['en', 'fr', 'es', 'de', 'it'],+ 'locales': locales,+ 'default': 'en'+ })diff --git a/backend/auth_routes.py b/backend/auth_routes.pyindex a9c27b7..b8bc782 100644--- a/backend/auth_routes.py+++ b/backend/auth_routes.py@@ -12,6 +12,7 @@ import psycopg2# Use relative imports for project modulesfrom . import db_handler, notificationsfrom .auth_utils import generate_token, token_required, is_valid_email, is_valid_password+from .localization import SUPPORTED_LANGUAGES# Import bcrypt from app since it's initialized with the apptry:@@ -826,12 +827,14 @@ def get_preferences():}return jsonify(default_preferences), 200- # Get user preferences+ # Get user preferences with language preference from users tablecursor.execute("""- SELECT email_notifications, default_view, theme, expiring_soon_days,- notification_frequency, notification_time, timezone, currency_symbol, date_format, notification_channel, apprise_notification_time, apprise_notification_frequency, apprise_timezone, currency_position, paperless_view_in_app- FROM user_preferences- WHERE user_id = %s+ SELECT up.email_notifications, up.default_view, up.theme, up.expiring_soon_days,+ up.notification_frequency, up.notification_time, up.timezone, up.currency_symbol, up.date_format, up.notification_channel, up.apprise_notification_time, up.apprise_notification_frequency, up.apprise_timezone, up.currency_position, up.paperless_view_in_app,+ u.preferred_language+ FROM user_preferences up+ JOIN users u ON up.user_id = u.id+ WHERE up.user_id = %s""", (user_id,))preferences_data = cursor.fetchone()@@ -852,10 +855,15 @@ def get_preferences():'apprise_notification_frequency': preferences_data[11] if preferences_data[11] else 'daily','apprise_timezone': preferences_data[12] if preferences_data[12] else 'UTC','currency_position': preferences_data[13] if preferences_data[13] else 'left',- 'paperless_view_in_app': preferences_data[14] if len(preferences_data) > 14 and preferences_data[14] is not None else False+ 'paperless_view_in_app': preferences_data[14] if len(preferences_data) > 14 and preferences_data[14] is not None else False,+ 'preferred_language': preferences_data[15] if len(preferences_data) > 15 and preferences_data[15] else 'en'}else:- # Create default preferences for user+ # Create default preferences for user, but get language from users table+ cursor.execute("SELECT preferred_language FROM users WHERE id = %s", (user_id,))+ user_lang = cursor.fetchone()+ preferred_language = user_lang[0] if user_lang and user_lang[0] else 'en'+default_preferences = {'email_notifications': True,'default_view': 'grid',@@ -868,7 +876,8 @@ def get_preferences():'currency_symbol': '$','date_format': 'MDY','currency_position': 'left',- 'paperless_view_in_app': False+ 'paperless_view_in_app': False,+ 'preferred_language': preferred_language}preferences = default_preferences@@ -888,7 +897,8 @@ def get_preferences():'currency_symbol': '$','date_format': 'MDY','currency_position': 'left',- 'paperless_view_in_app': False+ 'paperless_view_in_app': False,+ 'preferred_language': 'en'}return jsonify(default_preferences), 200finally:@@ -909,7 +919,8 @@ def get_preferences():'currency_symbol': '$','date_format': 'MDY','currency_position': 'left',- 'paperless_view_in_app': False+ 'paperless_view_in_app': False,+ 'preferred_language': 'en'}return jsonify(default_preferences), 200@@ -938,6 +949,7 @@ def update_preferences():timezone = data.get('timezone')apprise_timezone = data.get('apprise_timezone')paperless_view_in_app = data.get('paperless_view_in_app')+ preferred_language = data.get('preferred_language')if default_view and default_view not in ['grid', 'list', 'table']:return jsonify({'message': 'Invalid default view'}), 400@@ -960,6 +972,8 @@ def update_preferences():return jsonify({'message': 'Invalid notification channel'}), 400if paperless_view_in_app is not None and not isinstance(paperless_view_in_app, bool):return jsonify({'message': 'paperless_view_in_app must be a boolean'}), 400+ if preferred_language and preferred_language not in SUPPORTED_LANGUAGES:+ return jsonify({'message': 'Invalid language preference'}), 400conn = db_handler.get_db_connection()cursor = conn.cursor()@@ -1020,21 +1034,31 @@ def update_preferences():if update_fields:update_query = f"UPDATE user_preferences SET {', '.join(update_fields)} WHERE user_id = %s"cursor.execute(update_query, update_values + [user_id])++ # Update language preference in users table separately+ if preferred_language is not None:+ cursor.execute("UPDATE users SET preferred_language = %s WHERE id = %s", (preferred_language, user_id))else:# Insert new preferencescursor.execute("""INSERT INTO user_preferences (user_id, default_view, theme, expiring_soon_days, currency_symbol, currency_position, date_format, notification_channel, notification_frequency, notification_time, apprise_notification_time, apprise_notification_frequency, timezone, apprise_timezone, paperless_view_in_app)VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)""", (user_id, default_view or 'grid', theme or 'light', expiring_soon_days or 30, currency_symbol or '$', currency_position or 'left', date_format or 'MDY', notification_channel or 'email', notification_frequency or 'daily', notification_time or '09:00', apprise_notification_time or '09:00', apprise_notification_frequency or 'daily', timezone or 'UTC', apprise_timezone or 'UTC', paperless_view_in_app if paperless_view_in_app is not None else False))++ # Update language preference in users table separately+ if preferred_language is not None:+ cursor.execute("UPDATE users SET preferred_language = %s WHERE id = %s", (preferred_language, user_id))conn.commit()- # Return updated preferences+ # Return updated preferences with language preferencecursor.execute("""- SELECT email_notifications, default_view, theme, expiring_soon_days,- notification_frequency, notification_time, timezone, currency_symbol, date_format, notification_channel, apprise_notification_time, apprise_notification_frequency, apprise_timezone, currency_position, paperless_view_in_app- FROM user_preferences- WHERE user_id = %s+ SELECT up.email_notifications, up.default_view, up.theme, up.expiring_soon_days,+ up.notification_frequency, up.notification_time, up.timezone, up.currency_symbol, up.date_format, up.notification_channel, up.apprise_notification_time, up.apprise_notification_frequency, up.apprise_timezone, up.currency_position, up.paperless_view_in_app,+ u.preferred_language+ FROM user_preferences up+ JOIN users u ON up.user_id = u.id+ WHERE up.user_id = %s""", (user_id,))preferences_data = cursor.fetchone()@@ -1055,7 +1079,8 @@ def update_preferences():'apprise_notification_frequency': preferences_data[11] if preferences_data[11] else 'daily','apprise_timezone': preferences_data[12] if preferences_data[12] else 'UTC','currency_position': preferences_data[13] if preferences_data[13] else 'left',- 'paperless_view_in_app': preferences_data[14] if len(preferences_data) > 14 and preferences_data[14] is not None else False+ 'paperless_view_in_app': preferences_data[14] if len(preferences_data) > 14 and preferences_data[14] is not None else False,+ 'preferred_language': preferences_data[15] if len(preferences_data) > 15 and preferences_data[15] else 'en'}else:preferences = {@@ -1073,7 +1098,8 @@ def update_preferences():'apprise_notification_time': apprise_notification_time or '09:00','apprise_notification_frequency': apprise_notification_frequency or 'daily','apprise_timezone': apprise_timezone or 'UTC',- 'paperless_view_in_app': paperless_view_in_app if paperless_view_in_app is not None else False+ 'paperless_view_in_app': paperless_view_in_app if paperless_view_in_app is not None else False,+ 'preferred_language': preferred_language or 'en'}return jsonify(preferences), 200@@ -1163,4 +1189,4 @@ def verify_email_change():# For simplicity, return a basic response# In a full implementation, this would verify the token and update the email- return jsonify({'message': 'Email verification functionality not fully implemented in this simplified version'}), 501\ No newline at end of file+ return jsonify({'message': 'Email verification functionality not fully implemented in this simplified version'}), 501diff --git a/backend/localization.py b/backend/localization.pynew file mode 100644index 0000000..8712401--- /dev/null+++ b/backend/localization.py@@ -0,0 +1,190 @@+"""+Backend Localization Handler+Manages server-side translations using Flask-Babel+"""++from flask import request, session+from flask_babel import Babel, gettext, ngettext, lazy_gettext+import os+import logging++logger = logging.getLogger(__name__)++# Supported languages+SUPPORTED_LANGUAGES = ['en', 'fr', 'es', 'de', 'it', 'cs', 'nl', 'hi', 'fa', 'ar', 'ru', 'uk', 'zh_CN', 'zh_HK', 'ja', 'pt', 'ko']+DEFAULT_LANGUAGE = 'en'++# Global babel instance+babel = None++def init_babel(app):+ """Initialize Babel with Flask app"""+ global babel++ # Configure Babel+ app.config['LANGUAGES'] = {+ 'en': 'English',+ 'fr': 'Français',+ 'es': 'Español',+ 'de': 'Deutsch',+ 'it': 'Italiano',+ 'cs': 'Čeština',+ 'nl': 'Nederlands',+ 'hi': 'हिन्दी',+ 'fa': 'فارسی',+ 'ar': 'العربية',+ 'ru': 'Русский',+ 'uk': 'Українська',+ 'zh_CN': '简体中文',+ 'zh_HK': '繁體中文',+ 'ja': '日本語',+ 'pt': 'Português',+ 'ko': '한국어'+ }+ app.config['BABEL_DEFAULT_LOCALE'] = DEFAULT_LANGUAGE+ app.config['BABEL_DEFAULT_TIMEZONE'] = 'UTC'++ babel = Babel()+ babel.init_app(app, locale_selector=get_current_language)++ logger.info("Babel initialized successfully")+ return babel++def get_current_language():+ """Get current language from various sources"""++ # 1. Check URL parameter (for testing)+ if request and request.args.get('lang') in SUPPORTED_LANGUAGES:+ return request.args.get('lang')++ # 2. Check cookie+ if request and request.cookies.get('lang') in SUPPORTED_LANGUAGES:+ return request.cookies.get('lang')++ # 3. Check session+ if session.get('language') in SUPPORTED_LANGUAGES:+ return session.get('language')++ # 4. Check user preferences (if authenticated)+ try:+ from backend.auth_utils import get_current_user_info+ user_info = get_current_user_info()+ if user_info and user_info.get('preferred_language') in SUPPORTED_LANGUAGES:+ return user_info['preferred_language']+ except:+ pass # User not authenticated or error getting user info++ # 5. Check Accept-Language header+ if request:+ browser_lang = request.accept_languages.best_match(SUPPORTED_LANGUAGES)+ if browser_lang:+ return browser_lang++ # 6. Fallback to default+ return DEFAULT_LANGUAGE++def set_language(language):+ """Set language for current session"""+ if language in SUPPORTED_LANGUAGES:+ session['language'] = language+ return True+ return False++def get_supported_languages():+ """Get list of supported languages"""+ return SUPPORTED_LANGUAGES++def is_supported_language(language):+ """Check if language is supported"""+ return language in SUPPORTED_LANGUAGES++# Convenience functions for translations+def _(text):+ """Translate text (alias for gettext)"""+ return gettext(text)++def _n(singular, plural, num):+ """Translate text with pluralization (alias for ngettext)"""+ return ngettext(singular, plural, num)++def _l(text):+ """Lazy translation (alias for lazy_gettext)"""+ return lazy_gettext(text)++# Common translations for the application+COMMON_TRANSLATIONS = {+ # Authentication+ 'login': _l('Login'),+ 'logout': _l('Logout'),+ 'register': _l('Register'),+ 'username': _l('Username'),+ 'password': _l('Password'),+ 'email': _l('Email'),+ 'first_name': _l('First Name'),+ 'last_name': _l('Last Name'),++ # Navigation+ 'home': _l('Home'),+ 'settings': _l('Settings'),+ 'status': _l('Status'),+ 'about': _l('About'),++ # Common actions+ 'save': _l('Save'),+ 'cancel': _l('Cancel'),+ 'delete': _l('Delete'),+ 'edit': _l('Edit'),+ 'search': _l('Search'),+ 'export': _l('Export'),+ 'import': _l('Import'),++ # Messages+ 'success': _l('Success'),+ 'error': _l('Error'),+ 'warning': _l('Warning'),+ 'loading': _l('Loading...'),+ 'saved_successfully': _l('Saved successfully'),+ 'deleted_successfully': _l('Deleted successfully'),+ 'invalid_request': _l('Invalid request'),+ 'unauthorized': _l('Unauthorized'),+ 'not_found': _l('Not found'),+ 'server_error': _l('Server error'),++ # Warranties+ 'warranties': _l('Warranties'),+ 'warranty': _l('Warranty'),+ 'product_name': _l('Product Name'),+ 'purchase_date': _l('Purchase Date'),+ 'warranty_duration': _l('Warranty Duration'),+ 'expiration_date': _l('Expiration Date'),+ 'vendor': _l('Vendor'),+ 'status': _l('Status'),+ 'active': _l('Active'),+ 'expired': _l('Expired'),+ 'expiring_soon': _l('Expiring Soon'),+ 'lifetime': _l('Lifetime'),+}++def get_translation(key, default=None):+ """Get translation for a key with fallback"""+ if key in COMMON_TRANSLATIONS:+ return str(COMMON_TRANSLATIONS[key])+ return default or key++def format_error_message(error_type, details=None):+ """Format error messages with localization"""+ error_messages = {+ 'validation_error': _('Validation error'),+ 'authentication_error': _('Authentication error'),+ 'authorization_error': _('Authorization error'),+ 'not_found_error': _('Resource not found'),+ 'server_error': _('Internal server error'),+ 'file_too_large': _('File is too large'),+ 'invalid_file_type': _('Invalid file type'),+ }++ message = error_messages.get(error_type, _('An error occurred'))+ if details:+ message += f": {details}"++ return messagediff --git a/backend/messages.pot b/backend/messages.potnew file mode 100644index 0000000..4304ee4--- /dev/null+++ b/backend/messages.pot@@ -0,0 +1,51 @@+# Translations template for PROJECT.+# Copyright (C) 2025 ORGANIZATION+# This file is distributed under the same license as the PROJECT project.+# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.+#+#, fuzzy+msgid ""+msgstr ""+"Project-Id-Version: PROJECT VERSION\n"+"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"+"POT-Creation-Date: 2025-06-29 12:36-0300\n"+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"+"Language-Team: LANGUAGE <[email protected]>\n"+"MIME-Version: 1.0\n"+"Content-Type: text/plain; charset=utf-8\n"+"Content-Transfer-Encoding: 8bit\n"+"Generated-By: Babel 2.17.0\n"++#: backend/localization.py:177+msgid "Validation error"+msgstr ""++#: backend/localization.py:178+msgid "Authentication error"+msgstr ""++#: backend/localization.py:179+msgid "Authorization error"+msgstr ""++#: backend/localization.py:180+msgid "Resource not found"+msgstr ""++#: backend/localization.py:181+msgid "Internal server error"+msgstr ""++#: backend/localization.py:182+msgid "File is too large"+msgstr ""++#: backend/localization.py:183+msgid "Invalid file type"+msgstr ""++#: backend/localization.py:186+msgid "An error occurred"+msgstr ""+diff --git a/backend/migrations/038_add_preferred_language_column.sql b/backend/migrations/038_add_preferred_language_column.sqlnew file mode 100644index 0000000..ccb0d27--- /dev/null+++ b/backend/migrations/038_add_preferred_language_column.sql@@ -0,0 +1,31 @@+-- Migration: Add preferred_language column to users table+-- Date: 2024-01-01+-- Description: Add language preference support for internationalization++-- Add preferred_language column to users table+ALTER TABLE users+ADD COLUMN IF NOT EXISTS preferred_language VARCHAR(5) DEFAULT 'en';++-- Add index for better query performance+CREATE INDEX IF NOT EXISTS idx_users_preferred_language ON users(preferred_language);++-- Add constraint to ensure only valid language codes (with error handling)+DO $$+BEGIN+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.table_constraints+ WHERE constraint_name = 'chk_users_preferred_language'+ AND table_name = 'users'+ ) THEN+ ALTER TABLE users+ ADD CONSTRAINT chk_users_preferred_language+ CHECK (preferred_language IN ('en', 'fr', 'es', 'de', 'it'));+ END IF;+END $$;++COMMENT ON COLUMN users.preferred_language IS 'User preferred language for UI localization (ISO 639-1 code)';++-- Set default language for existing users+UPDATE users+SET preferred_language = 'en'+WHERE preferred_language IS NULL;\ No newline at end of filediff --git a/backend/migrations/039_update_language_constraint.sql b/backend/migrations/039_update_language_constraint.sqlnew file mode 100644index 0000000..b86b8c9--- /dev/null+++ b/backend/migrations/039_update_language_constraint.sql@@ -0,0 +1,30 @@+-- Migration: Update preferred_language constraint to include new languages+-- Date: 2024-12-26+-- Description: Update the constraint to allow new language codes: cs, nl, hi, fa, ar++-- Drop the existing constraint+DO $$+BEGIN+ IF EXISTS (+ SELECT 1 FROM information_schema.table_constraints+ WHERE constraint_name = 'chk_users_preferred_language'+ AND table_name = 'users'+ ) THEN+ ALTER TABLE users DROP CONSTRAINT chk_users_preferred_language;+ RAISE NOTICE 'Dropped existing preferred_language constraint';+ ELSE+ RAISE NOTICE 'preferred_language constraint does not exist, skipping drop';+ END IF;+END $$;++-- Add updated constraint with all supported languages+DO $$+BEGIN+ ALTER TABLE users+ ADD CONSTRAINT chk_users_preferred_language+ CHECK (preferred_language IN ('en', 'fr', 'es', 'de', 'it', 'cs', 'nl', 'hi', 'fa', 'ar'));+ RAISE NOTICE 'Added updated preferred_language constraint with new languages';+END $$;++-- Update comment to reflect new supported languages+COMMENT ON COLUMN users.preferred_language IS 'User preferred language for UI localization (ISO 639-1 code): en, fr, es, de, it, cs, nl, hi, fa, ar';\ No newline at end of filediff --git a/backend/migrations/041_update_language_constraint_again.py b/backend/migrations/041_update_language_constraint_again.pynew file mode 100644index 0000000..0a3d4d7--- /dev/null+++ b/backend/migrations/041_update_language_constraint_again.py@@ -0,0 +1,100 @@+import os+import sys+import psycopg2++# Add project root to the Python path+project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))+sys.path.insert(0, project_root)++try:+ from backend.localization import SUPPORTED_LANGUAGES+ from backend.db_handler import get_db_connection, release_db_connection+except ImportError as e:+ print(f"Error importing project modules: {e}")+ # Provide a fallback for environments where the script is run directly+ # This is a simplified example; a more robust solution might use a config file+ SUPPORTED_LANGUAGES = ['en', 'fr', 'es', 'de', 'it', 'cs', 'nl', 'hi', 'fa', 'ar', 'ru', 'uk', 'zh_CN', 'zh_HK', 'ja', 'pt', 'ko']+ # Define a dummy db_handler if not available+ class DummyDBHandler:+ def get_db_connection(self):+ # This would need to be configured to connect to your database+ # For example, using environment variables+ return psycopg2.connect(+ dbname=os.getenv("DB_NAME"),+ user=os.getenv("DB_USER"),+ password=os.getenv("DB_PASSWORD"),+ host=os.getenv("DB_HOST")+ )+ def release_db_connection(self, conn):+ if conn:+ conn.close()+ db_handler = DummyDBHandler()++def apply_migration(conn):+ """+ Applies the database migration to update the language constraint.+ """+ cursor = conn.cursor()+ try:+ print("Applying migration: 040_update_language_constraint.py")++ # Drop the existing constraint if it exists+ print("Dropping existing constraint 'chk_users_preferred_language' if it exists...")+ cursor.execute("""+ DO $$+ BEGIN+ IF EXISTS (+ SELECT 1 FROM information_schema.table_constraints+ WHERE constraint_name = 'chk_users_preferred_language'+ AND table_name = 'users'+ ) THEN+ ALTER TABLE users DROP CONSTRAINT chk_users_preferred_language;+ RAISE NOTICE 'Dropped existing preferred_language constraint';+ ELSE+ RAISE NOTICE 'preferred_language constraint does not exist, skipping drop';+ END IF;+ END $$;+ """)++ # Create the new constraint dynamically+ print("Creating new constraint with all supported languages...")+ # Format the language list for the SQL IN clause+ language_list_sql = ", ".join([f"'{lang}'" for lang in SUPPORTED_LANGUAGES])++ constraint_sql = f"""+ ALTER TABLE users+ ADD CONSTRAINT chk_users_preferred_language+ CHECK (preferred_language IN ({language_list_sql}));+ """+ cursor.execute(constraint_sql)+ print("New constraint 'chk_users_preferred_language' created successfully.")++ # Update the comment on the column+ print("Updating column comment...")+ comment_sql = f"""+ COMMENT ON COLUMN users.preferred_language IS 'User preferred language for UI localization (ISO 639-1 code): {', '.join(SUPPORTED_LANGUAGES)}';+ """+ cursor.execute(comment_sql)+ print("Column comment updated successfully.")++ conn.commit()+ print("Migration 040_update_language_constraint.py applied successfully.")+ except Exception as e:+ conn.rollback()+ print(f"Error applying migration 040_update_language_constraint.py: {e}")+ raise+ finally:+ cursor.close()++if __name__ == "__main__":+ # This allows the script to be run directly+ connection = None+ try:+ # In a real application, you would get the connection details from a config file or environment variables+ connection = db_handler.get_db_connection()+ apply_migration(connection)+ except Exception as e:+ print(f"Migration failed: {e}")+ finally:+ if connection:+ db_handler.release_db_connection(connection)diff --git a/backend/migrations/apply_migrations.py b/backend/migrations/apply_migrations.pyindex bcaa17d..9ff92a2 100644--- a/backend/migrations/apply_migrations.py+++ b/backend/migrations/apply_migrations.py@@ -132,10 +132,12 @@ def apply_migrations():elif migration_file.endswith('.py'):# Apply Python migrationmigration_module = load_python_migration(migration_file)- if hasattr(migration_module, 'upgrade'):+ if hasattr(migration_module, 'apply_migration'):+ migration_module.apply_migration(conn)+ elif hasattr(migration_module, 'upgrade'):migration_module.upgrade(cur)else:- logger.warning(f"Python migration {filename} does not have an upgrade function, skipping.")+ logger.warning(f"Python migration {filename} does not have an apply_migration or upgrade function, skipping.")continue# Record the migration as applied@@ -170,4 +172,4 @@ if __name__ == "__main__":logger.info("Migrations completed successfully")except Exception as e:logger.error(f"Migration process failed: {e}")- sys.exit(1)+ sys.exit(1)diff --git a/backend/requirements.txt b/backend/requirements.txtindex e634ae4..224c162 100644--- a/backend/requirements.txt+++ b/backend/requirements.txt@@ -14,3 +14,5 @@ requests==2.32.3gevent==24.2.1setuptools<81apprise==1.9.3+Flask-Babel==4.0.0+Babel==2.16.0diff --git a/frontend/about.html b/frontend/about.htmlindex 2c58822..50867d9 100644--- a/frontend/about.html+++ b/frontend/about.html@@ -1,10 +1,10 @@<!DOCTYPE html>-<html lang="en">+<html><head><!-- Basic Meta Tags --><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>About - Warracker</title>+ <title data-i18n="about.title">About - Warracker</title><!-- Favicons --><link rel="shortcut icon" href="favicon.ico" type="image/x-icon">@@ -14,17 +14,23 @@<link rel="manifest" href="manifest.json"><!-- Stylesheets -->- <link rel="stylesheet" href="style.css"> <!-- Main stylesheet -->- <link rel="stylesheet" href="styles.css"> <!-- Additional styles -->+ <link rel="stylesheet" href="style.css?v=20250118003"> <!-- Main stylesheet -->+ <link rel="stylesheet" href="styles.css?v=20250118003"> <!-- Additional styles --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <!-- Font Awesome -->- <link rel="stylesheet" href="header-fix.css"> <!-- Header specific styles -->+ <link rel="stylesheet" href="header-fix.css?v=20250118003"> <!-- Header specific styles --><!-- Mobile Header specific styles -->- <link rel="stylesheet" href="mobile-header.css">+ <link rel="stylesheet" href="mobile-header.css?v=20250118003"><!-- Scripts loaded in head -->- <script src="theme-loader.js"></script> <!-- Apply theme early -->- <script src="include-auth-new.js"></script> <!-- Handles auth state display -->- <script src="fix-auth-buttons-loader.js"></script> <!-- Fixes auth button display timing -->+ <script src="theme-loader.js?v=20250118003"></script> <!-- Apply theme early -->+ <script src="include-auth-new.js?v=20250118003"></script> <!-- Handles auth state display -->+ <script src="fix-auth-buttons-loader.js?v=20250118003"></script> <!-- Fixes auth button display timing -->+ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>+ <!-- i18n initialization script -->+ <script src="js/i18n.js?v=20250118003"></script><style>.about-hero {@@ -261,10 +267,10 @@</div><div class="nav-links"><a href="index.html" class="nav-link">- <i class="fas fa-home"></i> Home+ <i class="fas fa-home"></i> <span data-i18n="nav.home">Home</span></a><a href="status.html" class="nav-link">- <i class="fas fa-chart-pie"></i> Status+ <i class="fas fa-chart-pie"></i> <span data-i18n="nav.status">Status</span></a></div><!-- Group for right-aligned elements -->@@ -289,15 +295,15 @@</div><div class="user-menu-item"><a href="settings-new.html" style="color: inherit; text-decoration: none; display: block;">- <i class="fas fa-cog"></i> Settings+ <i class="fas fa-cog"></i> <span data-i18n="nav.settings">Settings</span></a></div><div class="user-menu-item"><i class="fas fa-info-circle"></i>- <a href="about.html" style="text-decoration: none; color: inherit;">About</a>+ <a href="about.html" style="text-decoration: none; color: inherit;" data-i18n="nav.about">About</a></div><div class="user-menu-item" id="logoutMenuItem">- <i class="fas fa-sign-out-alt"></i> Logout+ <i class="fas fa-sign-out-alt"></i> <span data-i18n="auth.logout">Logout</span></div></div></div>@@ -312,18 +318,18 @@<!-- Hero Section --><div class="about-hero"><h1><i class="fas fa-shield-alt"></i> Warracker</h1>- <div class="version">Version v0.10.1.4</div>- <p class="description">+ <div class="version" id="versionDisplay" data-i18n="about.version">Version v0.10.1.5</div>+ <p class="description" data-i18n="about.description">A comprehensive warranty management system designed to help you track, organize, and manage all your product warranties in one secure, user-friendly platform.</p></div><!-- Update Status Card --><div class="update-status">- <h4><i class="fas fa-sync-alt"></i> Update Status</h4>- <p id="updateStatus">Checking for updates...</p>+ <h4><i class="fas fa-sync-alt"></i> <span data-i18n="about.update_status">Update Status</span></h4>+ <p id="updateStatus" data-i18n="about.checking_updates">Checking for updates...</p><a id="updateLink" href="#" target="_blank" rel="noopener noreferrer" style="display: none; color: var(--primary-color); text-decoration: none;">- <i class="fas fa-external-link-alt"></i> View Release Notes+ <i class="fas fa-external-link-alt"></i> <span data-i18n="about.view_release_notes">View Release Notes</span></a></div>@@ -331,45 +337,45 @@<div class="about-cards"><!-- Project Information --><div class="about-card">- <h3><i class="fas fa-info-circle"></i> Project Information</h3>- <p>Warracker is an open-source warranty management system built with modern web technologies. It provides a secure and intuitive way to manage product warranties, track expiration dates, and organize important documents.</p>+ <h3><i class="fas fa-info-circle"></i> <span data-i18n="about.project_info">Project Information</span></h3>+ <p data-i18n="about.project_description">Warracker is an open-source warranty management system built with modern web technologies. It provides a secure and intuitive way to manage product warranties, track expiration dates, and organize important documents.</p><div class="social-links"><a href="https://github.com/sassanix/Warracker" target="_blank" rel="noopener noreferrer" class="social-link github">- <i class="fab fa-github"></i> GitHub Repository+ <i class="fab fa-github"></i> <span data-i18n="about.github_repository">GitHub Repository</span></a><a href="https://github.com/sassanix/Warracker/releases" target="_blank" rel="noopener noreferrer" class="social-link releases">- <i class="fas fa-tags"></i> Releases+ <i class="fas fa-tags"></i> <span data-i18n="about.releases">Releases</span></a></div></div><!-- Community & Support --><div class="about-card">- <h3><i class="fas fa-users"></i> Community & Support</h3>- <p>Join our community for support, discussions, and updates. Report bugs, request features, or get help from other users and contributors.</p>+ <h3><i class="fas fa-users"></i> <span data-i18n="about.community_support">Community & Support</span></h3>+ <p data-i18n="about.community_description">Join our community for support, discussions, and updates. Report bugs, request features, or get help from other users and contributors.</p><div class="social-links"><a href="https://discord.gg/PGxVS3U2Nw" target="_blank" rel="noopener noreferrer" class="social-link discord">- <i class="fab fa-discord"></i> Discord Community+ <i class="fab fa-discord"></i> <span data-i18n="about.discord_community">Discord Community</span></a><a href="https://github.com/sassanix/Warracker/issues" target="_blank" rel="noopener noreferrer" class="social-link issues">- <i class="fas fa-bug"></i> Report Issues+ <i class="fas fa-bug"></i> <span data-i18n="about.report_issues">Report Issues</span></a></div></div><!-- Developer Information --><div class="about-card">- <h3><i class="fas fa-code"></i> Developer Information</h3>- <p>Warracker is developed and maintained by Sassanix. The project is open-source and welcomes contributions from the community.</p>+ <h3><i class="fas fa-code"></i> <span data-i18n="about.developer_info">Developer Information</span></h3>+ <p data-i18n="about.developer_description">Warracker is developed and maintained by Sassanix. The project is open-source and welcomes contributions from the community.</p><div class="social-links"><a href="https://github.com/sassanix" target="_blank" rel="noopener noreferrer" class="social-link github">- <i class="fab fa-github"></i> Sassanix+ <i class="fab fa-github"></i> <span data-i18n="about.sassanix">Sassanix</span></a><a href="https://github.com/sassanix/Warracker/blob/main/LICENSE" target="_blank" rel="noopener noreferrer" class="social-link license">- <i class="fas fa-balance-scale"></i> AGPL-3.0 License+ <i class="fas fa-balance-scale"></i> <span data-i18n="about.agpl_license">AGPL-3.0 License</span></a></div></div>@@ -377,8 +383,8 @@<!-- Support the Project --><div class="coffee-section">- <h3><i class="fas fa-coffee"></i> Support the Project</h3>- <p>If you find Warracker useful, consider supporting its development!</p>+ <h3><i class="fas fa-coffee"></i> <span data-i18n="about.support_project">Support the Project</span></h3>+ <p data-i18n="about.support_description">If you find Warracker useful, consider supporting its development!</p><script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="sassanix" data-color="#FFDD00" data-emoji="" data-font="Poppins" data-text="Buy me a coffee" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#ffffff" ></script></div>@@ -407,6 +413,13 @@document.addEventListener('DOMContentLoaded', () => {console.log('About page: DOMContentLoaded triggered');+ // Update version display dynamically+ const versionDisplay = document.getElementById('versionDisplay');+ if (versionDisplay && window.i18next) {+ const currentVersion = '0.10.1.4'; // This should match version-checker.js+ versionDisplay.textContent = window.i18next.t('about.version') + ' v' + currentVersion;+ }+// Add safe loading functions for about pagewindow.showLoading = function() {const loadingContainer = document.getElementById('loadingContainer');@@ -613,4 +626,4 @@</script></body>-</html>\ No newline at end of file+</html>diff --git a/frontend/auth-redirect.html b/frontend/auth-redirect.htmlindex 8ee048d..8a3dc98 100644--- a/frontend/auth-redirect.html+++ b/frontend/auth-redirect.html@@ -1,11 +1,11 @@<!DOCTYPE html>-<html lang="en">+<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Authenticating...</title>- <link rel="stylesheet" href="style.css">- <script src="theme-loader.js"></script>+ <link rel="stylesheet" href="style.css?v=20250118003">+ <script src="theme-loader.js?v=20250118003"></script><style>body {display: flex;@@ -158,13 +158,21 @@});</script>- <script src="auth-redirect.js"></script>+ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>++ <!-- i18n Configuration -->+ <script src="js/i18n.js?v=20250118003"></script>++ <script src="auth-redirect.js?v=20250118003"></script><!-- Footer Width Fix -->- <script src="footer-fix.js"></script>+ <script src="footer-fix.js?v=20250118003"></script><!-- Footer Content Manager -->- <script src="footer-content.js"></script>+ <script src="footer-content.js?v=20250118003"></script><!-- Powered by Warracker Footer --><footer class="warracker-footer" id="warrackerFooter">diff --git a/frontend/debug-export.html b/frontend/debug-export.htmlindex 1cd507a..bebbf17 100644--- a/frontend/debug-export.html+++ b/frontend/debug-export.html@@ -1,5 +1,5 @@<!DOCTYPE html>-<html lang="en">+<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">@@ -105,6 +105,14 @@</div></div>+ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>++ <!-- i18n Configuration -->+ <script src="js/i18n.js?v=20250118003"></script>+<script>let warranties = [];let currentFilters = {@@ -255,4 +263,4 @@checkAuth();</script></body>-</html>\ No newline at end of file+</html>diff --git a/frontend/index.html b/frontend/index.htmlindex e5cfcf3..75ea482 100644--- a/frontend/index.html+++ b/frontend/index.html@@ -1,14 +1,14 @@<!DOCTYPE html>-<html lang="en">+<html><head><!-- Authentication redirect script -->- <script src="auth-redirect.js" data-protected="true"></script>+ <script src="auth-redirect.js?v=20250118003" data-protected="true"></script><!-- Include authentication script first to handle login state immediately -->- <script src="include-auth-new.js"></script>+ <script src="include-auth-new.js?v=20250118003"></script><!-- File utilities script for secure file handling -->- <script src="file-utils.js"></script>+ <script src="file-utils.js?v=20250118003"></script><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">@@ -22,17 +22,25 @@<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png?v=2"><link rel="apple-touch-icon" sizes="180x180" href="img/favicon-512x512.png"><link rel="manifest" href="manifest.json">- <link rel="stylesheet" href="style.css?v=20250529005">- <script src="theme-loader.js"></script> <!-- Apply theme early -->+ <link rel="stylesheet" href="style.css?v=20250118003">+ <script src="theme-loader.js?v=20250118003"></script> <!-- Apply theme early --><!-- Font Awesome for icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><!-- Load header fix styles to ensure consistent header styling -->- <link rel="stylesheet" href="header-fix.css?v=20250529005">+ <link rel="stylesheet" href="header-fix.css?v=20250118003"><!-- Load fix for auth buttons -->- <script src="fix-auth-buttons-loader.js"></script>+ <script src="fix-auth-buttons-loader.js?v=20250118003"></script><!-- Mobile Header specific styles -->- <link rel="stylesheet" href="mobile-header.css?v=20250529005">+ <link rel="stylesheet" href="mobile-header.css?v=20250118003">++ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>++ <!-- i18n Configuration -->+ <script src="js/i18n.js?v=20250118003"></script><!-- Immediate authentication check script --><script>@@ -86,8 +94,8 @@})();</script>- <!-- Registration status check script -->- <script src="registration-status.js"></script>+ <!-- Registration status check script -->+ <script src="registration-status.js?v=20250118003"></script></head><body><!-- Header -->@@ -99,20 +107,20 @@</div><div class="nav-links"><a href="index.html" class="nav-link active">- <i class="fas fa-home"></i> Home+ <i class="fas fa-home"></i> <span data-i18n="nav.home">Home</span></a><a href="status.html" class="nav-link">- <i class="fas fa-chart-pie"></i> Status+ <i class="fas fa-chart-pie"></i> <span data-i18n="nav.status">Status</span></a></div><!-- Group for right-aligned elements --><div class="header-right-group"><div id="authContainer" class="auth-buttons"><a href="login.html" class="auth-btn login-btn">- <i class="fas fa-sign-in-alt"></i> Login+ <i class="fas fa-sign-in-alt"></i> <span data-i18n="auth.login">Login</span></a><a href="register.html" class="auth-btn register-btn">- <i class="fas fa-user-plus"></i> Register+ <i class="fas fa-user-plus"></i> <span data-i18n="auth.register">Register</span></a></div><div id="userMenu" class="user-menu" style="display: none;">@@ -127,15 +135,15 @@</div><div class="user-menu-item"><a href="settings-new.html" style="color: inherit; text-decoration: none; display: block;">- <i class="fas fa-cog"></i> Settings+ <i class="fas fa-cog"></i> <span data-i18n="nav.settings">Settings</span></a></div><div class="user-menu-item"><i class="fas fa-info-circle"></i>- <a href="about.html" style="text-decoration: none; color: inherit;">About</a>+ <a href="about.html" style="text-decoration: none; color: inherit;" data-i18n="nav.about">About</a></div><div class="user-menu-item" id="logoutMenuItem">- <i class="fas fa-sign-out-alt"></i> Logout+ <i class="fas fa-sign-out-alt"></i> <span data-i18n="auth.logout">Logout</span></div></div></div>@@ -151,15 +159,15 @@<div class="warranties-panel"><!-- Panel Header --><div class="panel-header">- <h2 id="warrantiesPanelTitle">Your Warranties</h2>+ <h2 id="warrantiesPanelTitle" data-i18n="warranties.title">Your Warranties</h2><!-- ADD BUTTON CONTAINER AND REFRESH BUTTON WRAPPER HERE --><div class="panel-header-actions"><div class="add-warranty-button-container"><button id="showAddWarrantyBtn" class="btn btn-primary btn-sm">- <i class="fas fa-plus"></i> Add New Warranty+ <i class="fas fa-plus"></i> <span data-i18n="warranties.add_new">Add New Warranty</span></button></div>- <button id="refreshBtn" class="btn btn-secondary btn-sm" title="Refresh List">+ <button id="refreshBtn" class="btn btn-secondary btn-sm" data-i18n-title="actions.refresh" title="Refresh List"><i class="fas fa-sync-alt"></i></button></div>@@ -172,20 +180,20 @@<button id="searchBtn" class="search-btn" title="Search"><i class="fas fa-search"></i></button>- <input type="text" id="searchWarranties" placeholder="Find by name, vendors, notes, tag, or serial number..." style="width: 100%; min-width: 200px;">+ <input type="text" id="searchWarranties" data-i18n-placeholder="warranties.search_placeholder" placeholder="Find by name, vendors, notes, tag, or serial number..." style="width: 100%; min-width: 200px;"><button id="clearSearch" class="clear-search-btn" title="Clear search" style="display: none;"><i class="fas fa-times"></i></button></div><div style="display: flex; gap: 8px; flex-wrap: nowrap; flex-shrink: 0; min-width: 0;"><button id="exportBtn" class="export-btn" title="Export warranties" style="white-space: nowrap;">- <i class="fas fa-file-export"></i> Export+ <i class="fas fa-file-export"></i> <span data-i18n="actions.export">Export</span></button><button id="importBtn" class="import-btn" title="Import warranties from CSV" style="white-space: nowrap;">- <i class="fas fa-file-import"></i> Import+ <i class="fas fa-file-import"></i> <span data-i18n="actions.import">Import</span></button><button id="globalManageTagsBtn" class="export-btn" title="Manage all tags" style="white-space: nowrap;">- <i class="fas fa-tags"></i> Manage Tags+ <i class="fas fa-tags"></i> <span data-i18n="actions.manage_tags">Manage Tags</span></button></div><input type="file" id="csvFileInput" accept=".csv" style="display: none;">@@ -193,53 +201,53 @@<div class="filter-options"><div class="filter-group">- <label class="filter-label">Status</label>+ <label class="filter-label" data-i18n="filters.status">Status</label><select id="statusFilter" class="filter-select">- <option value="all">All Status</option>- <option value="active">Active</option>- <option value="expiring">Expiring Soon</option>- <option value="expired">Expired</option>+ <option value="all" data-i18n="filters.all_status">All Status</option>+ <option value="active" data-i18n="warranties.active">Active</option>+ <option value="expiring" data-i18n="warranties.expiring_soon">Expiring Soon</option>+ <option value="expired" data-i18n="warranties.expired">Expired</option></select></div><div class="filter-group">- <label class="filter-label">Tag</label>+ <label class="filter-label" data-i18n="filters.tags">Tag</label><select id="tagFilter" class="filter-select">- <option value="all">All Tags</option>+ <option value="all" data-i18n="filters.all_tags">All Tags</option><!-- Tag options will be populated by JavaScript --></select></div><div class="filter-group">- <label class="filter-label">Vendor</label>+ <label class="filter-label" data-i18n="filters.vendor">Vendor</label><select id="vendorFilter" class="filter-select">- <option value="all">All Vendors</option>+ <option value="all" data-i18n="filters.all_vendors">All Vendors</option><!-- Vendor options will be populated by JavaScript --></select></div><div class="filter-group">- <label class="filter-label">Warranty Type</label>+ <label class="filter-label" data-i18n="filters.warranty_type">Warranty Type</label><select id="warrantyTypeFilter" class="filter-select">- <option value="all">All Types</option>+ <option value="all" data-i18n="filters.all_types">All Types</option><!-- Warranty type options will be populated by JavaScript --></select></div><div class="filter-group">- <label class="filter-label">Sort By</label>+ <label class="filter-label" data-i18n="filters.sort_by">Sort By</label><select id="sortBy" class="filter-select">- <option value="expiration">Expiration Date</option>- <option value="purchase">Purchase Date</option>- <option value="age">Age</option>- <option value="name">Product Name</option>- <option value="vendor">Vendor</option>- <option value="warranty_type">Warranty Type</option>+ <option value="expiration" data-i18n="filters.sort_expiration">Expiration Date</option>+ <option value="purchase" data-i18n="filters.sort_purchase">Purchase Date</option>+ <option value="age" data-i18n="filters.sort_age">Age</option>+ <option value="name" data-i18n="filters.sort_name">Product Name</option>+ <option value="vendor" data-i18n="filters.sort_vendor">Vendor</option>+ <option value="warranty_type" data-i18n="filters.sort_warranty_type">Warranty Type</option></select></div><div class="view-switcher">- <label class="filter-label">View</label>+ <label class="filter-label" data-i18n="filters.view">View</label><div class="view-buttons"><button id="gridViewBtn" class="view-btn active" title="Grid View"><i class="fas fa-th-large"></i>@@ -255,7 +263,7 @@<!-- Scope View Toggle --><div class="admin-view-switcher" id="adminViewSwitcher" style="display: none;">- <label class="filter-label">Scope</label>+ <label class="filter-label" data-i18n="filters.scope">Scope</label><div class="view-buttons"><button id="personalViewBtn" class="view-btn active" title="View your warranties only"><i class="fas fa-user"></i>@@ -272,18 +280,18 @@<!-- Table headers for table view --><div class="table-view-header"><tr>- <th>Product</th>- <th>Purchase Date</th>- <th>Expiration</th>- <th>Status</th>- <th>Actions</th>+ <th data-i18n="warranties.product">Product</th>+ <th data-i18n="warranties.purchase_date">Purchase Date</th>+ <th data-i18n="warranties.expiration">Expiration</th>+ <th data-i18n="warranties.status">Status</th>+ <th data-i18n="warranties.actions">Actions</th></tr></div><!-- Warranties will be loaded here --><div class="empty-state" style="display: none;"><i class="fas fa-box-open"></i>- <h3>No warranties yet</h3>- <p>Add your first warranty to get started</p>+ <h3 data-i18n="warranties.no_warranties_title">No warranties yet</h3>+ <p data-i18n="warranties.no_warranties_desc">Add your first warranty to get started</p></div></div></div>@@ -293,7 +301,7 @@<div id="addWarrantyModal" class="modal-backdrop"><div class="modal" style="max-width: 700px;"> <!-- Adjusted max-width for the wizard --><div class="modal-header">- <h3 class="modal-title">Add New Warranty</h3>+ <h3 class="modal-title" data-i18n="warranties.add_new">Add New Warranty</h3><button class="close-btn" data-dismiss="modal">×</button></div><div class="modal-body">@@ -302,51 +310,51 @@<!-- Form Tabs --><div class="form-tabs" data-step="0"><div class="form-tab active" data-tab="product-info" id="productInfoTabBtn">- <i class="fas fa-box"></i> Product+ <i class="fas fa-box"></i> <span data-i18n="warranties.product">Product</span></div><div class="form-tab" data-tab="warranty-details" id="warrantyDetailsTabBtn">- <i class="fas fa-shield-alt"></i> Warranty+ <i class="fas fa-shield-alt"></i> <span data-i18n="warranties.warranty">Warranty</span></div><div class="form-tab" data-tab="documents" id="documentsTabBtn">- <i class="fas fa-file-alt"></i> Documents+ <i class="fas fa-file-alt"></i> <span data-i18n="warranties.documents">Documents</span></div><div class="form-tab" data-tab="tags" id="tagsTabBtn">- <i class="fas fa-tags"></i> Tags+ <i class="fas fa-tags"></i> <span data-i18n="warranties.tags">Tags</span></div><div class="form-tab" data-tab="summary" id="summaryTabBtn">- <i class="fas fa-check-circle"></i> Summary+ <i class="fas fa-check-circle"></i> <span data-i18n="warranties.summary">Summary</span></div></div><!-- Warranty Form -->- <form id="warrantyForm">+ <form id="warrantyForm" novalidate><!-- Product Information Tab --><div class="tab-content active" id="product-info"><div class="form-group">- <label for="productName">Product Name</label>+ <label for="productName" data-i18n="warranties.product_name">Product Name</label><input type="text" id="productName" name="product_name" class="form-control" required></div><div class="form-group">- <label for="productUrl">Product URL (Optional)</label>- <input type="text" id="productUrl" name="product_url" class="form-control" placeholder="https://example.com/product">+ <label for="productUrl" data-i18n="warranties.product_url_optional">Product URL (Optional)</label>+ <input type="text" id="productUrl" name="product_url" class="form-control" data-i18n-placeholder="warranties.product_url_placeholder" placeholder="https://example.com/product"></div><div class="form-group">- <label>Serial Numbers</label>+ <label data-i18n="warranties.serial_numbers">Serial Numbers</label><div id="serialNumbersContainer"><!-- Serial number inputs will be added dynamically -->- <input type="text" name="serial_numbers[]" class="form-control" style="margin-bottom: 8px;" placeholder="Enter serial number">+ <input type="text" name="serial_numbers[]" class="form-control" style="margin-bottom: 8px;" data-i18n-placeholder="warranties.enter_serial_number" placeholder="Enter serial number"></div></div><div class="form-group">- <label for="vendor">Vendor (Optional)</label>- <input type="text" id="vendor" name="vendor" class="form-control" placeholder="e.g. Amazon, Best Buy, etc.">+ <label for="vendor" data-i18n="warranties.vendor_optional">Vendor (Optional)</label>+ <input type="text" id="vendor" name="vendor" class="form-control" data-i18n-placeholder="warranties.vendor_placeholder" placeholder="e.g. Amazon, Best Buy, etc."></div></div><!-- Warranty Details Tab --><div class="tab-content" id="warranty-details"><div class="form-group">- <label for="purchaseDate">Purchase Date</label>+ <label for="purchaseDate" data-i18n="warranties.purchase_date">Purchase Date</label><input type="date" id="purchaseDate" name="purchase_date" class="form-control" required></div>@@ -354,41 +362,41 @@<div class="form-group"><label class="lifetime-label"><input type="checkbox" id="isLifetime" name="is_lifetime" value="true">- Lifetime Warranty+ <span data-i18n="warranties.lifetime_warranty">Lifetime Warranty</span></label></div><!-- End Lifetime Checkbox --><!-- Warranty Entry Method Selection --><div class="form-group" id="warrantyEntryMethod">- <label>Warranty Entry Method</label>+ <label data-i18n="warranties.warranty_entry_method">Warranty Entry Method</label><div class="warranty-method-options"><label class="radio-option"><input type="radio" id="durationMethod" name="warranty_method" value="duration" checked>- <span>Warranty Duration</span>+ <span data-i18n="warranties.warranty_duration_option">Warranty Duration</span></label><label class="radio-option"><input type="radio" id="exactDateMethod" name="warranty_method" value="exact_date">- <span>Exact Expiration Date</span>+ <span data-i18n="warranties.exact_expiration_option">Exact Expiration Date</span></label></div></div><div id="warrantyDurationFields"><div class="form-group">- <label for="warrantyDurationYears">Warranty Period</label>+ <label for="warrantyDurationYears" data-i18n="warranties.warranty_period">Warranty Period</label><div class="duration-inputs"><div>- <input type="number" id="warrantyDurationYears" name="warranty_duration_years" class="form-control" min="0" max="100" placeholder="Years">- <small>Years</small>+ <input type="number" id="warrantyDurationYears" name="warranty_duration_years" class="form-control" min="0" max="100" data-i18n-placeholder="warranties.years_placeholder" placeholder="Years">+ <small data-i18n="warranties.years">Years</small></div><div>- <input type="number" id="warrantyDurationMonths" name="warranty_duration_months" class="form-control" min="0" max="11" placeholder="Months">- <small>Months</small>+ <input type="number" id="warrantyDurationMonths" name="warranty_duration_months" class="form-control" min="0" max="11" data-i18n-placeholder="warranties.months_placeholder" placeholder="Months">+ <small data-i18n="warranties.months">Months</small></div><div>- <input type="number" id="warrantyDurationDays" name="warranty_duration_days" class="form-control" min="0" max="365" placeholder="Days">- <small>Days</small>+ <input type="number" id="warrantyDurationDays" name="warranty_duration_days" class="form-control" min="0" max="365" data-i18n-placeholder="warranties.days_placeholder" placeholder="Days">+ <small data-i18n="warranties.days">Days</small></div></div></div>@@ -396,48 +404,48 @@<div id="exactExpirationField" style="display: none;"><div class="form-group">- <label for="exactExpirationDate">Expiration Date</label>+ <label for="exactExpirationDate" data-i18n="warranties.expiration_date_label">Expiration Date</label><input type="date" id="exactExpirationDate" name="exact_expiration_date" class="form-control"></div></div><div class="form-group">- <label for="warrantyType">Warranty Type (Optional)</label>+ <label for="warrantyType" data-i18n="warranties.warranty_type_optional">Warranty Type (Optional)</label><select id="warrantyType" name="warranty_type" class="form-control">- <option value="">Select warranty type...</option>- <option value="Standard">Standard</option>- <option value="Extended">Extended</option>- <option value="Manufacturer">Manufacturer</option>- <option value="Third Party">Third Party</option>- <option value="Store">Store</option>- <option value="Premium">Premium</option>- <option value="Limited">Limited</option>- <option value="Full">Full</option>- <option value="Parts Only">Parts Only</option>- <option value="Labor Only">Labor Only</option>- <option value="International">International</option>- <option value="Accidental Damage">Accidental Damage</option>- <option value="other">Other (Custom)</option>+ <option value="" data-i18n="warranties.select_warranty_type">Select warranty type...</option>+ <option value="Standard" data-i18n="warranties.standard">Standard</option>+ <option value="Extended" data-i18n="warranties.extended">Extended</option>+ <option value="Manufacturer" data-i18n="warranties.manufacturer">Manufacturer</option>+ <option value="Third Party" data-i18n="warranties.third_party">Third Party</option>+ <option value="Store" data-i18n="warranties.store">Store</option>+ <option value="Premium" data-i18n="warranties.premium">Premium</option>+ <option value="Limited" data-i18n="warranties.limited">Limited</option>+ <option value="Full" data-i18n="warranties.full">Full</option>+ <option value="Parts Only" data-i18n="warranties.parts_only">Parts Only</option>+ <option value="Labor Only" data-i18n="warranties.labor_only">Labor Only</option>+ <option value="International" data-i18n="warranties.international">International</option>+ <option value="Accidental Damage" data-i18n="warranties.accidental_damage">Accidental Damage</option>+ <option value="other" data-i18n="warranties.other_custom">Other (Custom)</option></select>- <input type="text" id="warrantyTypeCustom" name="warranty_type_custom" class="form-control" style="display: none; margin-top: 8px;" placeholder="Enter custom warranty type">+ <input type="text" id="warrantyTypeCustom" name="warranty_type_custom" class="form-control" style="display: none; margin-top: 8px;" data-i18n-placeholder="warranties.enter_custom_warranty_type_placeholder" placeholder="Enter custom warranty type"></div><div class="form-group">- <label for="currency">Currency</label>+ <label for="currency" data-i18n="warranties.currency">Currency</label><select id="currency" name="currency" class="form-control"><option value="USD">USD - US Dollar ($)</option><!-- Currency options will be populated by JavaScript --></select></div><div class="form-group">- <label for="purchasePrice">Purchase Price (Optional)</label>+ <label for="purchasePrice" data-i18n="warranties.purchase_price_optional">Purchase Price (Optional)</label><div class="price-input-wrapper" id="addPriceInputWrapper"><span class="currency-symbol" id="addCurrencySymbol">$</span><input type="number" id="purchasePrice" name="purchase_price" class="form-control" min="0" step="0.01" placeholder="0.00"></div></div><div class="form-group">- <label for="notes">Notes (Optional)</label>- <textarea id="notes" name="notes" class="form-control" rows="3" placeholder="Add any notes about this warranty..."></textarea>+ <label for="notes" data-i18n="warranties.notes_optional">Notes (Optional)</label>+ <textarea id="notes" name="notes" class="form-control" rows="3" data-i18n-placeholder="warranties.add_any_notes_placeholder" placeholder="Add any notes about this warranty..."></textarea></div></div><!-- Documents Tab -->@@ -449,10 +457,10 @@</div><div class="form-group">- <label>Product Photo (Optional)</label>+ <label data-i18n="warranties.product_photo_optional">Product Photo (Optional)</label><div class="file-input-wrapper"><label for="productPhoto" class="file-input-label">- <i class="fas fa-camera"></i> Choose Photo+ <i class="fas fa-camera"></i> <span data-i18n="warranties.choose_photo">Choose Photo</span></label><input type="file" id="productPhoto" name="product_photo" class="file-input" accept=".png,.jpg,.jpeg,.webp"></div>@@ -464,27 +472,27 @@</div><div class="form-group">- <label>Invoice/Receipt</label>+ <label data-i18n="warranties.invoice_receipt">Invoice/Receipt</label><!-- Storage Selection --><div id="invoiceStorageSelection" class="storage-selection" style="display: none;"><div class="storage-options"><label class="storage-option"><input type="radio" name="invoiceStorage" value="local" checked><span class="storage-label">- <i class="fas fa-hdd"></i> Store Locally+ <i class="fas fa-hdd"></i> <span data-i18n="warranties.store_locally">Store Locally</span></span></label><label class="storage-option"><input type="radio" name="invoiceStorage" value="paperless"><span class="storage-label">- <i class="fas fa-cloud"></i> Store in Paperless-ngx+ <i class="fas fa-cloud"></i> <span data-i18n="warranties.store_in_paperless">Store in Paperless-ngx</span></span></label></div></div><div class="file-input-wrapper"><label for="invoice" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="invoice" name="invoice" class="file-input" accept=".pdf,.png,.jpg,.jpeg"></div>@@ -492,7 +500,7 @@<!-- Paperless Browse Button --><div id="invoicePaperlessBrowse" class="paperless-browse-section" style="display: none;"><button type="button" class="btn btn-secondary btn-sm" onclick="openPaperlessBrowser('invoice')">- <i class="fas fa-search"></i> Browse Paperless-ngx Documents+ <i class="fas fa-search"></i> <span data-i18n="warranties.browse_paperless">Browse Paperless-ngx Documents</span></button><div id="selectedInvoiceFromPaperless" class="selected-paperless-doc" style="display: none;"><span class="selected-doc-name"></span>@@ -504,27 +512,27 @@</div><div class="form-group">- <label>Product Manual (Optional)</label>+ <label data-i18n="warranties.product_manual_optional">Product Manual (Optional)</label><!-- Storage Selection --><div id="manualStorageSelection" class="storage-selection" style="display: none;"><div class="storage-options"><label class="storage-option"><input type="radio" name="manualStorage" value="local" checked><span class="storage-label">- <i class="fas fa-hdd"></i> Store Locally+ <i class="fas fa-hdd"></i> <span data-i18n="warranties.store_locally">Store Locally</span></span></label><label class="storage-option"><input type="radio" name="manualStorage" value="paperless"><span class="storage-label">- <i class="fas fa-cloud"></i> Store in Paperless-ngx+ <i class="fas fa-cloud"></i> <span data-i18n="warranties.store_in_paperless">Store in Paperless-ngx</span></span></label></div></div><div class="file-input-wrapper"><label for="manual" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="manual" name="manual" class="file-input" accept=".pdf,.png,.jpg,.jpeg"></div>@@ -532,7 +540,7 @@<!-- Paperless Browse Button --><div id="manualPaperlessBrowse" class="paperless-browse-section" style="display: none;"><button type="button" class="btn btn-secondary btn-sm" onclick="openPaperlessBrowser('manual')">- <i class="fas fa-search"></i> Browse Paperless-ngx Documents+ <i class="fas fa-search"></i> <span data-i18n="warranties.browse_paperless">Browse Paperless-ngx Documents</span></button><div id="selectedManualFromPaperless" class="selected-paperless-doc" style="display: none;"><span class="selected-doc-name"></span>@@ -543,10 +551,10 @@</div></div><div class="form-group">- <label>Files (ZIP/RAR, Optional)</label>+ <label data-i18n="warranties.files_zip_rar_optional">Files (ZIP/RAR, Optional)</label><div class="file-input-wrapper"><label for="otherDocument" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="otherDocument" name="other_document" class="file-input" accept=".zip,.rar"></div>@@ -557,8 +565,8 @@<!-- Tags Tab --><div class="tab-content" id="tags"><div class="form-group">- <label>Add Tags</label>- <p class="text-muted">Tags help you organize and filter your warranties</p>+ <label data-i18n="warranties.add_tags">Add Tags</label>+ <p class="text-muted" data-i18n="warranties.add_tags_desc">Tags help you organize and filter your warranties</p><div class="tags-container"><div class="selected-tags" id="selectedTags">@@ -566,7 +574,7 @@</div><div class="tags-dropdown">- <input type="text" id="tagSearch" class="form-control" placeholder="Search or add new tag...">+ <input type="text" id="tagSearch" class="form-control" data-i18n-placeholder="warranties.search_or_add_tag" placeholder="Search or add new tag..."><div class="tags-list" id="tagsList"><!-- Tag options will be populated by JavaScript --></div>@@ -574,7 +582,7 @@<div class="mt-10"><button type="button" id="manageTagsBtn" class="btn btn-secondary btn-sm">- <i class="fas fa-cog"></i> Manage Tags+ <i class="fas fa-cog"></i> <span data-i18n="actions.manage_tags">Manage Tags</span></button></div></div>@@ -584,81 +592,81 @@<div class="tab-content" id="summary"><div class="summary-container"><div class="summary-section">- <h4><i class="fas fa-box"></i> Product Information</h4>+ <h4><i class="fas fa-box"></i> <span data-i18n="warranties.product_information">Product Information</span></h4><div class="summary-item">- <span class="summary-label">Product Name:</span>+ <span class="summary-label" data-i18n="warranties.product_name">Product Name:</span><span id="summary-product-name" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Product URL:</span>+ <span class="summary-label" data-i18n="warranties.product_url">Product URL:</span><span id="summary-product-url" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Serial Numbers:</span>+ <span class="summary-label" data-i18n="warranties.serial_numbers">Serial Numbers:</span><span id="summary-serial-numbers" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Vendor:</span>+ <span class="summary-label" data-i18n="warranties.vendor">Vendor:</span><span id="summary-vendor" class="summary-value">-</span></div></div><div class="summary-section">- <h4><i class="fas fa-shield-alt"></i> Warranty Details</h4>+ <h4><i class="fas fa-shield-alt"></i> <span data-i18n="warranties.warranty_details">Warranty Details</span></h4><div class="summary-item">- <span class="summary-label">Purchase Date:</span>+ <span class="summary-label" data-i18n="warranties.purchase_date">Purchase Date:</span><span id="summary-purchase-date" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Warranty Period:</span>+ <span class="summary-label" data-i18n="warranties.warranty_period">Warranty Period:</span><span id="summary-warranty-duration" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Warranty Type:</span>+ <span class="summary-label" data-i18n="warranties.warranty_type">Warranty Type:</span><span id="summary-warranty-type" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Purchase Price:</span>+ <span class="summary-label" data-i18n="warranties.purchase_price">Purchase Price:</span><span id="summary-purchase-price" class="summary-value">-</span></div></div><div class="summary-section">- <h4><i class="fas fa-file-alt"></i> Documents</h4>+ <h4><i class="fas fa-file-alt"></i> <span data-i18n="warranties.documents">Documents</span></h4><div class="summary-item">- <span class="summary-label">Product Photo:</span>+ <span class="summary-label" data-i18n="warranties.product_photo">Product Photo:</span><span id="summary-product-photo" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Invoice/Receipt:</span>+ <span class="summary-label" data-i18n="warranties.invoice_receipt">Invoice/Receipt:</span><span id="summary-invoice" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Product Manual:</span>+ <span class="summary-label" data-i18n="warranties.product_manual">Product Manual:</span><span id="summary-manual" class="summary-value">-</span></div><div class="summary-item">- <span class="summary-label">Files:</span>+ <span class="summary-label" data-i18n="warranties.files">Files:</span><span id="summary-other-document" class="summary-value">-</span></div></div><div class="summary-section">- <h4><i class="fas fa-tags"></i> Tags</h4>+ <h4><i class="fas fa-tags"></i> <span data-i18n="warranties.tags">Tags</span></h4><div class="summary-item">- <span class="summary-label">Selected Tags:</span>+ <span class="summary-label" data-i18n="warranties.selected_tags">Selected Tags:</span><div id="summary-tags" class="summary-value">-</div></div></div></div><div class="form-group">- <button type="submit" class="btn btn-primary" id="submitWarrantyBtn">Add Warranty</button>+ <button type="submit" class="btn btn-primary" id="submitWarrantyBtn" data-i18n="warranties.add_warranty">Add Warranty</button></div></div><!-- Tab Navigation --><div class="tab-navigation"><button type="button" class="btn btn-secondary prev-tab" id="prevTabBtn">- <i class="fas fa-arrow-left"></i> Previous+ <i class="fas fa-arrow-left"></i> <span data-i18n="warranties.previous_tab">Previous</span></button><button type="button" class="btn btn-primary next-tab" id="nextTabBtn">- Next <i class="fas fa-arrow-right"></i>+ <span data-i18n="warranties.next_tab">Next</span> <i class="fas fa-arrow-right"></i></button></div></form>@@ -677,57 +685,57 @@<div id="editModal" class="modal-backdrop"><div class="modal"><div class="modal-header">- <h3 class="modal-title">Edit Warranty</h3>+ <h3 class="modal-title" data-i18n="warranties.edit_warranty">Edit Warranty</h3><button class="close-btn" data-dismiss="modal">×</button></div><div class="modal-body"><!-- Tab Navigation --><div class="edit-tabs-nav"><button type="button" class="edit-tab-btn active" data-tab="edit-product-info">- <i class="fas fa-box"></i> Product+ <i class="fas fa-box"></i> <span data-i18n="warranties.product">Product</span></button><button type="button" class="edit-tab-btn" data-tab="edit-warranty-details">- <i class="fas fa-shield-alt"></i> Warranty+ <i class="fas fa-shield-alt"></i> <span data-i18n="warranties.warranty">Warranty</span></button><button type="button" class="edit-tab-btn" data-tab="edit-documents">- <i class="fas fa-file-alt"></i> Documents+ <i class="fas fa-file-alt"></i> <span data-i18n="warranties.documents">Documents</span></button><button type="button" class="edit-tab-btn" data-tab="edit-tags">- <i class="fas fa-tags"></i> Tags+ <i class="fas fa-tags"></i> <span data-i18n="warranties.tags">Tags</span></button></div>- <form id="editWarrantyForm">+ <form id="editWarrantyForm" novalidate><input type="hidden" id="editWarrantyId"><!-- Product Info Tab --><div class="edit-tab-content active" id="edit-product-info"><div class="form-group">- <label for="editProductName">Product Name</label>+ <label for="editProductName" data-i18n="warranties.product_name">Product Name</label><input type="text" id="editProductName" name="product_name" class="form-control" required></div><div class="form-group">- <label for="editProductUrl">Product URL (Optional)</label>- <input type="text" id="editProductUrl" name="product_url" class="form-control" placeholder="https://example.com/product">+ <label for="editProductUrl" data-i18n="warranties.product_url_optional">Product URL (Optional)</label>+ <input type="text" id="editProductUrl" name="product_url" class="form-control" data-i18n-placeholder="warranties.product_url_placeholder" placeholder="https://example.com/product"></div><div class="form-group">- <label>Serial Numbers</label>+ <label data-i18n="warranties.serial_numbers">Serial Numbers</label><div id="editSerialNumbersContainer"><!-- Serial number inputs will be added dynamically --></div></div><div class="form-group">- <label for="editVendor">Vendor (Optional)</label>- <input type="text" id="editVendor" name="vendor" class="form-control" placeholder="e.g. Amazon, Best Buy, etc.">+ <label for="editVendor" data-i18n="warranties.vendor_optional">Vendor (Optional)</label>+ <input type="text" id="editVendor" name="vendor" class="form-control" data-i18n-placeholder="warranties.vendor_placeholder" placeholder="e.g. Amazon, Best Buy, etc."></div></div><!-- Warranty Details Tab --><div class="edit-tab-content" id="edit-warranty-details"><div class="form-group">- <label for="editPurchaseDate">Purchase Date</label>+ <label for="editPurchaseDate" data-i18n="warranties.purchase_date">Purchase Date</label><input type="date" id="editPurchaseDate" name="purchase_date" class="form-control" required></div>@@ -735,41 +743,41 @@<div class="form-group"><label class="lifetime-label"><input type="checkbox" id="editIsLifetime" name="is_lifetime" value="true">- Lifetime Warranty+ <span data-i18n="warranties.lifetime_warranty">Lifetime Warranty</span></label></div><!-- End Lifetime Checkbox --><!-- Warranty Entry Method Selection --><div class="form-group" id="editWarrantyEntryMethod">- <label>Warranty Entry Method</label>+ <label data-i18n="warranties.warranty_entry_method">Warranty Entry Method</label><div class="warranty-method-options"><label class="radio-option"><input type="radio" id="editDurationMethod" name="edit_warranty_method" value="duration" checked>- <span>Warranty Duration</span>+ <span data-i18n="warranties.warranty_duration_option">Warranty Duration</span></label><label class="radio-option"><input type="radio" id="editExactDateMethod" name="edit_warranty_method" value="exact_date">- <span>Exact Expiration Date</span>+ <span data-i18n="warranties.exact_expiration_option">Exact Expiration Date</span></label></div></div><div id="editWarrantyDurationFields"><div class="form-group">- <label for="editWarrantyDurationYears">Warranty Period</label>+ <label for="editWarrantyDurationYears" data-i18n="warranties.warranty_period">Warranty Period</label><div class="duration-inputs"><div>- <input type="number" id="editWarrantyDurationYears" name="warranty_duration_years" class="form-control" min="0" max="100" placeholder="Years">- <small>Years</small>+ <input type="number" id="editWarrantyDurationYears" name="warranty_duration_years" class="form-control" min="0" max="100" data-i18n-placeholder="warranties.years_placeholder" placeholder="Years">+ <small data-i18n="warranties.years">Years</small></div><div>- <input type="number" id="editWarrantyDurationMonths" name="warranty_duration_months" class="form-control" min="0" max="11" placeholder="Months">- <small>Months</small>+ <input type="number" id="editWarrantyDurationMonths" name="warranty_duration_months" class="form-control" min="0" max="11" data-i18n-placeholder="warranties.months_placeholder" placeholder="Months">+ <small data-i18n="warranties.months">Months</small></div><div>- <input type="number" id="editWarrantyDurationDays" name="warranty_duration_days" class="form-control" min="0" max="365" placeholder="Days">- <small>Days</small>+ <input type="number" id="editWarrantyDurationDays" name="warranty_duration_days" class="form-control" min="0" max="365" data-i18n-placeholder="warranties.days_placeholder" placeholder="Days">+ <small data-i18n="warranties.days">Days</small></div></div></div>@@ -777,58 +785,58 @@<div id="editExactExpirationField" style="display: none;"><div class="form-group">- <label for="editExactExpirationDate">Expiration Date</label>+ <label for="editExactExpirationDate" data-i18n="warranties.expiration_date_label">Expiration Date</label><input type="date" id="editExactExpirationDate" name="exact_expiration_date" class="form-control"></div></div><div class="form-group">- <label for="editWarrantyType">Warranty Type (Optional)</label>+ <label for="editWarrantyType" data-i18n="warranties.warranty_type_optional">Warranty Type (Optional)</label><select id="editWarrantyType" name="warranty_type" class="form-control">- <option value="">Select warranty type...</option>- <option value="Standard">Standard</option>- <option value="Extended">Extended</option>- <option value="Manufacturer">Manufacturer</option>- <option value="Third Party">Third Party</option>- <option value="Store">Store</option>- <option value="Premium">Premium</option>- <option value="Limited">Limited</option>- <option value="Full">Full</option>- <option value="Parts Only">Parts Only</option>- <option value="Labor Only">Labor Only</option>- <option value="International">International</option>- <option value="Accidental Damage">Accidental Damage</option>- <option value="other">Other (Custom)</option>+ <option value="" data-i18n="warranties.select_warranty_type">Select warranty type...</option>+ <option value="Standard" data-i18n="warranties.standard">Standard</option>+ <option value="Extended" data-i18n="warranties.extended">Extended</option>+ <option value="Manufacturer" data-i18n="warranties.manufacturer">Manufacturer</option>+ <option value="Third Party" data-i18n="warranties.third_party">Third Party</option>+ <option value="Store" data-i18n="warranties.store">Store</option>+ <option value="Premium" data-i18n="warranties.premium">Premium</option>+ <option value="Limited" data-i18n="warranties.limited">Limited</option>+ <option value="Full" data-i18n="warranties.full">Full</option>+ <option value="Parts Only" data-i18n="warranties.parts_only">Parts Only</option>+ <option value="Labor Only" data-i18n="warranties.labor_only">Labor Only</option>+ <option value="International" data-i18n="warranties.international">International</option>+ <option value="Accidental Damage" data-i18n="warranties.accidental_damage">Accidental Damage</option>+ <option value="other" data-i18n="warranties.other_custom">Other (Custom)</option></select>- <input type="text" id="editWarrantyTypeCustom" name="warranty_type_custom" class="form-control" style="display: none; margin-top: 8px;" placeholder="Enter custom warranty type">+ <input type="text" id="editWarrantyTypeCustom" name="warranty_type_custom" class="form-control" style="display: none; margin-top: 8px;" data-i18n-placeholder="warranties.enter_custom_warranty_type_placeholder" placeholder="Enter custom warranty type"></div><div class="form-group">- <label for="editCurrency">Currency</label>+ <label for="editCurrency" data-i18n="warranties.currency">Currency</label><select id="editCurrency" name="currency" class="form-control"><option value="USD">USD - US Dollar ($)</option><!-- Currency options will be populated by JavaScript --></select></div><div class="form-group">- <label for="editPurchasePrice">Purchase Price (Optional)</label>+ <label for="editPurchasePrice" data-i18n="warranties.purchase_price_optional">Purchase Price (Optional)</label><div class="price-input-wrapper" id="editPriceInputWrapper"><span class="currency-symbol" id="editCurrencySymbol">$</span><input type="number" id="editPurchasePrice" name="purchase_price" class="form-control" min="0" step="0.01" placeholder="0.00"></div></div><div class="form-group">- <label for="editNotes">Notes (Optional)</label>- <textarea id="editNotes" name="notes" class="form-control" rows="3" placeholder="Add any notes about this warranty..."></textarea>+ <label for="editNotes" data-i18n="warranties.notes_optional">Notes (Optional)</label>+ <textarea id="editNotes" name="notes" class="form-control" rows="3" data-i18n-placeholder="warranties.add_any_notes_placeholder" placeholder="Add any notes about this warranty..."></textarea></div></div><!-- Documents Tab --><div class="edit-tab-content" id="edit-documents"><div class="form-group">- <label>Product Photo (Optional)</label>+ <label data-i18n="warranties.product_photo_optional">Product Photo (Optional)</label><div class="file-input-wrapper"><label for="editProductPhoto" class="file-input-label">- <i class="fas fa-camera"></i> Choose Photo+ <i class="fas fa-camera"></i> <span data-i18n="warranties.choose_photo">Choose Photo</span></label><input type="file" id="editProductPhoto" name="product_photo" class="file-input" accept=".png,.jpg,.jpeg,.webp"></div>@@ -837,42 +845,42 @@<img id="editProductPhotoImg" src="" alt="Product Photo Preview" style="max-width: 200px; max-height: 200px; border-radius: 8px; margin-top: 10px;"></div><div id="currentProductPhoto" class="mt-10"></div>- <button type="button" id="deleteProductPhotoBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> Delete Photo</button>+ <button type="button" id="deleteProductPhotoBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> <span data-i18n="warranties.delete_photo">Delete Photo</span></button></div><div class="form-group">- <label>Invoice/Receipt</label>+ <label data-i18n="warranties.invoice_receipt">Invoice/Receipt</label><!-- Storage Selection --><div id="editInvoiceStorageSelection" class="storage-selection" style="display: none;"><div class="storage-options"><label class="storage-option"><input type="radio" name="editInvoiceStorage" value="local" checked><span class="storage-label">- <i class="fas fa-hdd"></i> Store Locally+ <i class="fas fa-hdd"></i> <span data-i18n="warranties.store_locally">Store Locally</span></span></label><label class="storage-option"><input type="radio" name="editInvoiceStorage" value="paperless"><span class="storage-label">- <i class="fas fa-cloud"></i> Store in Paperless-ngx+ <i class="fas fa-cloud"></i> <span data-i18n="warranties.store_in_paperless">Store in Paperless-ngx</span></span></label></div></div><div class="file-input-wrapper"><label for="editInvoice" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="editInvoice" name="invoice" class="file-input" accept=".pdf,.png,.jpg,.jpeg"></div><div id="editFileName" class="file-name"></div><div id="currentInvoice" class="mt-10"></div>- <button type="button" id="deleteInvoiceBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> Delete Invoice</button>+ <button type="button" id="deleteInvoiceBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> <span data-i18n="warranties.delete_invoice">Delete Invoice</span></button><!-- Paperless Browse Button --><div id="editInvoicePaperlessBrowse" class="paperless-browse-section" style="display: none;"><button type="button" class="btn btn-secondary btn-sm" onclick="openPaperlessBrowser('edit_invoice')">- <i class="fas fa-search"></i> Browse Paperless-ngx Documents+ <i class="fas fa-search"></i> <span data-i18n="warranties.browse_paperless">Browse Paperless-ngx Documents</span></button><div id="selectedEditInvoiceFromPaperless" class="selected-paperless-doc" style="display: none;"><span class="selected-doc-name"></span>@@ -884,37 +892,37 @@</div><div class="form-group">- <label>Product Manual (Optional)</label>+ <label data-i18n="warranties.product_manual_optional">Product Manual (Optional)</label><!-- Storage Selection --><div id="editManualStorageSelection" class="storage-selection" style="display: none;"><div class="storage-options"><label class="storage-option"><input type="radio" name="editManualStorage" value="local" checked><span class="storage-label">- <i class="fas fa-hdd"></i> Store Locally+ <i class="fas fa-hdd"></i> <span data-i18n="warranties.store_locally">Store Locally</span></span></label><label class="storage-option"><input type="radio" name="editManualStorage" value="paperless"><span class="storage-label">- <i class="fas fa-cloud"></i> Store in Paperless-ngx+ <i class="fas fa-cloud"></i> <span data-i18n="warranties.store_in_paperless">Store in Paperless-ngx</span></span></label></div></div><div class="file-input-wrapper"><label for="editManual" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="editManual" name="manual" class="file-input" accept=".pdf,.png,.jpg,.jpeg"></div><div id="editManualFileName" class="file-name"></div><div id="currentManual" class="mt-10"></div>- <button type="button" id="deleteManualBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> Delete Manual</button>+ <button type="button" id="deleteManualBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> <span data-i18n="warranties.delete_manual">Delete Manual</span></button><!-- Paperless Browse Button --><div id="editManualPaperlessBrowse" class="paperless-browse-section" style="display: none;"><button type="button" class="btn btn-secondary btn-sm" onclick="openPaperlessBrowser('edit_manual')">- <i class="fas fa-search"></i> Browse Paperless-ngx Documents+ <i class="fas fa-search"></i> <span data-i18n="warranties.browse_paperless">Browse Paperless-ngx Documents</span></button><div id="selectedEditManualFromPaperless" class="selected-paperless-doc" style="display: none;"><span class="selected-doc-name"></span>@@ -925,16 +933,16 @@</div></div><div class="form-group">- <label>Files (ZIP/RAR, Optional)</label>+ <label data-i18n="warranties.files_zip_rar_optional">Files (ZIP/RAR, Optional)</label><div class="file-input-wrapper"><label for="editOtherDocument" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="editOtherDocument" name="other_document" class="file-input" accept=".zip,.rar"></div><div id="editOtherDocumentFileName" class="file-name"></div><div id="currentOtherDocument" class="mt-10"></div>- <button type="button" id="deleteOtherDocumentBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> Delete Files</button>+ <button type="button" id="deleteOtherDocumentBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> <span data-i18n="warranties.delete_files">Delete Files</span></button></div></div>@@ -942,8 +950,8 @@<!-- Tags Tab --><div class="edit-tab-content" id="edit-tags"><div class="form-group">- <label>Add Tags</label>- <p class="text-muted">Tags help you organize and filter your warranties</p>+ <label data-i18n="warranties.add_tags">Add Tags</label>+ <p class="text-muted" data-i18n="warranties.add_tags_desc">Tags help you organize and filter your warranties</p><div class="tags-container"><div class="selected-tags" id="editSelectedTags">@@ -951,7 +959,7 @@</div><div class="tags-dropdown">- <input type="text" id="editTagSearch" class="form-control" placeholder="Search or add new tag...">+ <input type="text" id="editTagSearch" class="form-control" data-i18n-placeholder="warranties.search_or_add_new_tag" placeholder="Search or add new tag..."><div class="tags-list" id="editTagsList"><!-- Tag options will be populated by JavaScript --></div>@@ -959,7 +967,7 @@<div class="mt-10"><button type="button" id="editManageTagsBtn" class="btn btn-secondary btn-sm">- <i class="fas fa-cog"></i> Manage Tags+ <i class="fas fa-cog"></i> <span data-i18n="actions.manage_tags">Manage Tags</span></button></div></div>@@ -968,26 +976,26 @@</form></div><div class="modal-footer">- <button class="btn btn-danger" data-dismiss="modal">Cancel</button>- <button id="saveWarrantyBtn" class="btn btn-primary">Save Changes</button>+ <button class="btn btn-danger" data-dismiss="modal" data-i18n="actions.cancel">Cancel</button>+ <button id="saveWarrantyBtn" class="btn btn-primary" data-i18n="warranties.save_changes">Save Changes</button></div></div>- </div>+ </div><!-- Confirm Delete Modal --><div id="deleteModal" class="modal-backdrop"><div class="modal"><div class="modal-header">- <h3 class="modal-title">Confirm Delete</h3>+ <h3 class="modal-title" data-i18n="warranties.confirm_delete">Confirm Delete</h3><button class="close-btn" data-dismiss="modal">×</button></div><div class="modal-body">- <p>Are you sure you want to delete this warranty? This action cannot be undone.</p>- <p><strong>Product:</strong> <span id="deleteProductName"></span></p>+ <p data-i18n="warranties.confirm_delete_message">Are you sure you want to delete this warranty? This action cannot be undone.</p>+ <p><strong><span data-i18n="warranties.product">Product</span>:</strong> <span id="deleteProductName"></span></p></div><div class="modal-footer">- <button class="btn btn-secondary" data-dismiss="modal">Cancel</button>- <button id="confirmDeleteBtn" class="btn btn-danger">Delete</button>+ <button class="btn btn-secondary" data-dismiss="modal" data-i18n="actions.cancel">Cancel</button>+ <button id="confirmDeleteBtn" class="btn btn-danger" data-i18n="actions.delete">Delete</button></div></div></div>@@ -996,23 +1004,23 @@<div id="tagManagementModal" class="modal-backdrop"><div class="modal"><div class="modal-header">- <h3 class="modal-title">Manage Tags</h3>+ <h3 class="modal-title" data-i18n="actions.manage_tags">Manage Tags</h3><button class="close-btn" data-dismiss="modal">×</button></div><div class="modal-body"><form id="newTagForm" class="tag-form">- <input type="text" id="newTagName" class="form-control" placeholder="New tag name" required>+ <input type="text" id="newTagName" class="form-control" data-i18n-placeholder="warranties.new_tag_name" placeholder="New tag name" required><input type="color" id="newTagColor" value="#808080">- <button type="submit" class="btn btn-primary">Add Tag</button>+ <button type="submit" class="btn btn-primary" data-i18n="warranties.add_tag">Add Tag</button></form>- <h4 class="mt-20">Existing Tags</h4>+ <h4 class="mt-20" data-i18n="warranties.existing_tags">Existing Tags</h4><div id="existingTags" class="existing-tags"><!-- Tags will be populated here by JavaScript --></div></div><div class="modal-footer">- <button class="btn btn-secondary" data-dismiss="modal">Close</button>+ <button class="btn btn-secondary" data-dismiss="modal" data-i18n="actions.close">Close</button></div></div></div>@@ -1082,14 +1090,14 @@<div class="loading-spinner"></div></div>- <script src="auth.js"></script>- <script src="script.js?v=20250617018"></script>+ <script src="auth.js?v=20250118003"></script>+ <script src="script.js?v=20250118003"></script><!-- Footer Width Fix -->- <script src="footer-fix.js"></script>+ <script src="footer-fix.js?v=20250118003"></script><!-- Footer Content Manager -->- <script src="footer-content.js"></script>+ <script src="footer-content.js?v=20250118003"></script><!-- Powered by Warracker Footer --><footer class="warracker-footer" id="warrackerFooter">diff --git a/frontend/js/i18n-debug.js b/frontend/js/i18n-debug.jsnew file mode 100644index 0000000..d3684af--- /dev/null+++ b/frontend/js/i18n-debug.js@@ -0,0 +1,36 @@+// Debug script to test i18next CDN loading+console.log('=== i18next Debug Script ===');++// Check if CDN scripts are loaded+setTimeout(() => {+ console.log('Checking i18next libraries:');+ console.log('- i18next:', typeof i18next !== 'undefined' ? 'LOADED' : 'NOT LOADED');+ console.log('- i18nextHttpBackend:', typeof i18nextHttpBackend !== 'undefined' ? 'LOADED' : 'NOT LOADED');+ console.log('- i18nextBrowserLanguageDetector:', typeof i18nextBrowserLanguageDetector !== 'undefined' ? 'LOADED' : 'NOT LOADED');++ // Test basic fetch to translation file+ fetch('/locales/en/translation.json')+ .then(response => {+ console.log('Translation file fetch status:', response.status);+ return response.json();+ })+ .then(data => {+ console.log('Translation file loaded successfully, keys:', Object.keys(data).slice(0, 5));+ })+ .catch(error => {+ console.error('Failed to load translation file:', error);+ });++ // Test API endpoint+ fetch('/api/locales')+ .then(response => {+ console.log('Locales API status:', response.status);+ return response.json();+ })+ .then(data => {+ console.log('Locales API response:', data);+ })+ .catch(error => {+ console.error('Failed to load locales API:', error);+ });+}, 2000); // Wait 2 seconds for CDN scripts to load\ No newline at end of filediff --git a/frontend/js/i18n.js b/frontend/js/i18n.jsnew file mode 100644index 0000000..46d5c5a--- /dev/null+++ b/frontend/js/i18n.js@@ -0,0 +1,416 @@+/**+ * i18next Configuration and Initialization+ * Handles frontend localization with offline support+ */++// Global i18n object to make translation functions available+window.i18n = {};++// Supported languages+const SUPPORTED_LANGUAGES = ['en', 'fr', 'es', 'de', 'it', 'cs', 'nl', 'hi', 'fa', 'ar', 'ru', 'uk', 'zh_CN', 'zh_HK', 'ja', 'pt', 'ko'];+const DEFAULT_LANGUAGE = 'en';+const RTL_LANGUAGES = ['ar', 'fa']; // Arabic and Persian are RTL languages++/**+ * Initialize i18next with configuration+ */+async function initializeI18n() {+ console.log('Initializing i18next...');++ // Debug: Check if required libraries are loaded+ if (typeof i18next === 'undefined') {+ console.error('i18next library not loaded');+ return;+ }++ console.log('i18next library loaded successfully');++ // Check optional libraries+ const hasHttpBackend = typeof i18nextHttpBackend !== 'undefined';+ const hasLanguageDetector = typeof i18nextBrowserLanguageDetector !== 'undefined';++ console.log('Optional libraries:', {+ httpBackend: hasHttpBackend,+ languageDetector: hasLanguageDetector+ });++ try {+ // Get current language from various sources+ const savedLanguage = getCurrentLanguage();+ console.log('Initial language detected:', savedLanguage);++ // Load translations manually since HttpBackend might not be available+ const translations = await loadTranslations(savedLanguage);++ // Configure i18next with or without plugins+ let i18nextInstance = i18next;++ if (hasLanguageDetector) {+ i18nextInstance = i18nextInstance.use(i18nextBrowserLanguageDetector);+ }++ await i18nextInstance.init({+ fallbackLng: DEFAULT_LANGUAGE,+ supportedLngs: SUPPORTED_LANGUAGES,+ debug: false,++ // Set initial language and resources+ lng: savedLanguage,+ resources: translations,++ // Language detection configuration (only if detector is available)+ ...(hasLanguageDetector && {+ detection: {+ order: ['cookie', 'localStorage', 'navigator', 'htmlTag'],+ lookupCookie: 'lang',+ lookupLocalStorage: 'preferred_language',+ caches: ['cookie', 'localStorage'],+ cookieOptions: {+ path: '/',+ maxAge: 365 * 24 * 60 * 60 // 1 year+ }+ }+ }),++ // Interpolation options+ interpolation: {+ escapeValue: false+ }+ });++ // Store translation function globally+ window.i18n.t = i18next.t.bind(i18next);+ window.i18n.changeLanguage = changeLanguage;+ window.i18n.getCurrentLanguage = getCurrentLanguage;+ window.i18n.getSupportedLanguages = () => SUPPORTED_LANGUAGES;++ // Initialize page translations+ translatePage();++ // Set initial page direction+ updatePageDirection(i18next.language);++ // Set up language change listener+ i18next.on('languageChanged', (lng) => {+ console.log('Language changed to:', lng);+ translatePage();+ updateLanguageAttribute(lng);+ updatePageDirection(lng);+ });++ console.log('i18next initialized successfully with language:', i18next.language);++ // Dispatch event to notify other scripts that i18n is ready+ window.dispatchEvent(new CustomEvent('i18nReady', {+ detail: {+ language: i18next.language,+ t: window.i18n.t+ }+ }));++ } catch (error) {+ console.error('Failed to initialize i18next:', error);+ // Fallback to default language without i18next+ window.i18n.t = (key) => key; // Return key as fallback+ window.i18n.changeLanguage = () => {};+ window.i18n.getCurrentLanguage = () => DEFAULT_LANGUAGE;+ window.i18n.getSupportedLanguages = () => SUPPORTED_LANGUAGES;++ // Still dispatch event so other scripts know i18n is "ready" (even with fallback)+ window.dispatchEvent(new CustomEvent('i18nReady', {+ detail: {+ language: DEFAULT_LANGUAGE,+ t: window.i18n.t,+ fallback: true+ }+ }));+ }+}++/**+ * Load translations for a specific language+ */+async function loadTranslations(language) {+ const translations = {};++ try {+ // Load primary language+ const response = await fetch(`/locales/${language}/translation.json?v=${Date.now()}`);+ if (response.ok) {+ const data = await response.json();+ translations[language] = { translation: data };+ console.log(`Loaded translations for ${language}:`, Object.keys(data).slice(0, 5));+ } else {+ console.warn(`Failed to load translations for ${language}, status: ${response.status}`);+ }+ } catch (error) {+ console.error(`Error loading translations for ${language}:`, error);+ }++ // Always load fallback language if different+ if (language !== DEFAULT_LANGUAGE) {+ try {+ const fallbackResponse = await fetch(`/locales/${DEFAULT_LANGUAGE}/translation.json?v=${Date.now()}`);+ if (fallbackResponse.ok) {+ const fallbackData = await fallbackResponse.json();+ translations[DEFAULT_LANGUAGE] = { translation: fallbackData };+ console.log(`Loaded fallback translations for ${DEFAULT_LANGUAGE}`);+ }+ } catch (error) {+ console.error(`Error loading fallback translations:`, error);+ }+ }++ return translations;+}++/**+ * Get current language from storage or user preferences+ */+function getCurrentLanguage() {+ // Check cookie first+ const cookieLang = getCookie('lang');+ if (cookieLang && SUPPORTED_LANGUAGES.includes(cookieLang)) {+ return cookieLang;+ }++ // Check localStorage+ const storedLang = localStorage.getItem('preferred_language');+ if (storedLang && SUPPORTED_LANGUAGES.includes(storedLang)) {+ return storedLang;+ }++ // Check user preferences from API if authenticated+ const userInfo = JSON.parse(localStorage.getItem('user_info') || '{}');+ if (userInfo.preferred_language && SUPPORTED_LANGUAGES.includes(userInfo.preferred_language)) {+ return userInfo.preferred_language;+ }++ // Fallback to browser language or default+ const browserLang = navigator.language?.split('-')[0];+ return SUPPORTED_LANGUAGES.includes(browserLang) ? browserLang : DEFAULT_LANGUAGE;+}++/**+ * Change language and persist preference+ */+async function changeLanguage(language) {+ if (!SUPPORTED_LANGUAGES.includes(language)) {+ console.warn('Unsupported language:', language);+ return;+ }++ try {+ // Load translations for the new language+ const translations = await loadTranslations(language);++ // Add new language resources to i18next+ for (const [lng, resources] of Object.entries(translations)) {+ i18next.addResourceBundle(lng, 'translation', resources.translation, true, true);+ }++ // Change language in i18next+ await i18next.changeLanguage(language);++ // Persist to cookie and localStorage+ setCookie('lang', language, 365);+ localStorage.setItem('preferred_language', language);++ // Update user preference in backend if authenticated+ if (localStorage.getItem('auth_token')) {+ try {+ await saveLanguagePreference(language);+ } catch (error) {+ console.warn('Failed to save language preference to backend:', error);+ }+ }++ // Dispatch event for other components+ window.dispatchEvent(new CustomEvent('languageChanged', { detail: { language } }));++ } catch (error) {+ console.error('Failed to change language:', error);+ }+}++/**+ * Save language preference to backend+ */+async function saveLanguagePreference(language) {+ const token = localStorage.getItem('auth_token');+ if (!token) return;++ const response = await fetch('/api/user/language-preference', {+ method: 'PUT',+ headers: {+ 'Authorization': `Bearer ${token}`,+ 'Content-Type': 'application/json'+ },+ body: JSON.stringify({ preferred_language: language })+ });++ if (!response.ok) {+ throw new Error('Failed to save language preference');+ }+}++/**+ * Translate all elements on the current page+ */+function translatePage() {+ if (!window.i18n.t) {+ console.warn('Translation function not available, skipping translation');+ return;+ }++ console.log('Starting page translation...');+ let translatedCount = 0;++ // Update dynamic titles that are set by JavaScript+ updateDynamicTitles();++ // Translate elements with data-i18n attribute+ document.querySelectorAll('[data-i18n]').forEach(element => {+ const key = element.getAttribute('data-i18n');+ const translation = window.i18n.t(key);++ if (translation && translation !== key) {+ if (element.tagName === 'INPUT' && (element.type === 'text' || element.type === 'email' || element.type === 'password')) {+ element.placeholder = translation;+ } else if (element.hasAttribute('title')) {+ element.title = translation;+ } else {+ element.textContent = translation;+ }+ translatedCount++;+ } else {+ console.warn(`No translation found for key: ${key}`);+ }+ });++ // Translate elements with data-i18n-html attribute (allows HTML content)+ document.querySelectorAll('[data-i18n-html]').forEach(element => {+ const key = element.getAttribute('data-i18n-html');+ const translation = window.i18n.t(key);+ element.innerHTML = translation;+ });++ // Translate elements with data-i18n-title attribute+ document.querySelectorAll('[data-i18n-title]').forEach(element => {+ const key = element.getAttribute('data-i18n-title');+ const translation = window.i18n.t(key);+ element.title = translation;+ });++ // Translate elements with data-i18n-placeholder attribute+ document.querySelectorAll('[data-i18n-placeholder]').forEach(element => {+ const key = element.getAttribute('data-i18n-placeholder');+ const translation = window.i18n.t(key);+ if (translation && translation !== key) {+ element.placeholder = translation;+ translatedCount++;+ }+ });++ console.log(`Page translation completed. Translated ${translatedCount} elements.`);++ // Re-process warranties to update status text and labels if warranties exist+ if (typeof warranties !== 'undefined' && warranties && warranties.length > 0) {+ console.log(`[i18n.js] Re-processing ${warranties.length} warranties after language change`);+ // Re-process each warranty to update status text with new language+ warranties = warranties.map(warranty => {+ if (typeof processWarrantyData === 'function') {+ return processWarrantyData(warranty);+ }+ return warranty;+ });+ // Re-render warranties with new translations+ if (typeof applyFilters === 'function') {+ applyFilters();+ }+ }+}++/**+ * Update dynamic titles that are set by JavaScript+ */+function updateDynamicTitles() {+ // Update warranties panel title on index.html+ if (typeof updateWarrantiesPanelTitle === 'function' && typeof isGlobalView !== 'undefined') {+ updateWarrantiesPanelTitle(isGlobalView);+ }++ // Update dashboard title on status.html+ if (typeof updateDashboardTitle === 'function') {+ updateDashboardTitle();+ }++ // Re-process warranty cards if they exist (for dynamic status text)+ if (typeof processAllWarranties === 'function') {+ processAllWarranties();+ }+}++/**+ * Update HTML lang attribute+ */+function updateLanguageAttribute(language) {+ document.documentElement.lang = language;+}++/**+ * Update page direction for RTL languages+ */+function updatePageDirection(language) {+ const isRTL = RTL_LANGUAGES.includes(language);+ const htmlElement = document.documentElement;+ const bodyElement = document.body;++ if (isRTL) {+ htmlElement.dir = 'rtl';+ htmlElement.setAttribute('data-rtl', 'true');+ bodyElement.classList.add('rtl');+ console.log(`Applied RTL direction for language: ${language}`);+ } else {+ htmlElement.dir = 'ltr';+ htmlElement.removeAttribute('data-rtl');+ bodyElement.classList.remove('rtl');+ console.log(`Applied LTR direction for language: ${language}`);+ }+}++/**+ * Utility function to get cookie value+ */+function getCookie(name) {+ const value = `; ${document.cookie}`;+ const parts = value.split(`; ${name}=`);+ if (parts.length === 2) return parts.pop().split(';').shift();+ return null;+}++/**+ * Utility function to set cookie+ */+function setCookie(name, value, days) {+ const expires = new Date();+ expires.setTime(expires.getTime() + (days * 24 * 60 * 60 * 1000));+ document.cookie = `${name}=${value};expires=${expires.toUTCString()};path=/`;+}++/**+ * Add translation helper for dynamic content+ */+function t(key, options = {}) {+ return window.i18n.t ? window.i18n.t(key, options) : key;+}++// Expose translation function globally+window.t = t;++// Initialize when DOM is ready+if (document.readyState === 'loading') {+ document.addEventListener('DOMContentLoaded', initializeI18n);+} else {+ initializeI18n();+}diff --git a/frontend/login.html b/frontend/login.htmlindex 8d9e9ce..f4d30d0 100644--- a/frontend/login.html+++ b/frontend/login.html@@ -1,26 +1,32 @@<!DOCTYPE html>-<html lang="en">+<html><head><!-- Authentication redirect script -->- <script src="auth-redirect.js" data-protected="false"></script>+ <script src="auth-redirect.js?v=20250118003" data-protected="false"></script><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>Login - Warracker</title>+ <title data-i18n="auth.login">Login - Warracker</title><!-- Favicons --><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"><link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png?v=2"><link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png?v=2"><link rel="apple-touch-icon" sizes="180x180" href="img/favicon-512x512.png"><link rel="manifest" href="manifest.json">- <link rel="stylesheet" href="style.css">- <script src="theme-loader.js"></script> <!-- Apply theme early -->+ <link rel="stylesheet" href="style.css?v=20250118003">+ <script src="theme-loader.js?v=20250118003"></script> <!-- Apply theme early --><!-- Font Awesome for icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><!-- Load header fix styles to ensure consistent header styling -->- <link rel="stylesheet" href="header-fix.css">+ <link rel="stylesheet" href="header-fix.css?v=20250118003">+ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>+ <!-- i18n initialization script -->+ <script src="js/i18n.js?v=20250118003"></script><!-- Load fix for auth buttons -->- <script src="fix-auth-buttons-loader.js"></script>+ <script src="fix-auth-buttons-loader.js?v=20250118003"></script><style>.auth-container {max-width: 400px;@@ -243,7 +249,7 @@</style><!-- Registration status check script -->- <script src="registration-status.js"></script>+ <script src="registration-status.js?v=20250118003"></script></head><body><!-- Header -->@@ -259,18 +265,18 @@<!-- Main Content --><div class="container"><div class="auth-container">- <h2 class="auth-title">Login to Your Account</h2>+ <h2 class="auth-title" data-i18n="auth.login">Login to Your Account</h2><div id="authMessage" class="auth-message"></div><form id="loginForm" class="auth-form"><div class="form-group">- <label for="username">Username or Email</label>- <input type="text" id="username" name="username" class="form-control" required>+ <label for="username" data-i18n="auth.username">Username or Email</label>+ <input type="text" id="username" name="username" class="form-control" data-i18n-placeholder="auth.username" placeholder="Username or Email" required></div><div class="form-group">- <label for="password">Password</label>+ <label for="password" data-i18n="auth.password">Password</label><div class="password-container"><input type="password" id="password" name="password" class="form-control" required><button type="button" class="password-toggle" title="Show/Hide Password">@@ -280,7 +286,7 @@</div><button type="submit" class="btn btn-primary btn-block">- <i class="fas fa-sign-in-alt"></i> Login+ <i class="fas fa-sign-in-alt"></i> <span data-i18n="auth.login">Login</span></button></form>@@ -294,20 +300,20 @@</a><div class="auth-links" style="margin-top: 30px;">- <a href="register.html">Create Account</a>- <a href="reset-password-request.html">Forgot Password?</a>+ <a href="register.html" data-i18n="auth.register">Create Account</a>+ <a href="reset-password-request.html" data-i18n="auth.forgot_password">Forgot Password?</a></div></div></div><!-- Script for authentication -->- <script src="auth.js"></script>+ <script src="auth.js?v=20250118003"></script><!-- Footer Width Fix -->- <script src="footer-fix.js"></script>+ <script src="footer-fix.js?v=20250118003"></script><!-- Footer Content Manager -->- <script src="footer-content.js"></script>+ <script src="footer-content.js?v=20250118003"></script><!-- Powered by Warracker Footer --><footer class="warracker-footer" id="warrackerFooter">diff --git a/frontend/register.html b/frontend/register.htmlindex 3af1800..6638fb0 100644--- a/frontend/register.html+++ b/frontend/register.html@@ -1,26 +1,32 @@<!DOCTYPE html>-<html lang="en">+<html><head><!-- Authentication redirect script -->- <script src="auth-redirect.js" data-protected="false"></script>+ <script src="auth-redirect.js?v=20250118003" data-protected="false"></script><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>Register - Warracker</title>+ <title data-i18n="auth.register">Register - Warracker</title><!-- Favicons --><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"><link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png?v=2"><link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png?v=2"><link rel="apple-touch-icon" sizes="180x180" href="img/favicon-512x512.png"><link rel="manifest" href="manifest.json">- <link rel="stylesheet" href="style.css">- <script src="theme-loader.js"></script> <!-- Apply theme early -->+ <link rel="stylesheet" href="style.css?v=20250118003">+ <script src="theme-loader.js?v=20250118003"></script> <!-- Apply theme early --><!-- Font Awesome for icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><!-- Load header fix styles to ensure consistent header styling -->- <link rel="stylesheet" href="header-fix.css">+ <link rel="stylesheet" href="header-fix.css?v=20250118003">+ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>+ <!-- i18n initialization script -->+ <script src="js/i18n.js?v=20250118003"></script><!-- Load fix for auth buttons -->- <script src="fix-auth-buttons-loader.js"></script>+ <script src="fix-auth-buttons-loader.js?v=20250118003"></script><style>.auth-container {max-width: 500px;@@ -228,7 +234,7 @@</style><!-- Registration status check script -->- <script src="registration-status.js?v=20250529001"></script>+ <script src="registration-status.js?v=20250118003"></script><script>// Additional handling for the register pagedocument.addEventListener('DOMContentLoaded', function() {@@ -244,10 +250,10 @@authMessage.className = 'auth-message error';authMessage.style.display = 'block';authMessage.innerHTML = `- <h3><i class="fas fa-exclamation-triangle"></i> Registration Disabled</h3>- <p>The administrator has temporarily disabled new account registration.</p>- <p>If you need an account, please contact the site administrator.</p>- <p><a href="login.html" class="btn btn-primary btn-sm mt-2">Go to Login</a></p>+ <h3 data-i18n="auth.registration_disabled_title"><i class="fas fa-exclamation-triangle"></i> Registration Disabled</h3>+ <p data-i18n="auth.registration_disabled_message">The administrator has temporarily disabled new account registration.</p>+ <p data-i18n="auth.registration_disabled_contact">If you need an account, please contact the site administrator.</p>+ <p><a href="login.html" class="btn btn-primary btn-sm mt-2" data-i18n="auth.back_to_login">Go to Login</a></p>`;}@@ -285,65 +291,65 @@<!-- Main Content --><div class="container"><div class="auth-container">- <h2 class="auth-title">Create Your Account</h2>+ <h2 class="auth-title" data-i18n="auth.create_account_title">Create Your Account</h2><div id="authMessage" class="auth-message"></div><form id="registerForm" class="auth-form"><div class="form-row"><div class="form-group">- <label for="firstName">First Name (Optional)</label>+ <label for="firstName" data-i18n="auth.first_name_optional">First Name (Optional)</label><input type="text" id="firstName" name="first_name" class="form-control"></div><div class="form-group">- <label for="lastName">Last Name (Optional)</label>+ <label for="lastName" data-i18n="auth.last_name_optional">Last Name (Optional)</label><input type="text" id="lastName" name="last_name" class="form-control"></div></div><div class="form-group">- <label for="username">Username</label>- <input type="text" id="username" name="username" class="form-control" required>- <small class="form-text text-muted">Username must be unique and will be used for login.</small>+ <label for="username" data-i18n="auth.username">Username</label>+ <input type="text" id="username" name="username" class="form-control" data-i18n-placeholder="auth.username" placeholder="Username" required>+ <small class="form-text text-muted" data-i18n="auth.username_hint">Username must be unique and will be used for login.</small></div><div class="form-group">- <label for="email">Email Address</label>- <input type="email" id="email" name="email" class="form-control" required>+ <label for="email" data-i18n="auth.email_address">Email Address</label>+ <input type="email" id="email" name="email" class="form-control" data-i18n-placeholder="auth.email_address" placeholder="Email Address" required></div><div class="form-group">- <label for="password">Password</label>+ <label for="password" data-i18n="auth.password">Password</label><div class="password-container"><input type="password" id="password" name="password" class="form-control" required>- <button type="button" class="password-toggle" title="Show/Hide Password">+ <button type="button" class="password-toggle" title="Show/Hide Password" data-i18n-title="auth.toggle_password"><i class="fas fa-eye"></i></button></div><div class="password-strength" id="passwordStrength"></div><div class="password-strength-text" id="passwordStrengthText"></div>- <small class="form-text text-muted">Password must be at least 8 characters and include uppercase, lowercase, and numbers.</small>+ <small class="form-text text-muted" data-i18n="auth.password_hint_simple">Password must be at least 8 characters and include uppercase, lowercase, and numbers.</small><!-- Password Requirements List --><div id="passwordRequirements" class="password-requirements" style="display: none;">- <h5>Password Requirements:</h5>+ <h5 data-i18n="auth.password_requirements">Password Requirements:</h5><ul>- <li id="req-length">At least 8 characters</li>- <li id="req-uppercase">At least 1 uppercase letter</li>- <li id="req-lowercase">At least 1 lowercase letter</li>- <li id="req-number">At least 1 number</li>- <li id="req-special">At least 1 special character</li>+ <li id="req-length" data-i18n="auth.req_length">At least 8 characters</li>+ <li id="req-uppercase" data-i18n="auth.req_uppercase">At least 1 uppercase letter</li>+ <li id="req-lowercase" data-i18n="auth.req_lowercase">At least 1 lowercase letter</li>+ <li id="req-number" data-i18n="auth.req_number">At least 1 number</li>+ <li id="req-special" data-i18n="auth.req_special">At least 1 special character</li></ul></div><div id="passwordFeedback" class="password-feedback"></div></div><div class="form-group">- <label for="confirmPassword">Confirm Password</label>+ <label for="confirmPassword" data-i18n="auth.confirm_password">Confirm Password</label><div class="password-container"><input type="password" id="confirmPassword" name="confirmPassword" class="form-control" required>- <button type="button" class="password-toggle" title="Show/Hide Password">+ <button type="button" class="password-toggle" title="Show/Hide Password" data-i18n-title="auth.toggle_password"><i class="fas fa-eye"></i></button></div>@@ -351,19 +357,19 @@</div><button type="submit" class="btn btn-primary btn-block">- <i class="fas fa-user-plus"></i> Create Account+ <i class="fas fa-user-plus"></i> <span data-i18n="auth.create_account">Create Account</span></button></form><div class="auth-links">- <span>Already have an account?</span>- <a href="login.html">Login</a>+ <span data-i18n="auth.already_have_account">Already have an account?</span>+ <a href="login.html" data-i18n="auth.login">Login</a></div></div></div><!-- Script for authentication -->- <script src="auth.js"></script>+ <script src="auth.js?v=20250118003"></script><script>document.addEventListener('DOMContentLoaded', function() {const registerForm = document.getElementById('registerForm');@@ -605,10 +611,10 @@</script><!-- Footer Width Fix -->- <script src="footer-fix.js"></script>+ <script src="footer-fix.js?v=20250118003"></script><!-- Footer Content Manager -->- <script src="footer-content.js"></script>+ <script src="footer-content.js?v=20250118003"></script><!-- Powered by Warracker Footer --><footer class="warracker-footer" id="warrackerFooter">diff --git a/frontend/reset-password-request.html b/frontend/reset-password-request.htmlindex 7a0742a..cf31971 100644--- a/frontend/reset-password-request.html+++ b/frontend/reset-password-request.html@@ -1,23 +1,29 @@<!DOCTYPE html>-<html lang="en">+<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>Warracker - Reset Password</title>+ <title data-i18n="auth.reset_password_title">Warracker - Reset Password</title><!-- Favicons --><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"><link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png?v=2"><link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png?v=2"><link rel="apple-touch-icon" sizes="180x180" href="img/favicon-512x512.png"><link rel="manifest" href="manifest.json">- <link rel="stylesheet" href="style.css">- <script src="theme-loader.js"></script> <!-- Apply theme early -->+ <link rel="stylesheet" href="style.css?v=20250118003">+ <script src="theme-loader.js?v=20250118003"></script> <!-- Apply theme early --><!-- Font Awesome for icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><!-- Load header fix styles to ensure consistent header styling -->- <link rel="stylesheet" href="header-fix.css">+ <link rel="stylesheet" href="header-fix.css?v=20250118003">+ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>+ <!-- i18n initialization script -->+ <script src="js/i18n.js?v=20250118003"></script><!-- Load fix for auth buttons -->- <script src="fix-auth-buttons-loader.js"></script>+ <script src="fix-auth-buttons-loader.js?v=20250118003"></script><style>.auth-container {max-width: 400px;@@ -88,7 +94,7 @@</style><!-- Registration status check script -->- <script src="registration-status.js"></script>+ <script src="registration-status.js?v=20250118003"></script></head><body><!-- Header -->@@ -104,9 +110,9 @@<!-- Main Content --><div class="container"><div class="auth-container">- <h2 class="auth-title">Reset Your Password</h2>+ <h2 class="auth-title" data-i18n="auth.reset_your_password">Reset Your Password</h2>- <p class="auth-info">+ <p class="auth-info" data-i18n="auth.reset_password_info">Enter your email address below and we'll send you a link to reset your password.</p>@@ -114,17 +120,17 @@<form id="resetRequestForm" class="auth-form"><div class="form-group">- <label for="email">Email Address</label>- <input type="email" id="email" name="email" class="form-control" required>+ <label for="email" data-i18n="auth.email_address">Email Address</label>+ <input type="email" id="email" name="email" class="form-control" data-i18n-placeholder="auth.email_address" placeholder="Email Address" required></div><button type="submit" class="btn btn-primary btn-block">- <i class="fas fa-paper-plane"></i> Send Reset Link+ <i class="fas fa-paper-plane"></i> <span data-i18n="auth.send_reset_link">Send Reset Link</span></button></form><div class="auth-links">- <a href="login.html">Back to Login</a>+ <a href="login.html" data-i18n="auth.back_to_login">Back to Login</a></div></div></div>@@ -245,13 +251,13 @@document.addEventListener('DOMContentLoaded', initializeTheme);</script>- <script src="auth.js"></script>+ <script src="auth.js?v=20250118003"></script><!-- Footer Width Fix -->- <script src="footer-fix.js"></script>+ <script src="footer-fix.js?v=20250118003"></script><!-- Footer Content Manager -->- <script src="footer-content.js"></script>+ <script src="footer-content.js?v=20250118003"></script><!-- Powered by Warracker Footer --><footer class="warracker-footer" id="warrackerFooter">diff --git a/frontend/reset-password.html b/frontend/reset-password.htmlindex a2f3826..3454766 100644--- a/frontend/reset-password.html+++ b/frontend/reset-password.html@@ -1,23 +1,29 @@<!DOCTYPE html>-<html lang="en">+<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>Warracker - Set New Password</title>+ <title data-i18n="auth.set_new_password_title">Warracker - Set New Password</title><!-- Favicons --><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"><link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png?v=2"><link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png?v=2"><link rel="apple-touch-icon" sizes="180x180" href="img/favicon-512x512.png"><link rel="manifest" href="manifest.json">- <link rel="stylesheet" href="style.css">- <script src="theme-loader.js"></script> <!-- Apply theme early -->+ <link rel="stylesheet" href="style.css?v=20250118003">+ <script src="theme-loader.js?v=20250118003"></script> <!-- Apply theme early --><!-- Font Awesome for icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><!-- Load header fix styles to ensure consistent header styling -->- <link rel="stylesheet" href="header-fix.css">+ <link rel="stylesheet" href="header-fix.css?v=20250118003">+ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>+ <!-- i18n initialization script -->+ <script src="js/i18n.js?v=20250118003"></script><!-- Load fix for auth buttons -->- <script src="fix-auth-buttons-loader.js"></script>+ <script src="fix-auth-buttons-loader.js?v=20250118003"></script><style>.auth-container {max-width: 400px;@@ -145,7 +151,7 @@</style><!-- Registration status check script -->- <script src="registration-status.js"></script>+ <script src="registration-status.js?v=20250118003"></script></head><body><!-- Header -->@@ -162,29 +168,29 @@<div class="container"><div class="auth-container"><div id="resetForm">- <h2 class="auth-title">Set New Password</h2>+ <h2 class="auth-title" data-i18n="auth.set_new_password">Set New Password</h2><div id="authMessage" class="auth-message"></div><form id="passwordResetForm" class="auth-form"><div class="form-group">- <label for="password">New Password</label>+ <label for="password" data-i18n="auth.new_password">New Password</label><div class="password-container"><input type="password" id="password" name="password" class="form-control" required>- <button type="button" class="password-toggle" title="Show/Hide Password">+ <button type="button" class="password-toggle" title="Show/Hide Password" data-i18n-title="auth.toggle_password"><i class="fas fa-eye"></i></button></div><div class="password-strength" id="passwordStrength"></div><div class="password-strength-text" id="passwordStrengthText"></div>- <small class="form-text text-muted">Password must be at least 8 characters and include uppercase, lowercase, and numbers.</small>+ <small class="form-text text-muted" data-i18n="auth.password_hint_simple">Password must be at least 8 characters and include uppercase, lowercase, and numbers.</small></div><div class="form-group">- <label for="confirmPassword">Confirm New Password</label>+ <label for="confirmPassword" data-i18n="auth.confirm_new_password">Confirm New Password</label><div class="password-container"><input type="password" id="confirmPassword" name="confirmPassword" class="form-control" required>- <button type="button" class="password-toggle" title="Show/Hide Password">+ <button type="button" class="password-toggle" title="Show/Hide Password" data-i18n-title="auth.toggle_password"><i class="fas fa-eye"></i></button></div>@@ -193,20 +199,20 @@<input type="hidden" id="token" name="token"><button type="submit" class="btn btn-primary btn-block">- <i class="fas fa-lock"></i> Reset Password+ <i class="fas fa-lock"></i> <span data-i18n="auth.reset_password">Reset Password</span></button></form><div class="auth-links">- <a href="login.html">Back to Login</a>+ <a href="login.html" data-i18n="auth.back_to_login">Back to Login</a></div></div><div id="tokenInvalid" class="token-invalid"><i class="fas fa-exclamation-circle"></i>- <h3>Invalid or Expired Link</h3>- <p>The password reset link you clicked is invalid or has expired.</p>- <a href="reset-password-request.html" class="btn btn-primary">Request New Reset Link</a>+ <h3 data-i18n="auth.invalid_or_expired_link">Invalid or Expired Link</h3>+ <p data-i18n="auth.invalid_link_info">The password reset link you clicked is invalid or has expired.</p>+ <a href="reset-password-request.html" class="btn btn-primary" data-i18n="auth.request_new_reset_link">Request New Reset Link</a></div></div></div>@@ -412,13 +418,13 @@</script><!-- Scripts -->- <script src="auth.js"></script>+ <script src="auth.js?v=20250118003"></script><!-- Footer Width Fix -->- <script src="footer-fix.js"></script>+ <script src="footer-fix.js?v=20250118003"></script><!-- Footer Content Manager -->- <script src="footer-content.js"></script>+ <script src="footer-content.js?v=20250118003"></script><!-- Powered by Warracker Footer --><footer class="warracker-footer" id="warrackerFooter">diff --git a/frontend/script.js b/frontend/script.jsindex 30601c5..0c8b3b6 100644--- a/frontend/script.js+++ b/frontend/script.js@@ -171,17 +171,13 @@ async function initViewControls() {isGlobalView = true;personalViewBtn.classList.remove('active');globalViewBtn.classList.add('active');- if (warrantiesPanelTitle) {- warrantiesPanelTitle.textContent = 'All Users\' Warranties';- }+ updateWarrantiesPanelTitle(true);} else {// Apply personal view (default)isGlobalView = false;personalViewBtn.classList.add('active');globalViewBtn.classList.remove('active');- if (warrantiesPanelTitle) {- warrantiesPanelTitle.textContent = 'Your Warranties';- }+ updateWarrantiesPanelTitle(false);}} else if (adminViewSwitcher) {// Global view is disabled, hide view switcher@@ -190,9 +186,7 @@ async function initViewControls() {// If currently in global view, switch back to personal viewif (isGlobalView) {isGlobalView = false;- if (warrantiesPanelTitle) {- warrantiesPanelTitle.textContent = 'Your Warranties';- }+ updateWarrantiesPanelTitle(false);// Reload warrantiesawait loadWarranties(true);applyFilters();@@ -244,9 +238,7 @@ async function switchToPersonalView() {saveViewScopePreference('personal');// Update title- if (warrantiesPanelTitle) {- warrantiesPanelTitle.textContent = 'Your Warranties';- }+ updateWarrantiesPanelTitle(false);// Reload warrantiestry {@@ -257,7 +249,7 @@ async function switchToPersonalView() {}} catch (error) {console.error('Error switching to personal view:', error);- showToast('Error loading personal warranties', 'error');+ showToast(window.t('messages.error_loading_personal_warranties'), 'error');}}@@ -280,7 +272,7 @@ async function switchToGlobalView() {if (response.ok) {const result = await response.json();if (!result.enabled) {- showToast('Global view has been disabled by administrator', 'error');+ showToast(window.t('messages.global_view_disabled'), 'error');return;}}@@ -296,9 +288,7 @@ async function switchToGlobalView() {saveViewScopePreference('global');// Update title- if (warrantiesPanelTitle) {- warrantiesPanelTitle.textContent = 'All Users\' Warranties';- }+ updateWarrantiesPanelTitle(true);// Reload warrantiestry {@@ -309,7 +299,23 @@ async function switchToGlobalView() {}} catch (error) {console.error('Error switching to global view:', error);- showToast('Error loading global warranties', 'error');+ showToast(window.t('messages.error_loading_global_warranties'), 'error');+ }+}++/**+ * Update warranties panel title with proper translation+ * @param {boolean} isGlobal - Whether to show global or personal title+ */+function updateWarrantiesPanelTitle(isGlobal = false) {+ if (warrantiesPanelTitle) {+ if (window.i18next && window.i18next.t) {+ warrantiesPanelTitle.textContent = isGlobal ?+ window.i18next.t('warranties.title_global') :+ window.i18next.t('warranties.title');+ } else {+ warrantiesPanelTitle.textContent = isGlobal ? 'All Users\' Warranties' : 'Your Warranties';+ }}}@@ -436,7 +442,7 @@ document.addEventListener('DOMContentLoaded', function() {const name = tagNameInput ? tagNameInput.value.trim() : '';const color = tagColorInput ? tagColorInput.value : '#808080';if (!name) {- showToast('Tag name is required', 'error');+ showToast(window.t('messages.tag_name_required'), 'error');return;}// Use the existing createTag function if available@@ -448,10 +454,10 @@ document.addEventListener('DOMContentLoaded', function() {renderExistingTags && renderExistingTags();}).catch((err) => {- showToast((err && err.message) || 'Failed to create tag', 'error');+ showToast((err && err.message) || window.t('messages.failed_to_create_tag'), 'error');});} else {- showToast('Tag creation function not found', 'error');+ showToast(window.t('messages.tag_creation_function_not_found'), 'error');}});}@@ -662,7 +668,7 @@ let formTabs = []; // Changed from const to let, initialized as empty// Get auth tokenconst token = localStorage.getItem('auth_token');if (!token) {- showToast('Authentication required', 'error');+ showToast(window.t('messages.authentication_required'), 'error');return;}showLoadingSpinner();@@ -730,7 +736,7 @@ let formTabs = []; // Changed from const to let, initialized as emptythrow new Error(data.error || 'Failed to update notes');}hideLoadingSpinner();- showToast('Notes updated successfully', 'success');+ showToast(window.t('messages.notes_updated_successfully'), 'success');// Close the modalconst notesModal = document.getElementById('notesModal');if (notesModal) notesModal.style.display = 'none';@@ -740,7 +746,7 @@ let formTabs = []; // Changed from const to let, initialized as empty} catch (error) {hideLoadingSpinner();console.error('Error updating notes:', error);- showToast(error.message || 'Failed to update notes', 'error');+ showToast(error.message || window.t('messages.failed_to_update_notes'), 'error');}};}@@ -932,23 +938,25 @@ function updateCompletedTabs() {// Validate a specific tabfunction validateTab(tabIndex) {const tabContent = tabContents[tabIndex];- // Get all relevant form controls within the tabconst controls = tabContent.querySelectorAll('input, textarea, select');let isTabValid = true;controls.forEach(control => {- // Check the native HTML5 validity state- if (!control.validity.valid) {+ // Clear previous validation state+ control.classList.remove('invalid');+ let validationMessageElement = control.nextElementSibling;+ if (validationMessageElement && validationMessageElement.classList.contains('validation-message')) {+ validationMessageElement.remove();+ }++ // Manual validation for required fields+ if (control.hasAttribute('required') && control.value.trim() === '') {+ isTabValid = false;+ control.classList.add('invalid');+ // Mark as invalid, message will be added by showValidationErrors+ } else if (!control.validity.valid) { // For other HTML5 validation issues (e.g., type mismatch)isTabValid = false;control.classList.add('invalid');- // Ensure a validation message placeholder exists or is updated by showValidationErrors- } else {- control.classList.remove('invalid');- // Remove validation message if control is now valid and message exists- let validationMessageElement = control.nextElementSibling;- if (validationMessageElement && validationMessageElement.classList.contains('validation-message')) {- validationMessageElement.remove();- }}});return isTabValid;@@ -959,6 +967,7 @@ function showValidationErrors(tabIndex) {const tabContent = tabContents[tabIndex];const controls = tabContent.querySelectorAll('input, textarea, select');let firstInvalidControl = null;+ let validationToast = document.querySelector('.validation-toast'); // Check for existing validation toastcontrols.forEach(control => {if (!control.validity.valid) {@@ -972,7 +981,11 @@ function showValidationErrors(tabIndex) {validationMessageElement.className = 'validation-message';control.parentNode.insertBefore(validationMessageElement, control.nextSibling);}- validationMessageElement.textContent = control.validationMessage || 'This field is invalid.';+ if (control.hasAttribute('required') && control.value.trim() === '') {+ validationMessageElement.textContent = window.i18next ? window.i18next.t('messages.please_fill_out_this_field') : 'Please fill out this field.';+ } else {+ validationMessageElement.textContent = control.validationMessage || (window.i18next ? window.i18next.t('messages.field_is_invalid') : 'This field is invalid.');+ }} else {// Ensure invalid class is removed if somehow missed by validateTab (shouldn't happen)control.classList.remove('invalid');@@ -986,7 +999,15 @@ function showValidationErrors(tabIndex) {// The browser will attempt to focus the first invalid field when form submission is prevented.// Switching to the tab containing the error (done by handleFormSubmit) is key.- showToast('Please correct the errors in the current tab.', 'error');++ // Manage a single validation toast+ if (!validationToast) {+ validationToast = showToast(window.t('messages.correct_errors_in_tab'), 'error', 0); // 0 duration = persistent+ validationToast.classList.add('validation-toast'); // Add a class to identify it+ } else {+ // Update existing toast message if needed (optional)+ validationToast.querySelector('span').textContent = window.t('messages.correct_errors_in_tab');+ }}// Update summary tab with current form values@@ -1054,18 +1075,27 @@ function updateSummary() {const summaryWarrantyDuration = document.getElementById('summary-warranty-duration'); // Use new IDif (summaryWarrantyDuration) {- if (isLifetime) {- summaryWarrantyDuration.textContent = 'Lifetime';+ if (isLifetime) {+ summaryWarrantyDuration.textContent = window.i18next ? window.i18next.t('warranties.lifetime') : 'Lifetime';} else {const years = parseInt(warrantyDurationYearsInput?.value || 0);const months = parseInt(warrantyDurationMonthsInput?.value || 0);const days = parseInt(warrantyDurationDaysInput?.value || 0);-+let durationParts = [];- if (years > 0) durationParts.push(`${years} year${years !== 1 ? 's' : ''}`);- if (months > 0) durationParts.push(`${months} month${months !== 1 ? 's' : ''}`);- if (days > 0) durationParts.push(`${days} day${days !== 1 ? 's' : ''}`);-+ if (years > 0) {+ const yearText = window.i18next ? window.i18next.t('warranties.year', {count: years}) : `year${years !== 1 ? 's' : ''}`;+ durationParts.push(`${years} ${yearText}`);+ }+ if (months > 0) {+ const monthText = window.i18next ? window.i18next.t('warranties.month', {count: months}) : `month${months !== 1 ? 's' : ''}`;+ durationParts.push(`${months} ${monthText}`);+ }+ if (days > 0) {+ const dayText = window.i18next ? window.i18next.t('warranties.day', {count: days}) : `day${days !== 1 ? 's' : ''}`;+ durationParts.push(`${days} ${dayText}`);+ }+summaryWarrantyDuration.textContent = durationParts.length > 0 ? durationParts.join(', ') : '-';}}@@ -1322,7 +1352,7 @@ async function exportWarranties() {document.body.removeChild(link);// Show success notification- showToast(`Exported ${warrantiesToExport.length} warranties successfully`, 'success');+ showToast(window.t('messages.exported_warranties_successfully', {count: warrantiesToExport.length}), 'success');}// Switch view of warranties list@@ -1477,7 +1507,11 @@ function addSerialNumberInput(container = serialNumbersContainer) {input.type = 'text';input.className = 'form-control';input.name = 'serial_numbers[]';- input.placeholder = 'Enter serial number';+ input.placeholder = window.i18next ? window.i18next.t('warranties.enter_serial_number') : 'Enter serial number';+ console.log('i18next available for serial number placeholder:', !!window.i18next);+ if (window.i18next) {+ console.log('Translation for warranties.enter_serial_number:', window.i18next.t('warranties.enter_serial_number'));+ }// Check if this is the first serial number inputconst isFirstInput = container.querySelectorAll('.serial-number-input').length === 0;@@ -1513,7 +1547,11 @@ function addSerialNumberInput(container = serialNumbersContainer) {const addButton = document.createElement('button');addButton.type = 'button';addButton.className = 'btn btn-sm btn-secondary add-serial';- addButton.innerHTML = '<i class="fas fa-plus"></i> Add Serial Number';+ addButton.innerHTML = '<i class="fas fa-plus"></i> ' + (window.i18next ? window.i18next.t('warranties.add_serial_number') : 'Add Serial Number');+ console.log('i18next available in addSerialNumberInput:', !!window.i18next);+ if (window.i18next) {+ console.log('Translation for warranties.add_serial_number:', window.i18next.t('warranties.add_serial_number'));+ }addButton.addEventListener('click', function() {addSerialNumberInput(container);@@ -1544,27 +1582,60 @@ function hideLoading() {}}-function showToast(message, type = 'info') {+function showToast(message, type = 'info', duration = 5000) {+ // Check if a toast with the same message and type already exists+ const existingToasts = document.querySelectorAll(`.toast.toast-${type}`);+ for (let i = 0; i < existingToasts.length; i++) {+ const span = existingToasts[i].querySelector('span');+ if (span && span.textContent === message) {+ return existingToasts[i]; // Don't create a new one+ }+ }+const toast = document.createElement('div');toast.className = `toast toast-${type}`;- toast.innerHTML = `- ${message}- <button class="toast-close">×</button>- `;- // Add close event- toast.querySelector('.toast-close').addEventListener('click', () => {- toast.remove();- });+ const icon = document.createElement('i');+ switch (type) {+ case 'success':+ icon.className = 'fas fa-check-circle';+ break;+ case 'error':+ icon.className = 'fas fa-exclamation-circle';+ break;+ case 'warning':+ icon.className = 'fas fa-exclamation-triangle';+ break;+ default:+ icon.className = 'fas fa-info-circle';+ }++ const messageSpan = document.createElement('span');+ messageSpan.textContent = message;++ toast.appendChild(icon);+ toast.appendChild(messageSpan);toastContainer.appendChild(toast);- // Auto remove after 3 seconds- setTimeout(() => {- if (toast.parentElement) {+ // Add a method to remove the toast+ toast.remove = function() {+ toast.classList.add('toast-fade-out');+ setTimeout(() => {+ if (toast.parentNode) {+ toast.parentNode.removeChild(toast);+ }+ }, 300);+ };++ // Auto-hide toast after specified duration (if not 0)+ if (duration > 0) {+ setTimeout(() => {toast.remove();- }- }, 3000);+ }, duration);+ }++ return toast;}// Update file name display when a file is selected@@ -1659,7 +1730,7 @@ function processWarrantyData(warranty) {// --- Lifetime Handling ---if (processedWarranty.is_lifetime) {processedWarranty.status = 'active';- processedWarranty.statusText = 'Lifetime';+ processedWarranty.statusText = window.i18next ? window.i18next.t('warranties.lifetime') : 'Lifetime';processedWarranty.daysRemaining = Infinity;// Ensure duration components are 0 for lifetimeprocessedWarranty.warranty_duration_years = 0;@@ -1676,13 +1747,23 @@ function processWarrantyData(warranty) {if (daysRemaining < 0) {processedWarranty.status = 'expired';- processedWarranty.statusText = 'Expired';+ processedWarranty.statusText = window.i18next ? window.i18next.t('warranties.expired') : 'Expired';} else if (daysRemaining < expiringSoonDays) {processedWarranty.status = 'expiring';- processedWarranty.statusText = `Expiring Soon (${daysRemaining} day${daysRemaining !== 1 ? 's' : ''})`;+ const dayText = window.i18next ?+ window.i18next.t('warranties.day', {count: daysRemaining}) :+ `day${daysRemaining !== 1 ? 's' : ''}`;+ processedWarranty.statusText = window.i18next ?+ window.i18next.t('warranties.expiring_soon_days', {days: daysRemaining, dayText: dayText}) :+ `Expiring Soon (${daysRemaining} day${daysRemaining !== 1 ? 's' : ''})`;} else {processedWarranty.status = 'active';- processedWarranty.statusText = `${daysRemaining} day${daysRemaining !== 1 ? 's' : ''} remaining`;+ const dayText = window.i18next ?+ window.i18next.t('warranties.day', {count: daysRemaining}) :+ `day${daysRemaining !== 1 ? 's' : ''}`;+ processedWarranty.statusText = window.i18next ?+ window.i18next.t('warranties.days_remaining', {days: daysRemaining, dayText: dayText}) :+ `${daysRemaining} day${daysRemaining !== 1 ? 's' : ''} remaining`;}// Preserve original duration values to detect input method@@ -1723,7 +1804,7 @@ function processWarrantyData(warranty) {}} else {processedWarranty.status = 'unknown';- processedWarranty.statusText = 'Unknown Status';+ processedWarranty.statusText = window.i18next ? window.i18next.t('warranties.unknown_status') : 'Unknown Status';processedWarranty.daysRemaining = null;}@@ -1831,7 +1912,7 @@ async function loadWarranties(isAuthenticated) { // Added isAuthenticated parame// Check if auth is available and user is authenticated using the passed parameterif (!isAuthenticated) {console.log('[DEBUG] loadWarranties: Early return - User not authenticated based on passed parameter.');- renderEmptyState('Please log in to view your warranties.');+ renderEmptyState(window.t('messages.login_to_view_warranties'));hideLoading();return;}@@ -1839,7 +1920,7 @@ async function loadWarranties(isAuthenticated) { // Added isAuthenticated parameconst token = window.auth.getToken();if (!token) {console.log('[DEBUG] Early return: No auth token available');- renderEmptyState('Authentication error. Please log in again.');+ renderEmptyState(window.t('messages.authentication_error_login_again'));hideLoading();return;}@@ -1884,7 +1965,7 @@ async function loadWarranties(isAuthenticated) { // Added isAuthenticated parameif (warranties.length === 0) {console.log('No warranties found, showing empty state');- renderEmptyState('No warranties found. Add your first warranty using the form.');+ renderEmptyState(window.t('messages.no_warranties_found_add_first'));} else {console.log('Applying filters to display warranties');@@ -1898,7 +1979,7 @@ async function loadWarranties(isAuthenticated) { // Added isAuthenticated parame} catch (error) {console.error('[DEBUG] Error loading warranties:', error);warrantiesLoaded = false; // Reset flag on error- renderEmptyState('Error loading warranties. Please try again later.');+ renderEmptyState(window.t('messages.error_loading_warranties_try_again'));} finally {hideLoading();}@@ -2002,13 +2083,16 @@ function calculateProductAge(purchaseDate) {// Format the resultconst parts = [];if (years > 0) {- parts.push(`${years} year${years !== 1 ? 's' : ''}`);+ const yearText = window.i18next ? window.i18next.t('warranties.year', {count: years}) : `year${years !== 1 ? 's' : ''}`;+ parts.push(`${years} ${yearText}`);}if (months > 0) {- parts.push(`${months} month${months !== 1 ? 's' : ''}`);+ const monthText = window.i18next ? window.i18next.t('warranties.month', {count: months}) : `month${months !== 1 ? 's' : ''}`;+ parts.push(`${months} ${monthText}`);}if (days > 0 && years === 0) { // Only show days if less than a year old- parts.push(`${days} day${days !== 1 ? 's' : ''}`);+ const dayText = window.i18next ? window.i18next.t('warranties.day', {count: days}) : `day${days !== 1 ? 's' : ''}`;+ parts.push(`${days} ${dayText}`);}if (parts.length === 0) {@@ -2115,9 +2199,9 @@ async function renderWarranties(warrantiesToRender) {const statusClass = warranty.status || 'unknown';const statusText = warranty.statusText || 'Unknown Status';// Format warranty duration text- let warrantyDurationText = 'N/A';+ let warrantyDurationText = window.i18next ? window.i18next.t('warranties.na') : 'N/A';if (isLifetime) {- warrantyDurationText = 'Lifetime';+ warrantyDurationText = window.i18next ? window.i18next.t('warranties.lifetime') : 'Lifetime';} else {// Use display_duration values if available, otherwise fall back to warranty_duration valuesconst years = warranty.display_duration_years !== undefined ? warranty.display_duration_years : (warranty.warranty_duration_years || 0);@@ -2129,9 +2213,18 @@ async function renderWarranties(warrantiesToRender) {const calculatedDuration = calculateDurationFromDates(warranty.purchase_date, warranty.expiration_date);if (calculatedDuration) {let parts = [];- if (calculatedDuration.years > 0) parts.push(`${calculatedDuration.years} year${calculatedDuration.years !== 1 ? 's' : ''}`);- if (calculatedDuration.months > 0) parts.push(`${calculatedDuration.months} month${calculatedDuration.months !== 1 ? 's' : ''}`);- if (calculatedDuration.days > 0) parts.push(`${calculatedDuration.days} day${calculatedDuration.days !== 1 ? 's' : ''}`);+ if (calculatedDuration.years > 0) {+ const yearText = window.i18next ? window.i18next.t('warranties.year', {count: calculatedDuration.years}) : `year${calculatedDuration.years !== 1 ? 's' : ''}`;+ parts.push(`${calculatedDuration.years} ${yearText}`);+ }+ if (calculatedDuration.months > 0) {+ const monthText = window.i18next ? window.i18next.t('warranties.month', {count: calculatedDuration.months}) : `month${calculatedDuration.months !== 1 ? 's' : ''}`;+ parts.push(`${calculatedDuration.months} ${monthText}`);+ }+ if (calculatedDuration.days > 0) {+ const dayText = window.i18next ? window.i18next.t('warranties.day', {count: calculatedDuration.days}) : `day${calculatedDuration.days !== 1 ? 's' : ''}`;+ parts.push(`${calculatedDuration.days} ${dayText}`);+ }if (parts.length > 0) {warrantyDurationText = parts.join(', ');}@@ -2139,15 +2232,24 @@ async function renderWarranties(warrantiesToRender) {} else {// Use the stored/calculated duration fieldslet parts = [];- if (years > 0) parts.push(`${years} year${years !== 1 ? 's' : ''}`);- if (months > 0) parts.push(`${months} month${months !== 1 ? 's' : ''}`);- if (days > 0) parts.push(`${days} day${days !== 1 ? 's' : ''}`);+ if (years > 0) {+ const yearText = window.i18next ? window.i18next.t('warranties.year', {count: years}) : `year${years !== 1 ? 's' : ''}`;+ parts.push(`${years} ${yearText}`);+ }+ if (months > 0) {+ const monthText = window.i18next ? window.i18next.t('warranties.month', {count: months}) : `month${months !== 1 ? 's' : ''}`;+ parts.push(`${months} ${monthText}`);+ }+ if (days > 0) {+ const dayText = window.i18next ? window.i18next.t('warranties.day', {count: days}) : `day${days !== 1 ? 's' : ''}`;+ parts.push(`${days} ${dayText}`);+ }if (parts.length > 0) {warrantyDurationText = parts.join(', ');}}}- const expirationDateText = isLifetime ? 'Lifetime' : formatDate(expirationDate);+ const expirationDateText = isLifetime ? (window.i18next ? window.i18next.t('warranties.lifetime') : 'Lifetime') : formatDate(expirationDate);// Calculate product ageconst productAge = calculateProductAge(warranty.purchase_date);@@ -2159,7 +2261,8 @@ async function renderWarranties(warrantiesToRender) {// Prepare user info HTML for global viewlet userInfoHtml = '';if (isGlobalView && warranty.user_display_name) {- userInfoHtml = `<div><strong>Owner:</strong> <span>${warranty.user_display_name}</span></div>`;+ const ownerLabel = window.i18next ? window.i18next.t('warranties.owner') : 'Owner';+ userInfoHtml = `<div><strong>${ownerLabel}:</strong> <span>${warranty.user_display_name}</span></div>`;}// Prepare tags HTML@@ -2178,7 +2281,8 @@ async function renderWarranties(warrantiesToRender) {// Remove the button, and instead prepare a notes link for document-links-rowlet notesLinkHtml = '';if (hasNotes) {- notesLinkHtml = `<a href="#" class="notes-link" data-id="${warranty.id}" title="View Notes"><i class='fas fa-sticky-note'></i> Notes</a>`;+ const notesLabel = window.i18next ? window.i18next.t('warranties.notes') : 'Notes';+ notesLinkHtml = `<a href="#" class="notes-link" data-id="${warranty.id}" title="View Notes"><i class='fas fa-sticky-note'></i> ${notesLabel}</a>`;}// Get current user ID to check warranty ownership@@ -2236,12 +2340,12 @@ async function renderWarranties(warrantiesToRender) {${photoThumbnailHtml}<div class="warranty-info">${userInfoHtml}- <div><i class="fas fa-calendar"></i> Age: <span>${productAge}</span></div>- <div><i class="fas fa-file-alt"></i> Warranty: <span>${warrantyDurationText}</span></div>- <div><i class="fas fa-wrench"></i> Warranty Ends: <span>${expirationDateText}</span></div>- ${warranty.purchase_price ? `<div><i class="fas fa-coins"></i> Price: <span>${formatCurrencyHTML(warranty.purchase_price, warranty.currency ? getCurrencySymbolByCode(warranty.currency) : getCurrencySymbol(), getCurrencyPosition())}</span></div>` : ''}+ <div><i class="fas fa-calendar"></i> ${window.i18next ? window.i18next.t('warranties.age') : 'Age'}: <span>${productAge}</span></div>+ <div><i class="fas fa-file-alt"></i> ${window.i18next ? window.i18next.t('warranties.warranty') : 'Warranty'}: <span>${warrantyDurationText}</span></div>+ <div><i class="fas fa-wrench"></i> ${window.i18next ? window.i18next.t('warranties.warranty_ends') : 'Warranty Ends'}: <span>${expirationDateText}</span></div>+ ${warranty.purchase_price ? `<div><i class="fas fa-coins"></i> ${window.i18next ? window.i18next.t('warranties.price') : 'Price'}: <span>${formatCurrencyHTML(warranty.purchase_price, warranty.currency ? getCurrencySymbolByCode(warranty.currency) : getCurrencySymbol(), getCurrencyPosition())}</span></div>` : ''}${validSerialNumbers.length > 0 ? `- <div><i class="fas fa-barcode"></i> Serial Number: <span>${validSerialNumbers[0]}</span></div>+ <div><i class="fas fa-barcode"></i> ${window.i18next ? window.i18next.t('warranties.serial_number') : 'Serial Number'}: <span>${validSerialNumbers[0]}</span></div>${validSerialNumbers.length > 1 ? `<div style="margin-left: 28px;"><ul style="margin-top: 5px;">@@ -2250,8 +2354,8 @@ async function renderWarranties(warrantiesToRender) {</div>` : ''}` : ''}- ${warranty.vendor ? `<div><i class="fas fa-store"></i> Vendor: <span>${warranty.vendor}</span></div>` : ''}- ${warranty.warranty_type ? `<div><i class="fas fa-shield-alt"></i> Type: <span>${warranty.warranty_type}</span></div>` : ''}+ ${warranty.vendor ? `<div><i class="fas fa-store"></i> ${window.i18next ? window.i18next.t('warranties.vendor') : 'Vendor'}: <span>${warranty.vendor}</span></div>` : ''}+ ${warranty.warranty_type ? `<div><i class="fas fa-shield-alt"></i> ${window.i18next ? window.i18next.t('warranties.type') : 'Type'}: <span>${warranty.warranty_type}</span></div>` : ''}</div></div><div class="warranty-status-row status-${statusClass}">@@ -2261,7 +2365,7 @@ async function renderWarranties(warrantiesToRender) {<div class="document-links-inner-container">${warranty.product_url ? `<a href="${warranty.product_url}" class="product-link" target="_blank">- <i class="fas fa-globe"></i> Product Website+ <i class="fas fa-globe"></i> ${window.i18next ? window.i18next.t('warranties.product_website') : 'Product Website'}</a>` : ''}${generateDocumentLink(warranty, 'invoice')}@@ -2295,12 +2399,12 @@ async function renderWarranties(warrantiesToRender) {${photoThumbnailHtml}<div class="warranty-info">${userInfoHtml}- <div><i class="fas fa-calendar"></i> Age: <span>${productAge}</span></div>- <div><i class="fas fa-file-alt"></i> Warranty: <span>${warrantyDurationText}</span></div>- <div><i class="fas fa-wrench"></i> Warranty Ends: <span>${expirationDateText}</span></div>- ${warranty.purchase_price ? `<div><i class="fas fa-coins"></i> Price: <span>${formatCurrencyHTML(warranty.purchase_price, warranty.currency ? getCurrencySymbolByCode(warranty.currency) : getCurrencySymbol(), getCurrencyPosition())}</span></div>` : ''}+ <div><i class="fas fa-calendar"></i> ${window.i18next ? window.i18next.t('warranties.age') : 'Age'}: <span>${productAge}</span></div>+ <div><i class="fas fa-file-alt"></i> ${window.i18next ? window.i18next.t('warranties.warranty') : 'Warranty'}: <span>${warrantyDurationText}</span></div>+ <div><i class="fas fa-wrench"></i> ${window.i18next ? window.i18next.t('warranties.warranty_ends') : 'Warranty Ends'}: <span>${expirationDateText}</span></div>+ ${warranty.purchase_price ? `<div><i class="fas fa-coins"></i> ${window.i18next ? window.i18next.t('warranties.price') : 'Price'}: <span>${formatCurrencyHTML(warranty.purchase_price, warranty.currency ? getCurrencySymbolByCode(warranty.currency) : getCurrencySymbol(), getCurrencyPosition())}</span></div>` : ''}${validSerialNumbers.length > 0 ? `- <div><i class="fas fa-barcode"></i> Serial Number: <span>${validSerialNumbers[0]}</span></div>+ <div><i class="fas fa-barcode"></i> ${window.i18next ? window.i18next.t('warranties.serial_number') : 'Serial Number'}: <span>${validSerialNumbers[0]}</span></div>${validSerialNumbers.length > 1 ? `<div style="margin-left: 28px;"><ul style="margin-top: 5px;">@@ -2309,8 +2413,8 @@ async function renderWarranties(warrantiesToRender) {</div>` : ''}` : ''}- ${warranty.vendor ? `<div><i class="fas fa-store"></i> Vendor: <span>${warranty.vendor}</span></div>` : ''}- ${warranty.warranty_type ? `<div><i class="fas fa-shield-alt"></i> Type: <span>${warranty.warranty_type}</span></div>` : ''}+ ${warranty.vendor ? `<div><i class="fas fa-store"></i> ${window.i18next ? window.i18next.t('warranties.vendor') : 'Vendor'}: <span>${warranty.vendor}</span></div>` : ''}+ ${warranty.warranty_type ? `<div><i class="fas fa-shield-alt"></i> ${window.i18next ? window.i18next.t('warranties.type') : 'Type'}: <span>${warranty.warranty_type}</span></div>` : ''}</div></div><div class="warranty-status-row status-${statusClass}">@@ -2320,7 +2424,7 @@ async function renderWarranties(warrantiesToRender) {<div class="document-links-inner-container">${warranty.product_url ? `<a href="${warranty.product_url}" class="product-link" target="_blank">- <i class="fas fa-globe"></i> Product Website+ <i class="fas fa-globe"></i> ${window.i18next ? window.i18next.t('warranties.product_website') : 'Product Website'}</a>` : ''}${generateDocumentLink(warranty, 'invoice')}@@ -2354,12 +2458,12 @@ async function renderWarranties(warrantiesToRender) {${photoThumbnailHtml}<div class="warranty-info">${userInfoHtml}- <div><i class="fas fa-calendar"></i> Age: <span>${productAge}</span></div>- <div><i class="fas fa-file-alt"></i> Warranty: <span>${warrantyDurationText}</span></div>- <div><i class="fas fa-wrench"></i> Warranty Ends: <span>${expirationDateText}</span></div>- ${warranty.purchase_price ? `<div><i class="fas fa-coins"></i> Price: <span>${formatCurrencyHTML(warranty.purchase_price, warranty.currency ? getCurrencySymbolByCode(warranty.currency) : getCurrencySymbol(), getCurrencyPosition())}</span></div>` : ''}+ <div><i class="fas fa-calendar"></i> ${window.i18next ? window.i18next.t('warranties.age') : 'Age'}: <span>${productAge}</span></div>+ <div><i class="fas fa-file-alt"></i> ${window.i18next ? window.i18next.t('warranties.warranty') : 'Warranty'}: <span>${warrantyDurationText}</span></div>+ <div><i class="fas fa-wrench"></i> ${window.i18next ? window.i18next.t('warranties.warranty_ends') : 'Warranty Ends'}: <span>${expirationDateText}</span></div>+ ${warranty.purchase_price ? `<div><i class="fas fa-coins"></i> ${window.i18next ? window.i18next.t('warranties.price') : 'Price'}: <span>${formatCurrencyHTML(warranty.purchase_price, warranty.currency ? getCurrencySymbolByCode(warranty.currency) : getCurrencySymbol(), getCurrencyPosition())}</span></div>` : ''}${validSerialNumbers.length > 0 ? `- <div><i class="fas fa-barcode"></i> Serial Number: <span>${validSerialNumbers[0]}</span></div>+ <div><i class="fas fa-barcode"></i> ${window.i18next ? window.i18next.t('warranties.serial_number') : 'Serial Number'}: <span>${validSerialNumbers[0]}</span></div>${validSerialNumbers.length > 1 ? `<div style="margin-left: 28px;"><ul style="margin-top: 5px;">@@ -2368,8 +2472,8 @@ async function renderWarranties(warrantiesToRender) {</div>` : ''}` : ''}- ${warranty.vendor ? `<div><i class="fas fa-store"></i> Vendor: <span>${warranty.vendor}</span></div>` : ''}- ${warranty.warranty_type ? `<div><i class="fas fa-shield-alt"></i> Type: <span>${warranty.warranty_type}</span></div>` : ''}+ ${warranty.vendor ? `<div><i class="fas fa-store"></i> ${window.i18next ? window.i18next.t('warranties.vendor') : 'Vendor'}: <span>${warranty.vendor}</span></div>` : ''}+ ${warranty.warranty_type ? `<div><i class="fas fa-shield-alt"></i> ${window.i18next ? window.i18next.t('warranties.type') : 'Type'}: <span>${warranty.warranty_type}</span></div>` : ''}</div></div><div class="warranty-status-row status-${statusClass}">@@ -2379,7 +2483,7 @@ async function renderWarranties(warrantiesToRender) {<div class="document-links-inner-container">${warranty.product_url ? `<a href="${warranty.product_url}" class="product-link" target="_blank">- <i class="fas fa-globe"></i> Product Website+ <i class="fas fa-globe"></i> ${window.i18next ? window.i18next.t('warranties.product_website') : 'Product Website'}</a>` : ''}${generateDocumentLink(warranty, 'invoice')}@@ -2408,7 +2512,7 @@ async function renderWarranties(warrantiesToRender) {if (currentWarranty) {await openEditModal(currentWarranty);} else {- showToast('Warranty not found. Please refresh the page.', 'error');+ showToast(window.t('messages.warranty_not_found_refresh'), 'error');}});}@@ -2431,7 +2535,7 @@ async function renderWarranties(warrantiesToRender) {if (currentWarranty) {showNotesModal(currentWarranty.notes, currentWarranty);} else {- showToast('Warranty not found. Please refresh the page.', 'error');+ showToast(window.t('messages.warranty_not_found_refresh'), 'error');}});}@@ -2644,9 +2748,9 @@ async function openEditModal(warranty) {const firstInput = document.createElement('div');firstInput.className = 'serial-number-input';firstInput.innerHTML = `- <input type="text" name="serial_numbers[]" class="form-control" placeholder="Enter serial number" value="${validSerialNumbers[0]}">+ <input type="text" name="serial_numbers[]" class="form-control" placeholder="${i18next.t('warranties.enter_serial_number')}" value="${validSerialNumbers[0]}"><button type="button" class="btn btn-sm btn-primary add-serial-number">- <i class="fas fa-plus"></i> Add Another+ <i class="fas fa-plus"></i> ${i18next.t('warranties.add_serial_number')}</button>`;@@ -2663,9 +2767,9 @@ async function openEditModal(warranty) {const newInput = document.createElement('div');newInput.className = 'serial-number-input';newInput.innerHTML = `- <input type="text" name="serial_numbers[]" class="form-control" placeholder="Enter serial number" value="${validSerialNumbers[i]}">+ <input type="text" name="serial_numbers[]" class="form-control" placeholder="${i18next.t('warranties.enter_serial_number')}" value="${validSerialNumbers[i]}"><button type="button" class="btn btn-sm btn-danger remove-serial-number">- <i class="fas fa-minus"></i> Remove+ <i class="fas fa-minus"></i> ${i18next.t('actions.delete')}</button>`;@@ -2688,30 +2792,30 @@ async function openEditModal(warranty) {if (hasLocalInvoice) {currentInvoiceElement.innerHTML = `<span class="text-success">- <i class="fas fa-check-circle"></i> Current invoice:+ <i class="fas fa-check-circle"></i> ${i18next.t('warranties.current_invoice')}:<a href="#" class="view-document-link" onclick="openSecureFile('${warranty.invoice_path}'); return false;">View</a>- (Upload a new file to replace)+ (${i18next.t('warranties.upload_new_file_replace')})</span>`;deleteInvoiceBtn.style.display = '';} else if (hasPaperlessInvoice) {currentInvoiceElement.innerHTML = `<span class="text-success">- <i class="fas fa-check-circle"></i> Current invoice:+ <i class="fas fa-check-circle"></i> ${i18next.t('warranties.current_invoice')}:<a href="#" class="view-document-link" onclick="openPaperlessDocument(${warranty.paperless_invoice_id}); return false;">View</a>- <i class="fas fa-cloud" style="color: #4dabf7; margin-left: 4px; font-size: 0.8em;" title="Stored in Paperless-ngx"></i> (Upload a new file to replace)+ <i class="fas fa-cloud" style="color: #4dabf7; margin-left: 4px; font-size: 0.8em;" title="Stored in Paperless-ngx"></i> (${i18next.t('warranties.upload_new_file_replace')})</span>`;deleteInvoiceBtn.style.display = '';} else {- currentInvoiceElement.innerHTML = '<span>No invoice uploaded</span>';+ currentInvoiceElement.innerHTML = `<span>${i18next.t('warranties.no_invoice_uploaded')}</span>`;deleteInvoiceBtn.style.display = 'none';}// Reset delete statedeleteInvoiceBtn.dataset.delete = 'false';deleteInvoiceBtn.onclick = function() {deleteInvoiceBtn.dataset.delete = 'true';- currentInvoiceElement.innerHTML = '<span class="text-danger">Invoice will be deleted on save</span>';+ currentInvoiceElement.innerHTML = `<span class="text-danger">${i18next.t('warranties.invoice_will_be_deleted')}</span>`;deleteInvoiceBtn.style.display = 'none';};}@@ -2725,30 +2829,30 @@ async function openEditModal(warranty) {if (hasLocalManual) {currentManualElement.innerHTML = `<span class="text-success">- <i class="fas fa-check-circle"></i> Current manual:+ <i class="fas fa-check-circle"></i> ${i18next.t('warranties.current_manual')}:<a href="#" class="view-document-link" onclick="openSecureFile('${warranty.manual_path}'); return false;">View</a>- (Upload a new file to replace)+ (${i18next.t('warranties.upload_new_file_replace')})</span>`;deleteManualBtn.style.display = '';} else if (hasPaperlessManual) {currentManualElement.innerHTML = `<span class="text-success">- <i class="fas fa-check-circle"></i> Current manual:+ <i class="fas fa-check-circle"></i> ${i18next.t('warranties.current_manual')}:<a href="#" class="view-document-link" onclick="openPaperlessDocument(${warranty.paperless_manual_id}); return false;">View</a>- <i class="fas fa-cloud" style="color: #4dabf7; margin-left: 4px; font-size: 0.8em;" title="Stored in Paperless-ngx"></i> (Upload a new file to replace)+ <i class="fas fa-cloud" style="color: #4dabf7; margin-left: 4px; font-size: 0.8em;" title="Stored in Paperless-ngx"></i> (${i18next.t('warranties.upload_new_file_replace')})</span>`;deleteManualBtn.style.display = '';} else {- currentManualElement.innerHTML = '<span>No manual uploaded</span>';+ currentManualElement.innerHTML = `<span>${i18next.t('warranties.no_manual_uploaded')}</span>`;deleteManualBtn.style.display = 'none';}// Reset delete statedeleteManualBtn.dataset.delete = 'false';deleteManualBtn.onclick = function() {deleteManualBtn.dataset.delete = 'true';- currentManualElement.innerHTML = '<span class="text-danger">Manual will be deleted on save</span>';+ currentManualElement.innerHTML = `<span class="text-danger">${i18next.t('warranties.manual_will_be_deleted')}</span>`;deleteManualBtn.style.display = 'none';};}@@ -2763,33 +2867,33 @@ async function openEditModal(warranty) {if (hasLocalPhoto) {currentProductPhotoElement.innerHTML = `<span class="text-success">- <i class="fas fa-check-circle"></i> Current photo:+ <i class="fas fa-check-circle"></i> ${i18next.t('warranties.current_photo')}:<img data-secure-src="/api/secure-file/${warranty.product_photo_path.replace('uploads/', '')}" alt="Current Photo" class="secure-image"style="max-width: 100px; max-height: 100px; object-fit: cover; border-radius: 8px; margin-left: 10px; border: 2px solid var(--border-color);"onerror="this.style.display='none'">- <br><small>(Upload a new photo to replace)</small>+ <br><small>(${i18next.t('warranties.upload_new_photo_replace')})</small></span>`;deleteProductPhotoBtn.style.display = '';} else if (hasPaperlessPhoto) {currentProductPhotoElement.innerHTML = `<span class="text-success">- <i class="fas fa-check-circle"></i> Current photo:+ <i class="fas fa-check-circle"></i> ${i18next.t('warranties.current_photo')}:<a href="#" class="view-document-link" onclick="openPaperlessDocument(${warranty.paperless_photo_id}); return false;">View</a><i class="fas fa-cloud" style="color: #4dabf7; margin-left: 4px; font-size: 0.8em;" title="Stored in Paperless-ngx"></i>- <br><small>(Upload a new photo to replace)</small>+ <br><small>(${i18next.t('warranties.upload_new_photo_replace')})</small></span>`;deleteProductPhotoBtn.style.display = '';} else {- currentProductPhotoElement.innerHTML = '<span>No photo uploaded</span>';+ currentProductPhotoElement.innerHTML = `<span>${i18next.t('warranties.no_photo_uploaded')}</span>`;deleteProductPhotoBtn.style.display = 'none';}// Reset delete statedeleteProductPhotoBtn.dataset.delete = 'false';deleteProductPhotoBtn.onclick = function() {deleteProductPhotoBtn.dataset.delete = 'true';- currentProductPhotoElement.innerHTML = '<span class="text-danger">Photo will be deleted on save</span>';+ currentProductPhotoElement.innerHTML = `<span class="text-danger">${i18next.t('warranties.photo_will_be_deleted')}</span>`;deleteProductPhotoBtn.style.display = 'none';};}@@ -2804,30 +2908,30 @@ async function openEditModal(warranty) {if (hasLocalOther) {currentOtherDocumentElement.innerHTML = `<span class="text-success">- <i class="fas fa-check-circle"></i> Current other document:+ <i class="fas fa-check-circle"></i> ${i18next.t('warranties.current_other_document')}:<a href="#" class="view-document-link" onclick="openSecureFile('${warranty.other_document_path}'); return false;">View</a>- (Upload a new file to replace)+ (${i18next.t('warranties.upload_new_file_replace')})</span>`;deleteOtherDocumentBtn.style.display = '';} else if (hasPaperlessOther) {currentOtherDocumentElement.innerHTML = `<span class="text-success">- <i class="fas fa-check-circle"></i> Current other document:+ <i class="fas fa-check-circle"></i> ${i18next.t('warranties.current_other_document')}:<a href="#" class="view-document-link" onclick="openPaperlessDocument(${warranty.paperless_other_id}); return false;">View</a>- <i class="fas fa-cloud" style="color: #4dabf7; margin-left: 4px; font-size: 0.8em;" title="Stored in Paperless-ngx"></i> (Upload a new file to replace)+ <i class="fas fa-cloud" style="color: #4dabf7; margin-left: 4px; font-size: 0.8em;" title="Stored in Paperless-ngx"></i> (${i18next.t('warranties.upload_new_file_replace')})</span>`;deleteOtherDocumentBtn.style.display = '';} else {- currentOtherDocumentElement.innerHTML = '<span>No other document uploaded</span>';+ currentOtherDocumentElement.innerHTML = `<span>${i18next.t('warranties.no_other_document_uploaded')}</span>`;deleteOtherDocumentBtn.style.display = 'none';}// Reset delete statedeleteOtherDocumentBtn.dataset.delete = 'false';deleteOtherDocumentBtn.onclick = function() {deleteOtherDocumentBtn.dataset.delete = 'true';- currentOtherDocumentElement.innerHTML = '<span class="text-danger">Other document will be deleted on save</span>';+ currentOtherDocumentElement.innerHTML = `<span class="text-danger">${i18next.t('warranties.other_document_will_be_deleted')}</span>`;deleteOtherDocumentBtn.style.display = 'none';};}@@ -3159,7 +3263,7 @@ function validateFileSize(formData, maxSizeMB = 32) {}// Submit form function - event handler for form submit-function handleFormSubmit(event) { // Renamed from submitForm+async function handleFormSubmit(event) { // Made async to properly await paperless uploadsevent.preventDefault();const isLifetime = isLifetimeCheckbox.checked;@@ -3174,7 +3278,7 @@ function handleFormSubmit(event) { // Renamed from submitFormif (isDurationMethod) {// Validate duration fieldsif (years === 0 && months === 0 && days === 0) {- showToast('Warranty duration (years, months, or days) is required unless it\'s a lifetime warranty', 'error');+ showValidationErrors(1);switchToTab(1); // Switch to warranty details tab// Optionally focus the first duration inputif (warrantyDurationYearsInput) warrantyDurationYearsInput.focus();@@ -3185,7 +3289,7 @@ function handleFormSubmit(event) { // Renamed from submitForm} else {// Validate exact expiration dateif (!exactDate) {- showToast('Exact expiration date is required when using the exact date method', 'error');+ showValidationErrors(1);switchToTab(1); // Switch to warranty details tabif (exactExpirationDateInput) exactExpirationDateInput.focus();return;@@ -3194,7 +3298,7 @@ function handleFormSubmit(event) { // Renamed from submitForm// Validate that expiration date is in the future relative to purchase dateconst purchaseDate = document.getElementById('purchaseDate').value;if (purchaseDate && exactDate <= purchaseDate) {- showToast('Expiration date must be after the purchase date', 'error');+ showToast(window.t('messages.expiration_date_after_purchase_date'), 'error');switchToTab(1);if (exactExpirationDateInput) exactExpirationDateInput.focus();return;@@ -3210,6 +3314,7 @@ function handleFormSubmit(event) { // Renamed from submitFormif (!validateTab(i)) {// Switch to the first invalid tabswitchToTab(i);+ showValidationErrors(i);return;}}@@ -3290,18 +3395,46 @@ function handleFormSubmit(event) { // Renamed from submitFormformData.set('warranty_duration_days', '0');}- // Add other_document file- const otherDocumentFile = document.getElementById('otherDocument').files[0];- if (otherDocumentFile) {- formData.append('other_document', otherDocumentFile);- }-- // Add selected Paperless documents+ // Add other_document file (always, as no storage selection for this)+ const otherDocumentFile = document.getElementById('otherDocument').files[0];+ if (otherDocumentFile) {+ formData.append('other_document', otherDocumentFile);+ }++ // --- Only append invoice/manual files to FormData if storage is 'local' ---+ const invoiceFile = document.getElementById('invoice')?.files[0];+ const manualFile = document.getElementById('manual')?.files[0];+ let invoiceStorage = 'local';+ let manualStorage = 'local';+ const invoiceStorageRadio = document.querySelector('input[name="invoiceStorage"]:checked');+ const manualStorageRadio = document.querySelector('input[name="manualStorage"]:checked');+ if (invoiceStorageRadio) invoiceStorage = invoiceStorageRadio.value;+ if (manualStorageRadio) manualStorage = manualStorageRadio.value;+ formData.set('invoiceStorage', invoiceStorage);+ formData.set('manualStorage', manualStorage);+ console.log('[DEBUG] Invoice storage:', invoiceStorage, 'Manual storage:', manualStorage);+ console.log('[DEBUG] Invoice file:', invoiceFile);+ console.log('[DEBUG] Manual file:', manualFile);+ if (invoiceStorage === 'local' && invoiceFile) {+ console.log('[DEBUG] Appending invoice file to FormData (local storage)');+ formData.append('invoice', invoiceFile);+ }+ if (manualStorage === 'local' && manualFile) {+ console.log('[DEBUG] Appending manual file to FormData (local storage)');+ formData.append('manual', manualFile);+ }+ if (invoiceStorage === 'paperless') {+ console.log('[DEBUG] Invoice should be uploaded to Paperless-ngx');+ }+ if (manualStorage === 'paperless') {+ console.log('[DEBUG] Manual should be uploaded to Paperless-ngx');+ }++ // Add selected Paperless documents (for linking existing docs, not uploads)const selectedPaperlessProductPhoto = document.getElementById('selectedPaperlessProductPhoto');const selectedPaperlessInvoice = document.getElementById('selectedPaperlessInvoice');const selectedPaperlessManual = document.getElementById('selectedPaperlessManual');const selectedPaperlessOtherDocument = document.getElementById('selectedPaperlessOtherDocument');-if (selectedPaperlessProductPhoto && selectedPaperlessProductPhoto.value) {formData.append('paperless_photo_id', selectedPaperlessProductPhoto.value);}@@ -3318,81 +3451,90 @@ function handleFormSubmit(event) { // Renamed from submitForm// Show loading spinnershowLoadingSpinner();- // Process Paperless-ngx uploads if enabled- processPaperlessNgxUploads(formData)- .then(paperlessUploads => {- // Add Paperless-ngx document IDs to form data- Object.keys(paperlessUploads).forEach(key => {- formData.append(key, paperlessUploads[key]);- });-- // Send the form data to the server- return fetch('/api/warranties', {- method: 'POST',- headers: {- 'Authorization': 'Bearer ' + localStorage.getItem('auth_token')- },- body: formData- });- })- .then(response => {- if (!response.ok) {- return response.json().then(data => {- throw new Error(data.error || 'Failed to add warranty');- });- }- return response.json();- })- .then(data => {- hideLoadingSpinner();- showToast('Warranty added successfully', 'success');-- // Store the new warranty ID for auto-linking- const newWarrantyId = data.id;-- // --- Close and reset the modal on success ---- if (addWarrantyModal) {- addWarrantyModal.classList.remove('active');- }- resetAddWarrantyWizard(); // Reset the wizard form- // --- End modification ----- loadWarranties(true).then(() => {- console.log('Warranties reloaded after adding new warranty');- applyFilters();- // Load secure images for the new cards - additional call to ensure they load- setTimeout(() => {- console.log('Loading secure images for new warranty cards');- loadSecureImages();- }, 200); // Slightly longer delay to ensure everything is rendered-- // Auto-link any documents that were uploaded to Paperless-ngx- const invoiceFile = document.getElementById('invoice').files[0];- const manualFile = document.getElementById('manual').files[0];- const otherDocumentFile = document.getElementById('otherDocument').files[0];-- if ((invoiceFile || manualFile || otherDocumentFile) && newWarrantyId) {- console.log('[Auto-Link] Starting automatic document linking after warranty creation');-- // Collect filename information for intelligent searching- const fileInfo = {};- if (invoiceFile) fileInfo.invoice = invoiceFile.name;- if (manualFile) fileInfo.manual = manualFile.name;- if (otherDocumentFile) fileInfo.other = otherDocumentFile.name;-- setTimeout(() => {- autoLinkRecentDocuments(newWarrantyId, ['invoice', 'manual', 'other'], 10, 10000, fileInfo);- }, 3000); // Wait 3 seconds for Paperless-ngx to process the documents- }- }).catch(error => {- console.error('Error reloading warranties after adding:', error);- }); // Reload the list and update UI- })- .catch(error => {- hideLoadingSpinner();- console.error('Error adding warranty:', error);- showToast(error.message || 'Failed to add warranty', 'error');+ try {+ // Process Paperless-ngx uploads if enabled+ const paperlessUploads = await processPaperlessNgxUploads(formData);++ // Add Paperless-ngx document IDs to form data+ Object.keys(paperlessUploads).forEach(key => {+ formData.append(key, paperlessUploads[key]);+ });++ // Send the form data to the server+ const response = await fetch('/api/warranties', {+ method: 'POST',+ headers: {+ 'Authorization': 'Bearer ' + localStorage.getItem('auth_token')+ },+ body: formData});++ if (!response.ok) {+ const errorData = await response.json();+ throw new Error(errorData.error || 'Failed to add warranty');+ }++ const data = await response.json();+ hideLoadingSpinner();+ showToast(window.t('messages.warranty_added_successfully'), 'success');++ // Store the new warranty ID for auto-linking+ const newWarrantyId = data.id;++ // --- Store file info and storage type before upload for auto-link logic ---+ const invoiceFileInput = document.getElementById('invoice');+ const manualFileInput = document.getElementById('manual');+ const invoiceFilePre = invoiceFileInput?.files[0];+ const manualFilePre = manualFileInput?.files[0];+ const invoiceStoragePre = formData.get('invoiceStorage');+ const manualStoragePre = formData.get('manualStorage');++ // Auto-link any documents that were uploaded to Paperless-ngx (match edit modal behavior)+ const autoLinkTypes = [];+ const fileInfo = {};+ if (invoiceStoragePre === 'paperless' && invoiceFilePre) {+ autoLinkTypes.push('invoice');+ fileInfo.invoice = invoiceFilePre.name;+ }+ if (manualStoragePre === 'paperless' && manualFilePre) {+ autoLinkTypes.push('manual');+ fileInfo.manual = manualFilePre.name;+ }+ // Other document does not have a storage option, so skip unless you add support+ // If you want to support auto-linking for 'other', add logic here+ console.log('[Auto-Link DEBUG] newWarrantyId:', newWarrantyId, 'autoLinkTypes:', autoLinkTypes, 'fileInfo:', fileInfo, 'invoiceStorage:', invoiceStoragePre, 'manualStorage:', manualStoragePre);+ if (autoLinkTypes.length > 0 && newWarrantyId) {+ console.log('[Auto-Link] Starting automatic document linking after warranty creation (Paperless-ngx uploads only)', autoLinkTypes, fileInfo);+ setTimeout(() => {+ console.log('[Auto-Link DEBUG] Calling autoLinkRecentDocuments with:', newWarrantyId, autoLinkTypes, fileInfo);+ autoLinkRecentDocuments(newWarrantyId, autoLinkTypes, 10, 10000, fileInfo);+ }, 3000); // Wait 3 seconds for Paperless-ngx to process the documents+ }++ // Close and reset the modal on success+ if (addWarrantyModal) {+ addWarrantyModal.classList.remove('active');+ }+ resetAddWarrantyWizard(); // Reset the wizard form++ try {+ await loadWarranties(true);+ console.log('Warranties reloaded after adding new warranty');+ applyFilters();++ // Load secure images for the new cards+ setTimeout(() => {+ console.log('Loading secure images for new warranty cards');+ loadSecureImages();+ }, 200);+ } catch (error) {+ console.error('Error reloading warranties after adding:', error);+ }+ } catch (error) {+ hideLoadingSpinner();+ console.error('Error adding warranty:', error);+ showToast(error.message || window.t('messages.failed_to_add_warranty'), 'error');+ }}// Initialize page@@ -3541,7 +3683,7 @@ function openSecureFile(filePath) {const token = auth.getToken();if (!token) {- showToast('Please log in to access files', 'error');+ showToast(window.t('messages.login_to_access_files'), 'error');return false;}@@ -3629,7 +3771,7 @@ function openSecureFile(filePath) {// Check if window was blocked by popup blockerif (!newWindow || newWindow.closed || typeof newWindow.closed === 'undefined') {- showToast('Popup blocked. Please allow popups for this site and try again.', 'warning');+ showToast(window.t('messages.popup_blocked'), 'warning');window.URL.revokeObjectURL(blobUrl); // Clean up immediately if blocked}})@@ -4162,12 +4304,12 @@ function createTag(name) {allTags.push(newTag);renderExistingTags();populateTagFilter();- showToast('Tag created successfully', 'success');+ showToast(window.t('messages.tag_created_successfully'), 'success');resolve(newTag);}).catch(error => {console.error('Error creating tag:', error);- showToast(error.message || 'Failed to create tag', 'error');+ showToast(error.message || window.t('messages.failed_to_create_tag'), 'error');reject(error);});});@@ -4277,7 +4419,7 @@ function editTag(tag) {const newColor = tagInfoElement.querySelector('.edit-tag-color').value;if (!newName) {- showToast('Tag name is required', 'error');+ showToast(window.t('messages.tag_name_required'), 'error');return;}@@ -4342,11 +4484,11 @@ function updateTag(id, name, color) {updateSummary();}- showToast('Tag updated successfully', 'success');+ showToast(window.t('messages.tag_updated_successfully'), 'success');}).catch(error => {console.error('Error updating tag:', error);- showToast(error.message || 'Failed to update tag', 'error');+ showToast(error.message || window.t('messages.failed_to_update_tag'), 'error');});}@@ -4359,7 +4501,7 @@ function deleteTag(id) {const token = localStorage.getItem('auth_token');if (!token) {console.error('No authentication token found');- showToast('Authentication required', 'error'); // Added toast for better feedback+ showToast(window.t('messages.authentication_required'), 'error'); // Added toast for better feedbackreturn;}@@ -4400,11 +4542,11 @@ function deleteTag(id) {populateTagFilter(); // Update the filter dropdown on the main page// --- END FIX ---- showToast('Tag deleted successfully', 'success');+ showToast(window.t('messages.tag_deleted_successfully'), 'success');}).catch(error => {console.error('Error deleting tag:', error);- showToast(error.message || 'Failed to delete tag', 'error'); // Show specific error message+ showToast(error.message || window.t('messages.failed_to_delete_tag'), 'error'); // Show specific error message}).finally(() => {hideLoadingSpinner(); // Hide loading indicator@@ -4487,22 +4629,25 @@ function setupUIEventListeners() {const vendorFilter = document.getElementById('vendorFilter'); // Added vendor filter selectif (searchInput) {+ // Debounce logic: only apply filters after user stops typing for 300ms+ let searchDebounceTimeout;searchInput.addEventListener('input', () => {currentFilters.search = searchInput.value.toLowerCase();-// Show/hide clear button based on search inputif (clearSearchBtn) {clearSearchBtn.style.display = searchInput.value ? 'flex' : 'none';}-// Add visual feedback class to search box when activeif (searchInput.value) {searchInput.parentElement.classList.add('active-search');} else {searchInput.parentElement.classList.remove('active-search');}-- applyFilters();+ // Debounce applyFilters+ if (searchDebounceTimeout) clearTimeout(searchDebounceTimeout);+ searchDebounceTimeout = setTimeout(() => {+ applyFilters();+ }, 300);});}@@ -4832,7 +4977,7 @@ function hidePaperlessUploadLoading() {// Delete warranty functionfunction deleteWarranty() {if (!currentWarrantyId) {- showToast('No warranty selected for deletion', 'error');+ showToast(window.t('messages.no_warranty_selected_for_deletion'), 'error');return;}@@ -4882,7 +5027,7 @@ function deleteWarranty() {function saveWarranty() {console.log("[script.js] CORE saveWarranty (original from script.js) EXECUTING.");if (!currentWarrantyId) {- showToast('No warranty selected for update', 'error');+ showToast(window.t('messages.no_warranty_selected_for_update'), 'error');return;}@@ -4899,12 +5044,12 @@ function saveWarranty() {// Basic validationif (!productName) {- showToast('Product name is required', 'error');+ showToast(window.t('messages.product_name_required'), 'error');return;}if (!purchaseDate) {- showToast('Purchase date is required', 'error');+ showToast(window.t('messages.purchase_date_required'), 'error');return;}@@ -4913,7 +5058,7 @@ function saveWarranty() {if (isDurationMethod) {// Validate duration fieldsif (years === 0 && months === 0 && days === 0) {- showToast('Warranty duration (years, months, or days) is required unless it\'s a lifetime warranty', 'error');+ showToast(window.t('messages.warranty_duration_required'), 'error');// Optional: focus the years input againconst yearsInput = document.getElementById('editWarrantyDurationYears');if (yearsInput) { // Check if element exists@@ -4926,14 +5071,14 @@ function saveWarranty() {} else {// Validate exact expiration dateif (!exactDate) {- showToast('Exact expiration date is required when using the exact date method', 'error');+ showToast(window.t('messages.exact_expiration_date_required'), 'error');if (editExactExpirationDateInput) editExactExpirationDateInput.focus();return;}// Validate that expiration date is in the future relative to purchase dateif (purchaseDate && exactDate <= purchaseDate) {- showToast('Expiration date must be after the purchase date', 'error');+ showToast(window.t('messages.expiration_date_after_purchase_date'), 'error');if (editExactExpirationDateInput) editExactExpirationDateInput.focus();return;}@@ -5374,6 +5519,15 @@ function resetAddWarrantyWizard() {// Reset the form fieldsif (warrantyForm) {warrantyForm.reset();++ // Explicitly set storage options to 'local'+ const storageTypes = ['invoice', 'manual'];+ storageTypes.forEach(type => {+ const localRadio = document.querySelector(`input[name="${type}Storage"][value="local"]`);+ if (localRadio) {+ localRadio.checked = true;+ }+ });}// Reset serial numbers container (remove all but the first input structure)@@ -5394,10 +5548,8 @@ function resetAddWarrantyWizard() {// Reset selected tagsselectedTags = [];console.log('Resetting Add Warranty Wizard...');- // Reset the form fields- if (warrantyForm) {- warrantyForm.reset();- }++ // No need to reset the form again as we already did it above// Reset serial numbers container (remove all but the first input structure)if (serialNumbersContainer) {@@ -5708,7 +5860,7 @@ if (!document.getElementById('notesModal')) {// Open the edit modal with current dataawait openEditModal(currentWarranty);} else {- showToast('Warranty not found. Please refresh the page.', 'error');+ showToast(window.t('messages.warranty_not_found_refresh'), 'error');}});}@@ -6714,18 +6866,18 @@ async function processPaperlessNgxUploads(formData) {const documentTypes = ['invoice', 'manual'];for (const docType of documentTypes) {- const storageOption = getStorageOption(docType);-+ // Use storage option from formData, not DOM+ const storageKey = docType + 'Storage';+ const storageOption = formData.get(storageKey) || 'local';+ const fileInput = document.getElementById(docType);+ const file = fileInput?.files[0];+ console.log(`[DEBUG][processPaperlessNgxUploads] docType:`, docType, '| storageOption (from formData):', storageOption, '| file:', file);if (storageOption === 'paperless') {- const fileInput = document.getElementById(docType);- const file = fileInput?.files[0];-if (file) {console.log(`[Paperless-ngx] Uploading ${docType} to Paperless-ngx`);-// Upload to Paperless-ngxconst uploadResult = await uploadToPaperlessNgx(file, docType);-+ console.log(`[DEBUG][processPaperlessNgxUploads] uploadResult for ${docType}:`, uploadResult);if (uploadResult.success) {// Map frontend document types to database column namesconst fieldMapping = {@@ -6734,7 +6886,6 @@ async function processPaperlessNgxUploads(formData) {'manual': 'paperless_manual_id','otherDocument': 'paperless_other_id'};-const dbField = fieldMapping[docType];if (dbField && uploadResult.document_id) {// Only store the ID if we actually got a document ID (not a task ID)@@ -6747,7 +6898,6 @@ async function processPaperlessNgxUploads(formData) {// Don't hide loading screen yet - auto-link will handle itupdatePaperlessUploadStatus('Document processing, searching for link...', true);}-// ALWAYS remove the file from FormData since it's been uploaded to Paperless-ngx// This prevents the backend from also saving it locallyif (formData.has(docType)) {@@ -6755,9 +6905,14 @@ async function processPaperlessNgxUploads(formData) {console.log(`[Paperless-ngx] Removed ${docType} from FormData to prevent local storage`);}} else {+ console.error(`[Paperless-ngx] Failed to upload ${docType} to Paperless-ngx:`, uploadResult.error);throw new Error(`Failed to upload ${docType} to Paperless-ngx: ${uploadResult.error}`);}+ } else {+ console.log(`[DEBUG][processPaperlessNgxUploads] No file found for ${docType} with paperless storage option.`);}+ } else {+ console.log(`[DEBUG][processPaperlessNgxUploads] Skipping ${docType}, storageOption is not paperless.`);}}diff --git a/frontend/settings-new.html b/frontend/settings-new.htmlindex dfead5b..26e685c 100644--- a/frontend/settings-new.html+++ b/frontend/settings-new.html@@ -1,11 +1,11 @@<!DOCTYPE html>-<html lang="en">+<html><head><!-- Authentication redirect script -->- <script src="auth-redirect.js" data-protected="true"></script>+ <script src="auth-redirect.js?v=20250118003" data-protected="true"></script><!-- Include authentication script first to handle login state immediately -->- <script src="include-auth-new.js"></script>+ <script src="include-auth-new.js?v=20250118003"></script><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">@@ -17,19 +17,30 @@<link rel="apple-touch-icon" sizes="180x180" href="img/favicon-512x512.png"><link rel="manifest" href="manifest.json"><!-- Load the main site styles first -->- <link rel="stylesheet" href="style.css?v=20250529006">+ <link rel="stylesheet" href="style.css?v=20250118003"><!-- Font Awesome for icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><!-- Then load settings-specific styles -->- <link rel="stylesheet" href="settings-styles.css?v=20250529006">+ <link rel="stylesheet" href="settings-styles.css?v=20250118003"><!-- Apply theme immediately -->- <script src="theme-loader.js"></script>+ <script src="theme-loader.js?v=20250118003"></script><!-- Load header fix styles last to override any conflicting styles -->- <link rel="stylesheet" href="header-fix.css?v=20250529006">+ <link rel="stylesheet" href="header-fix.css?v=20250118003"><!-- Mobile Header specific styles -->- <link rel="stylesheet" href="mobile-header.css?v=20250529006">+ <link rel="stylesheet" href="mobile-header.css?v=20250118003"><!-- Load fix for auth buttons -->- <script src="fix-auth-buttons-loader.js"></script>+ <script src="fix-auth-buttons-loader.js?v=20250118003"></script>++ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>++ <!-- i18n Configuration -->+ <script src="js/i18n.js?v=20250118003"></script>++ <!-- Temporary debug script -->+ <script src="js/i18n-debug.js?v=20250118003"></script><!-- Immediate authentication check script --><script>@@ -93,13 +104,13 @@</div><div class="nav-links"><a href="index.html" class="nav-link">- <i class="fas fa-home"></i> Home+ <i class="fas fa-home"></i> <span data-i18n="nav.home">Home</span></a><a href="status.html" class="nav-link">- <i class="fas fa-chart-pie"></i> Status+ <i class="fas fa-chart-pie"></i> <span data-i18n="nav.status">Status</span></a><a href="settings-new.html" class="nav-link active">- <i class="fas fa-cog"></i> Settings+ <i class="fas fa-cog"></i> <span data-i18n="nav.settings">Settings</span></a></div><!-- Group for right-aligned elements -->@@ -116,15 +127,15 @@</div><div class="user-menu-item"><a href="settings-new.html" style="color: inherit; text-decoration: none; display: block;">- <i class="fas fa-cog"></i> Settings+ <i class="fas fa-cog"></i> <span data-i18n="nav.settings">Settings</span></a></div><div class="user-menu-item"><i class="fas fa-info-circle"></i>- <a href="about.html" style="text-decoration: none; color: inherit;">About</a>+ <a href="about.html" style="text-decoration: none; color: inherit;" data-i18n="nav.about">About</a></div><div class="user-menu-item" id="logoutMenuItem">- <i class="fas fa-sign-out-alt"></i> Logout+ <i class="fas fa-sign-out-alt"></i> <span data-i18n="auth.logout">Logout</span></div></div></div>@@ -140,36 +151,36 @@<!-- Main Content --><div class="container"><div class="content-wrapper">- <h2>Settings</h2>+ <h2 data-i18n="settings.title">Settings</h2><!-- Account Settings --><div class="card collapsible-card"><div class="card-header collapsible-header" data-target="accountSettingsContent">- <h3>Account Settings</h3>+ <h3 data-i18n="settings.account_settings">Account Settings</h3><i class="fas fa-chevron-down collapse-icon"></i></div><div class="card-body collapsible-content" id="accountSettingsContent"><div id="currentUserInfoDisplay" class="current-user-info" style="margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color);">- <p style="margin: 0; font-size: 1.1rem;"><strong>Editing Profile for:</strong> <span id="currentUserNameDisplay" style="font-weight: normal;">Loading...</span></p>- <p style="margin: 5px 0 0 0; font-size: 0.9rem; color: var(--text-muted);">Your email: <span id="currentUserEmailDisplay">Loading...</span></p>+ <p style="margin: 0; font-size: 1.1rem;"><strong data-i18n="settings.current_user">Editing Profile for:</strong> <span id="currentUserNameDisplay" style="font-weight: normal;">Loading...</span></p>+ <p style="margin: 5px 0 0 0; font-size: 0.9rem; color: var(--text-muted);"><span data-i18n="settings.your_email">Your email:</span> <span id="currentUserEmailDisplay">Loading...</span></p></div><form id="profileForm"><div class="form-group">- <label for="firstName">First Name</label>+ <label for="firstName" data-i18n="settings.first_name">First Name</label><input type="text" id="firstName" name="firstName" class="form-control"></div><div class="form-group">- <label for="lastName">Last Name</label>+ <label for="lastName" data-i18n="settings.last_name">Last Name</label><input type="text" id="lastName" name="lastName" class="form-control"></div><div class="form-group">- <label for="email">Email</label>+ <label for="email" data-i18n="settings.email">Email</label><input type="email" id="email" name="email" class="form-control"></div>- <button type="button" id="saveProfileBtn" class="btn btn-primary">Save Changes</button>+ <button type="button" id="saveProfileBtn" class="btn btn-primary" data-i18n="settings.save_profile">Save Changes</button></form></div></div>@@ -177,7 +188,7 @@<!-- Preferences --><div class="card collapsible-card"><div class="card-header collapsible-header" data-target="preferencesContent">- <h3>Preferences</h3>+ <h3 data-i18n="settings.preferences">Preferences</h3><i class="fas fa-chevron-down collapse-icon"></i></div><div class="card-body collapsible-content" id="preferencesContent">@@ -185,8 +196,36 @@<div class="form-group"><div class="preference-item"><div>- <label>Dark Mode</label>- <p class="text-muted">Switch between light and dark theme</p>+ <label data-i18n="settings.language">Language</label>+ <p class="text-muted" data-i18n="settings.select_language">Select your preferred language</p>+ </div>+ <select id="languageSelect" class="form-control" style="max-width: 200px;">+ <option value="en">English</option>+ <option value="fr">Français</option>+ <option value="es">Español</option>+ <option value="de">Deutsch</option>+ <option value="it">Italiano</option>+ <option value="cs">Čeština</option>+ <option value="nl">Nederlands</option>+ <option value="hi">हिन्दी</option>+ <option value="fa">فارسی</option>+ <option value="ar">العربية</option>+ <option value="ru">Русский</option>+ <option value="uk">Українська</option>+ <option value="zh_CN">简体中文</option>+ <option value="zh_HK">繁體中文</option>+ <option value="ja">日本語</option>+ <option value="pt">Português</option>+ <option value="ko">한국어</option>+ </select>+ </div>+ </div>++ <div class="form-group">+ <div class="preference-item">+ <div>+ <label data-i18n="settings.dark_mode">Dark Mode</label>+ <p class="text-muted" data-i18n="settings.dark_mode_desc">Switch between light and dark theme</p></div><label class="toggle-switch"><input type="checkbox" id="darkModeToggleSetting">@@ -198,13 +237,13 @@<div class="form-group"><div class="preference-item"><div>- <label>Default View</label>- <p class="text-muted">Choose your preferred view for warranties</p>+ <label data-i18n="settings.default_view">Default View</label>+ <p class="text-muted" data-i18n="settings.default_view_desc">Choose your preferred view for warranties</p></div><select id="defaultView" class="form-control">- <option value="grid">Grid View</option>- <option value="list">List View</option>- <option value="table">Table View</option>+ <option value="grid" data-i18n="settings.grid_view">Grid View</option>+ <option value="list" data-i18n="settings.list_view">List View</option>+ <option value="table" data-i18n="settings.table_view">Table View</option></select></div></div>@@ -212,8 +251,8 @@<div class="form-group"><div class="preference-item"><div>- <label>Currency Symbol</label>- <p class="text-muted">Choose the symbol to display for prices</p>+ <label data-i18n="settings.currency_symbol">Currency Symbol</label>+ <p class="text-muted" data-i18n="settings.currency_symbol_desc">Choose the symbol to display for prices</p></div><select id="currencySymbolSelect" class="form-control" style="width: 120px; font-size: 1.1em;"><option value="">Loading currencies...</option>@@ -225,8 +264,8 @@<div class="form-group"><div class="preference-item"><div>- <label>Currency Position</label>- <p class="text-muted">Choose whether currency symbol appears on the left or right of numbers</p>+ <label data-i18n="settings.currency_position">Currency Position</label>+ <p class="text-muted" data-i18n="settings.currency_position_desc">Choose whether currency symbol appears on the left or right of numbers</p></div><select id="currencyPositionSelect" class="form-control" style="width: 150px;"><option value="left">Left ($100.00)</option>@@ -238,8 +277,9 @@<div class="form-group"><div class="preference-item"><div>- <label>Expiring Soon Days</label>- <p class="text-muted">Number of days before warranty expiration to mark as "Expiring Soon"</p>+ <label data-i18n="settings.expiring_soon_days">Expiring Soon Days</label>+ <p class="text-muted" data-i18n="settings.expiring_soon_days_desc">Number of days before expiration to show warnings</p>+ <p class="text-muted" data-i18n="settings.expiring_soon_days_desc">Number of days before warranty expiration to mark as "Expiring Soon"</p></div><input type="number" id="expiringSoonDays" class="form-control" min="1" max="365" value="30"></div>@@ -248,8 +288,8 @@<div class="form-group"><div class="preference-item"><div>- <label for="dateFormat">Date Format</label>- <p class="text-muted">Choose how dates are displayed</p>+ <label for="dateFormat" data-i18n="settings.date_format">Date Format</label>+ <p class="text-muted" data-i18n="settings.date_format_desc">Choose how dates are displayed</p></div><select id="dateFormat" class="form-control"><option value="MDY">Month/Day/Year (e.g., 12/31/2024)</option>@@ -262,7 +302,7 @@</div></div>- <button type="button" id="savePreferencesBtn" class="btn btn-primary">Save Preferences</button>+ <button type="button" id="savePreferencesBtn" class="btn btn-primary" data-i18n="settings.save_preferences">Save Preferences</button></form></div></div>@@ -270,7 +310,7 @@<!-- Notification Settings --><div class="card collapsible-card"><div class="card-header collapsible-header" data-target="notificationSettingsContent">- <h3>Notification Settings</h3>+ <h3 data-i18n="settings.notification_settings">Notification Settings</h3><i class="fas fa-chevron-down collapse-icon"></i></div><div class="card-body collapsible-content" id="notificationSettingsContent">@@ -278,30 +318,30 @@<div class="form-group"><div class="preference-item"><div>- <label>Notification Channel</label>- <p class="text-muted">Choose how you want to receive notifications.</p>+ <label data-i18n="settings.notification_channel">Notification Channel</label>+ <p class="text-muted" data-i18n="settings.notification_channel_desc">Choose how you want to receive notifications.</p></div><select id="notificationChannel" class="form-control">- <option value="none">Disabled</option>- <option value="email">Email</option>- <option value="apprise">Apprise</option>- <option value="both">Both</option>+ <option value="none" data-i18n="settings.notification_disabled">Disabled</option>+ <option value="email" data-i18n="settings.notification_email">Email</option>+ <option value="apprise" data-i18n="settings.notification_apprise">Apprise</option>+ <option value="both" data-i18n="settings.notification_both">Both</option></select></div></div><div id="emailSettingsContainer" style="display: none;">- <h4>Email Settings</h4>+ <h4 data-i18n="settings.email_settings">Email Settings</h4><div class="form-group"><div class="preference-item"><div>- <label>Notification Frequency</label>- <p class="text-muted">How often to receive email notifications</p>+ <label data-i18n="settings.notification_frequency">Notification Frequency</label>+ <p class="text-muted" data-i18n="settings.notification_frequency_desc">How often to receive email notifications</p></div><select id="notificationFrequency" class="form-control">- <option value="daily">Daily</option>- <option value="weekly">Weekly</option>- <option value="monthly">Monthly</option>+ <option value="daily" data-i18n="settings.daily">Daily</option>+ <option value="weekly" data-i18n="settings.weekly">Weekly</option>+ <option value="monthly" data-i18n="settings.monthly">Monthly</option></select></div></div>@@ -309,8 +349,8 @@<div class="form-group"><div class="preference-item"><div>- <label>Notification Time</label>- <p class="text-muted">Time of day to receive notifications (in 24-hour format)</p>+ <label data-i18n="settings.notification_time">Notification Time</label>+ <p class="text-muted" data-i18n="settings.time_of_day_notification">Time of day to receive notifications (in 24-hour format)</p></div><input type="time" id="notificationTime" class="form-control" value="09:00"></div>@@ -319,8 +359,8 @@<div class="form-group"><div class="preference-item"><div>- <label>Timezone</label>- <p class="text-muted">Your local timezone for notifications</p>+ <label data-i18n="settings.timezone">Timezone</label>+ <p class="text-muted" data-i18n="settings.timezone_desc">Your local timezone for notifications</p></div><select id="timezone" class="form-control"><option value="">Loading timezones...</option>@@ -330,17 +370,17 @@</div><div id="userAppriseSettingsContainer" style="display: none;">- <h4>Apprise Settings</h4>+ <h4 data-i18n="settings.apprise_settings">Apprise Settings</h4><div class="form-group"><div class="preference-item"><div>- <label>Apprise Notification Frequency</label>- <p class="text-muted">How often to receive Apprise notifications</p>+ <label data-i18n="settings.apprise_frequency">Apprise Notification Frequency</label>+ <p class="text-muted" data-i18n="settings.apprise_frequency_desc">How often to receive Apprise notifications</p></div><select id="userAppriseNotificationFrequency" class="form-control">- <option value="daily">Daily</option>- <option value="weekly">Weekly</option>- <option value="monthly">Monthly</option>+ <option value="daily" data-i18n="settings.daily">Daily</option>+ <option value="weekly" data-i18n="settings.weekly">Weekly</option>+ <option value="monthly" data-i18n="settings.monthly">Monthly</option></select></div></div>@@ -348,8 +388,8 @@<div class="form-group"><div class="preference-item"><div>- <label>Apprise Notification Time</label>- <p class="text-muted">Time of day to receive Apprise notifications (in 24-hour format)</p>+ <label data-i18n="settings.apprise_time">Apprise Notification Time</label>+ <p class="text-muted" data-i18n="settings.time_of_day_notification">Time of day to receive Apprise notifications (in 24-hour format)</p></div><input type="time" id="userAppriseNotificationTime" class="form-control" value="09:00"></div>@@ -358,8 +398,8 @@<div class="form-group"><div class="preference-item"><div>- <label>Apprise Timezone</label>- <p class="text-muted">Your local timezone for Apprise notifications</p>+ <label data-i18n="settings.apprise_timezone">Apprise Timezone</label>+ <p class="text-muted" data-i18n="settings.apprise_timezone_desc">Your local timezone for Apprise notifications</p></div><select id="userAppriseTimezone" class="form-control"><option value="">Loading timezones...</option>@@ -367,7 +407,7 @@</div></div></div>- <button type="button" id="saveNotificationSettingsBtn" class="btn btn-primary">Save Notification Settings</button>+ <button type="button" id="saveNotificationSettingsBtn" class="btn btn-primary" data-i18n="settings.save_notification_settings">Save Notification Settings</button></form></div></div>@@ -375,36 +415,36 @@<!-- Security --><div class="card"><div class="card-header">- <h3>Security</h3>+ <h3 data-i18n="settings.security">Security</h3></div><div class="card-body"><div class="preference-item"><div>- <label>Change Password</label>- <p class="text-muted">Update your account password</p>+ <label data-i18n="settings.change_password">Change Password</label>+ <p class="text-muted" data-i18n="settings.change_password_desc">Update your account password</p></div>- <button id="changePasswordBtn" class="btn btn-outline-primary">Change</button>+ <button id="changePasswordBtn" class="btn btn-outline-primary" data-i18n="settings.change">Change</button></div><div id="passwordChangeForm" style="display: none; margin-top: 20px;"><div class="form-group">- <label for="currentPassword">Current Password</label>+ <label for="currentPassword" data-i18n="settings.current_password">Current Password</label><input type="password" id="currentPassword" name="currentPassword" class="form-control"></div><div class="form-group">- <label for="newPassword">New Password</label>+ <label for="newPassword" data-i18n="settings.new_password">New Password</label><input type="password" id="newPassword" name="newPassword" class="form-control"></div><div class="form-group">- <label for="confirmPassword">Confirm New Password</label>+ <label for="confirmPassword" data-i18n="settings.confirm_password">Confirm New Password</label><input type="password" id="confirmPassword" name="confirmPassword" class="form-control"></div><div class="button-group">- <button type="button" id="savePasswordBtn" class="btn btn-primary">Update Password</button>- <button type="button" id="cancelPasswordBtn" class="btn btn-secondary">Cancel</button>+ <button type="button" id="savePasswordBtn" class="btn btn-primary" data-i18n="settings.update_password">Update Password</button>+ <button type="button" id="cancelPasswordBtn" class="btn btn-secondary" data-i18n="settings.cancel">Cancel</button></div></div></div>@@ -413,53 +453,53 @@<!-- Danger Zone --><div class="card danger-card"><div class="card-header">- <h3>Danger Zone</h3>+ <h3 data-i18n="settings.danger_zone">Danger Zone</h3></div><div class="card-body"><div class="preference-item"><div>- <label>Delete Account</label>- <p class="text-muted">Permanently delete your account and all data</p>+ <label data-i18n="settings.delete_account">Delete Account</label>+ <p class="text-muted" data-i18n="settings.delete_account_desc">Permanently delete your account and all data</p></div>- <button id="deleteAccountBtn" class="btn btn-danger">Delete Account</button>+ <button id="deleteAccountBtn" class="btn btn-danger" data-i18n="settings.delete_account">Delete Account</button></div></div></div><!-- Admin Section - Only visible to admins --><div id="adminSection" class="admin-section" style="display: none;">- <h2>Admin Settings</h2>+ <h2 data-i18n="settings.admin_settings">Admin Settings</h2><!-- Admin Actions --><div class="card"><div class="card-header">- <h3>Admin Actions</h3>+ <h3 data-i18n="settings.admin_actions">Admin Actions</h3></div><div class="card-body"><div class="admin-actions-grid"><button id="refreshUsersBtn" class="admin-action-btn"><i class="fas fa-sync-alt"></i>- <span>Refresh Data</span>+ <span data-i18n="settings.refresh_data">Refresh Data</span></button><button id="checkAdminBtn" class="admin-action-btn"><i class="fas fa-user-shield"></i>- <span>Check Admin Status</span>+ <span data-i18n="settings.check_admin_status">Check Admin Status</span></button><button id="showUsersBtn" class="admin-action-btn"><i class="fas fa-users"></i>- <span>Show Users List</span>+ <span data-i18n="settings.show_users_list">Show Users List</span></button><button id="testApiBtn" class="admin-action-btn"><i class="fas fa-vial"></i>- <span>Test API</span>+ <span data-i18n="settings.test_api">Test API</span></button><button id="triggerNotificationsBtn" class="admin-action-btn"><i class="fas fa-envelope"></i>- <span>Send Warranty Notifications</span>+ <span data-i18n="settings.send_notifications">Send Warranty Notifications</span></button><button id="schedulerStatusBtn" class="admin-action-btn"><i class="fas fa-clock"></i>- <span>Check Scheduler Status</span>+ <span data-i18n="settings.check_scheduler">Check Scheduler Status</span></button></div></div>@@ -468,7 +508,7 @@<!-- Site Settings --><div class="card collapsible-card"><div class="card-header collapsible-header" data-target="siteSettingsContent">- <h3>Site Settings</h3>+ <h3 data-i18n="settings.site_settings">Site Settings</h3><i class="fas fa-chevron-down collapse-icon"></i></div><div class="card-body collapsible-content" id="siteSettingsContent">@@ -476,8 +516,8 @@<div class="form-group"><div class="preference-item"><div>- <label>Registration Enabled</label>- <p class="text-muted">Allow new users to register</p>+ <label data-i18n="settings.registration_enabled">Registration Enabled</label>+ <p class="text-muted" data-i18n="settings.registration_enabled_desc">Allow new users to register</p></div><label class="toggle-switch"><input type="checkbox" id="registrationEnabled">@@ -490,7 +530,7 @@<div class="form-group"><div class="preference-item"><div>- <label for="emailBaseUrl">Email Base URL</label>+ <label for="emailBaseUrl" data-i18n="settings.email_base_url">Email Base URL</label><p class="text-muted">The base URL (e.g., http://yourdomain.com) used for links in emails. No trailing slash.</p></div><input type="text" id="emailBaseUrl" class="form-control" placeholder="http://localhost:8080">@@ -501,7 +541,7 @@<div class="form-group"><div class="preference-item"><div>- <label>Global View Enabled</label>+ <label data-i18n="settings.global_view_enabled">Global View Enabled</label><p class="text-muted">Allow users to view all warranties from all users (read-only for non-owners)</p></div><label class="toggle-switch">@@ -515,7 +555,7 @@<div class="form-group"><div class="preference-item"><div>- <label>Global View Admin Only</label>+ <label data-i18n="settings.global_view_admin_only">Global View Admin Only</label><p class="text-muted">Restrict global view access to administrators only (requires Global View to be enabled)</p></div><label class="toggle-switch">@@ -525,7 +565,7 @@</div></div>- <button type="button" id="saveSiteSettingsBtn" class="btn btn-primary">Save Site Settings</button>+ <button type="button" id="saveSiteSettingsBtn" class="btn btn-primary" data-i18n="settings.save_site_settings">Save Site Settings</button></form></div></div>@@ -533,7 +573,7 @@<!-- OIDC SSO Configuration Card --><div class="card collapsible-card"><div class="card-header collapsible-header" data-target="oidcSettingsContent">- <h3>OIDC SSO Configuration</h3>+ <h3 data-i18n="settings.oidc_configuration">OIDC SSO Configuration</h3><i class="fas fa-chevron-down collapse-icon"></i></div><div class="card-body collapsible-content" id="oidcSettingsContent">@@ -541,8 +581,8 @@<div class="form-group"><div class="preference-item"><div>- <label for="oidcEnabled">Enable OIDC SSO</label>- <p class="text-muted">Allow users to log in via an OIDC provider.</p>+ <label for="oidcEnabled" data-i18n="settings.enable_oidc">Enable OIDC SSO</label>+ <p class="text-muted" data-i18n="settings.oidc_sso_desc">Allow users to log in via an OIDC provider.</p></div><label class="toggle-switch"><input type="checkbox" id="oidcEnabled">@@ -554,8 +594,8 @@<div class="form-group"><div class="preference-item"><div>- <label for="oidcOnlyMode">OIDC-Only Login Mode</label>- <p class="text-muted">Hide traditional username/password login form and only allow OIDC login. <strong>Warning:</strong> Ensure OIDC is properly configured before enabling this option.</p>+ <label for="oidcOnlyMode" data-i18n="settings.oidc_only_mode">OIDC-Only Login Mode</label>+ <p class="text-muted" data-i18n="settings.oidc_only_mode_desc">Hide traditional username/password login form and only allow OIDC login. <strong>Warning:</strong> Ensure OIDC is properly configured before enabling this option.</p></div><label class="toggle-switch"><input type="checkbox" id="oidcOnlyMode">@@ -565,36 +605,36 @@</div><div class="form-group">- <label for="oidcProviderName">OIDC Provider Name</label>+ <label for="oidcProviderName" data-i18n="settings.oidc_provider_name">OIDC Provider Name</label><input type="text" id="oidcProviderName" class="form-control" placeholder="e.g., oidc, keycloak, google">- <small class="text-muted">Internal name for the OIDC client (e.g., 'oidc').</small>+ <small class="text-muted" data-i18n="settings.oidc_provider_name_desc">Internal name for the OIDC client (e.g., 'oidc').</small></div><div class="form-group">- <label for="oidcClientId">Client ID</label>+ <label for="oidcClientId" data-i18n="settings.client_id">Client ID</label><input type="text" id="oidcClientId" class="form-control" placeholder="Enter OIDC Client ID"></div><div class="form-group">- <label for="oidcClientSecret">Client Secret</label>+ <label for="oidcClientSecret" data-i18n="settings.client_secret">Client Secret</label><input type="password" id="oidcClientSecret" class="form-control" placeholder="Enter new secret or leave blank to keep existing">- <small class="text-muted">Sensitive value. Stored in the database. An application restart is required for changes to take effect.</small>+ <small class="text-muted" data-i18n="settings.client_secret_desc">Sensitive value. Stored in the database. An application restart is required for changes to take effect.</small></div><div class="form-group">- <label for="oidcIssuerUrl">Issuer URL</label>+ <label for="oidcIssuerUrl" data-i18n="settings.issuer_url">Issuer URL</label><input type="url" id="oidcIssuerUrl" class="form-control" placeholder="e.g., https://your-provider.com/realms/your-realm">- <small class="text-muted">The base URL of your OIDC provider.</small>+ <small class="text-muted" data-i18n="settings.issuer_url_desc">The base URL of your OIDC provider.</small></div><div class="form-group">- <label for="oidcScope">Scope</label>+ <label for="oidcScope" data-i18n="settings.scope">Scope</label><input type="text" id="oidcScope" class="form-control" placeholder="e.g., openid email profile">- <small class="text-muted">Space-separated OIDC scopes.</small>+ <small class="text-muted" data-i18n="settings.scope_desc">Space-separated OIDC scopes.</small></div>- <button type="button" id="saveOidcSettingsBtn" class="btn btn-primary">Save OIDC Settings</button>- <p id="oidcRestartMessage" class="text-muted" style="margin-top: 10px; display: none;">Application restart is required for OIDC settings to take full effect.</p>+ <button type="button" id="saveOidcSettingsBtn" class="btn btn-primary" data-i18n="settings.save_oidc_settings">Save OIDC Settings</button>+ <p id="oidcRestartMessage" class="text-muted" style="margin-top: 10px; display: none;" data-i18n="settings.oidc_restart_message">Application restart is required for OIDC settings to take full effect.</p></form></div></div>@@ -602,23 +642,23 @@<!-- Paperless-ngx Integration Configuration Card --><div class="card collapsible-card"><div class="card-header collapsible-header" data-target="paperlessSettingsContent">- <h3>Paperless-ngx Integration</h3>+ <h3 data-i18n="settings.paperless_ngx_settings">Paperless-ngx Integration</h3><i class="fas fa-chevron-down collapse-icon"></i></div><div class="card-body collapsible-content" id="paperlessSettingsContent"><div class="alert alert-info" style="margin-bottom: 20px;"><i class="fas fa-info-circle"></i>- <strong>About Paperless-ngx Integration:</strong>- This optional feature allows you to store warranty documents in your self-hosted Paperless-ngx instance instead of locally.- When enabled, users can choose where to store each document: locally or in Paperless-ngx.+ <strong data-i18n="settings.paperless_ngx_about_title">About Paperless-ngx Integration:</strong>+ <span data-i18n="settings.paperless_ngx_about_desc">This optional feature allows you to store warranty documents in your self-hosted Paperless-ngx instance instead of locally.+ When enabled, users can choose where to store each document: locally or in Paperless-ngx.</span></div><form id="paperlessSettingsForm"><div class="form-group"><div class="preference-item"><div>- <label>Enable Paperless-ngx Integration</label>- <p class="text-muted">Allow users to store warranty documents in Paperless-ngx</p>+ <label data-i18n="settings.enable_paperless">Enable Paperless-ngx Integration</label>+ <p class="text-muted" data-i18n="settings.paperless_ngx_desc">Allow users to store warranty documents in Paperless-ngx</p></div><label class="toggle-switch"><input type="checkbox" id="paperlessEnabled">@@ -629,22 +669,22 @@<div id="paperlessSettingsContainer" style="display: none;"><div class="form-group">- <label for="paperlessUrl">Paperless-ngx URL</label>+ <label for="paperlessUrl" data-i18n="settings.paperless_url">Paperless-ngx URL</label><input type="url" id="paperlessUrl" class="form-control" placeholder="https://paperless.yourdomain.com">- <small class="text-muted">The base URL of your Paperless-ngx instance (without trailing slash).</small>+ <small class="text-muted" data-i18n="settings.paperless_url_desc">The base URL of your Paperless-ngx instance (without trailing slash).</small></div><div class="form-group">- <label for="paperlessApiToken">API Token</label>+ <label for="paperlessApiToken" data-i18n="settings.paperless_token">API Token</label><input type="password" id="paperlessApiToken" class="form-control" placeholder="Enter API token or leave blank to keep existing">- <small class="text-muted">Generate an API token from your Paperless-ngx instance (Settings → API Tokens).</small>+ <small class="text-muted" data-i18n="settings.paperless_token_desc_generate">Generate an API token from your Paperless-ngx instance (Settings → API Tokens).</small></div><div class="form-group"><div class="preference-item"><div>- <label>View Documents in Warracker</label>- <p class="text-muted">View Paperless-ngx documents within Warracker instead of opening them in Paperless domain</p>+ <label data-i18n="settings.paperless_view_in_app">View Documents in Warracker</label>+ <p class="text-muted" data-i18n="settings.paperless_view_in_app_desc">View Paperless-ngx documents within Warracker instead of opening them in Paperless domain</p></div><label class="toggle-switch"><input type="checkbox" id="paperlessViewInApp">@@ -654,16 +694,16 @@</div><div class="form-group" style="margin-top: 20px;">- <label>Connection Testing</label>+ <label data-i18n="settings.connection_testing">Connection Testing</label><div class="paperless-button-group"><button type="button" id="testPaperlessConnectionBtn" class="btn btn-secondary">- <i class="fas fa-plug"></i> Test Connection+ <i class="fas fa-plug"></i> <span data-i18n="settings.test_paperless">Test Connection</span></button><button type="button" id="debugPaperlessBtn" class="btn btn-info">- <i class="fas fa-bug"></i> Debug Config+ <i class="fas fa-bug"></i> <span data-i18n="settings.debug_config">Debug Config</span></button><button type="button" id="testFileUploadBtn" class="btn btn-warning">- <i class="fas fa-upload"></i> Test Upload+ <i class="fas fa-upload"></i> <span data-i18n="settings.test_upload">Test Upload</span></button></div><div id="paperlessConnectionStatus" class="paperless-status-message"></div>@@ -671,7 +711,7 @@</div><button type="button" id="savePaperlessSettingsBtn" class="btn btn-primary" style="margin-top: 15px;">- <i class="fas fa-save"></i> Save Paperless-ngx Settings+ <i class="fas fa-save"></i> <span data-i18n="settings.save_paperless_settings">Save Paperless-ngx Settings</span></button></form></div>@@ -680,21 +720,21 @@<!-- Apprise Notifications Configuration Card --><div class="card collapsible-card"><div class="card-header collapsible-header" data-target="appriseNotificationsContent">- <h3>Apprise Notifications <span class="badge" id="appriseStatusBadge">Loading...</span></h3>+ <h3 data-i18n="settings.apprise_notifications">Apprise Notifications</h3> <span class="badge" id="appriseStatusBadge" data-i18n="settings.loading">Loading...</span><i class="fas fa-chevron-down collapse-icon"></i></div><div class="card-body collapsible-content" id="appriseNotificationsContent"><div id="appriseNotAvailable" class="alert alert-warning" style="display: none;"><i class="fas fa-exclamation-triangle"></i>- <strong>Apprise Not Available:</strong> The Apprise notification library is not installed or available. Notification features are disabled.+ <strong data-i18n="settings.apprise_not_available_title">Apprise Not Available:</strong> <span data-i18n="settings.apprise_not_available_desc">The Apprise notification library is not installed or available. Notification features are disabled.</span></div><form id="appriseSettingsForm"><div class="form-group"><div class="preference-item"><div>- <label>Enable Apprise Notifications</label>- <p class="text-muted">Enable or disable Apprise notifications system-wide</p>+ <label data-i18n="settings.enable_apprise">Enable Apprise Notifications</label>+ <p class="text-muted" data-i18n="settings.apprise_desc_system_wide">Enable or disable Apprise notifications system-wide</p></div><label class="toggle-switch"><input type="checkbox" id="appriseEnabled">@@ -704,17 +744,17 @@</div><div id="appriseSettingsContainer" style="display: none;">- <h4>Apprise Settings</h4>+ <h4 data-i18n="settings.apprise_settings">Apprise Settings</h4><div class="form-group"><div class="preference-item"><div>- <label>Notification Mode</label>- <p class="text-muted">Choose how Apprise notifications are sent.</p>+ <label data-i18n="settings.apprise_mode">Notification Mode</label>+ <p class="text-muted" data-i18n="settings.apprise_mode_desc">Choose how Apprise notifications are sent.</p></div><select id="appriseNotificationMode" class="form-control" style="max-width: 200px;">- <option value="global">Global Summary</option>- <option value="individual">Per User</option>+ <option value="global" data-i18n="settings.apprise_mode_global">Global Summary</option>+ <option value="individual" data-i18n="settings.apprise_mode_individual">Per User</option></select></div><div class="mode-description text-muted" id="appriseModeDescription" style="margin-top: 5px; padding-left: 10px; border-left: 2px solid var(--border-color);">@@ -725,12 +765,12 @@<div class="form-group"><div class="preference-item"><div>- <label>Warranty Scope</label>- <p class="text-muted">Choose which warranties to include in notifications.</p>+ <label data-i18n="settings.apprise_warranty_scope">Warranty Scope</label>+ <p class="text-muted" data-i18n="settings.apprise_warranty_scope_desc">Choose which warranties to include in notifications.</p></div><select id="appriseWarrantyScope" class="form-control" style="max-width: 200px;">- <option value="all">All Users' Warranties</option>- <option value="admin">Admin's Warranties Only</option>+ <option value="all" data-i18n="settings.all_users_warranties">All Users' Warranties</option>+ <option value="admin" data-i18n="settings.admin_warranties_only">Admin's Warranties Only</option></select></div><div class="scope-description text-muted" id="appriseScopeDescription" style="margin-top: 5px; padding-left: 10px; border-left: 2px solid var(--border-color);">@@ -739,70 +779,70 @@</div><div class="form-group">- <label for="appriseUrls">Notification URLs</label>+ <label for="appriseUrls" data-i18n="settings.apprise_url">Notification URLs</label><textarea id="appriseUrls" class="form-control" rows="4" placeholder="Enter Apprise notification URLs, one per line or comma-separated: mailto://user:[email protected] discord://webhook_id/webhook_token slack://TokenA/TokenB/TokenC/Channel telegram://BotToken/ChatID"></textarea>- <small class="text-muted">+ <small class="text-muted" data-i18n="settings.apprise_url_desc">Configure notification services using Apprise URL format.<a href="https://github.com/caronc/apprise/wiki" target="_blank" rel="noopener">View supported services and URL formats</a></small></div><div class="form-group">- <label for="appriseExpirationDays">Notification Days</label>+ <label for="appriseExpirationDays" data-i18n="settings.apprise_notification_days">Notification Days</label><input type="text" id="appriseExpirationDays" class="form-control" placeholder="7,30" value="7,30">- <small class="text-muted">Days before expiration to send notifications (comma-separated, e.g., "7,30" for 7 days and 30 days before)</small>+ <small class="text-muted" data-i18n="settings.apprise_notification_days_desc">Days before expiration to send notifications (comma-separated, e.g., "7,30" for 7 days and 30 days before)</small></div><div class="form-group"><div class="preference-item"><div>- <label>Check Frequency</label>- <p class="text-muted">How often the system checks for expiring warranties (global setting)</p>+ <label data-i18n="settings.apprise_check_frequency">Check Frequency</label>+ <p class="text-muted" data-i18n="settings.apprise_check_frequency_desc">How often the system checks for expiring warranties (global setting)</p></div><select id="appriseNotificationFrequency" class="form-control">- <option value="daily">Daily</option>- <option value="weekly">Weekly</option>- <option value="monthly">Monthly</option>+ <option value="daily" data-i18n="settings.daily">Daily</option>+ <option value="weekly" data-i18n="settings.weekly">Weekly</option>+ <option value="monthly" data-i18n="settings.monthly">Monthly</option></select></div></div><div class="form-group">- <label for="appriseTitlePrefix">Message Title Prefix</label>+ <label for="appriseTitlePrefix" data-i18n="settings.apprise_title_prefix">Message Title Prefix</label><input type="text" id="appriseTitlePrefix" class="form-control" placeholder="[Warracker]" value="[Warracker]">- <small class="text-muted">Prefix added to notification titles (e.g., "[Warracker]" results in "[Warracker] Warranties Expiring Soon")</small>+ <small class="text-muted" data-i18n="settings.apprise_title_prefix_desc">Prefix added to notification titles (e.g., "[Warracker]" results in "[Warracker] Warranties Expiring Soon")</small></div><div class="form-group">- <label for="appriseTestUrl">Test URL (Optional)</label>+ <label for="appriseTestUrl" data-i18n="settings.apprise_test_url">Test URL (Optional)</label><input type="text" id="appriseTestUrl" class="form-control" placeholder="mailto://[email protected] or discord://webhook_id/webhook_token">- <small class="text-muted">Optional: URL for sending test notifications only (won't be saved to main configuration)</small>+ <small class="text-muted" data-i18n="settings.apprise_test_url_desc">Optional: URL for sending test notifications only (won't be saved to main configuration)</small></div><div class="apprise-actions" style="margin-top: 20px;"><button type="button" id="saveAppriseSettingsBtn" class="btn btn-primary">- <i class="fas fa-save"></i> Save Apprise Settings+ <i class="fas fa-save"></i> <span data-i18n="settings.save_apprise_settings">Save Apprise Settings</span></button><button type="button" id="testAppriseBtn" class="btn btn-secondary">- <i class="fas fa-paper-plane"></i> Send Test Notification+ <i class="fas fa-paper-plane"></i> <span data-i18n="settings.test_apprise">Send Test Notification</span></button><button type="button" id="validateAppriseUrlBtn" class="btn btn-info">- <i class="fas fa-check-circle"></i> Validate URLs+ <i class="fas fa-check-circle"></i> <span data-i18n="settings.validate_urls">Validate URLs</span></button><button type="button" id="triggerAppriseNotificationsBtn" class="btn btn-warning">- <i class="fas fa-bell"></i> Send Expiration Notifications Now+ <i class="fas fa-bell"></i> <span data-i18n="settings.send_expiration_notifications_now">Send Expiration Notifications Now</span></button></div><div id="appriseCurrentStatus" class="mt-3" style="margin-top: 15px;">- <h4>Current Status</h4>+ <h4 data-i18n="settings.apprise_current_status">Current Status</h4><div class="status-grid"><div class="status-item">- <span class="status-label">URLs Configured:</span>+ <span class="status-label" data-i18n="settings.apprise_urls_configured">URLs Configured:</span><span id="appriseUrlsCount" class="status-value">0</span></div><div class="status-item">- <span class="status-label">Notification Days:</span>+ <span class="status-label" data-i18n="settings.apprise_notification_days">Notification Days:</span><span id="currentAppriseExpirationDays" class="status-value">-</span></div>@@ -810,15 +850,15 @@</div><div id="appriseSupportedServices" class="mt-3" style="margin-top: 15px;">- <h4>Supported Services</h4>+ <h4 data-i18n="settings.apprise_supported_services">Supported Services</h4><div class="services-info">- <p class="text-muted">+ <p class="text-muted" data-i18n="settings.apprise_supported_services_desc">Apprise supports 80+ notification services including:Discord, Slack, Telegram, Email (Gmail, Outlook), Webhooks, Microsoft Teams,Matrix, Pushover, Ntfy, Gotify, and many more.</p><button type="button" id="viewSupportedServicesBtn" class="btn btn-link">- <i class="fas fa-external-link-alt"></i> View Full List of Supported Services+ <i class="fas fa-external-link-alt"></i> <span data-i18n="settings.view_full_list_of_supported_services">View Full List of Supported Services</span></button></div></div>@@ -830,22 +870,22 @@<!-- Ownership Management Section - Only visible to the owner --><div id="ownershipSection" class="ownership-section" style="display: none;">- <h2><i class="fas fa-crown" style="color: #f39c12; margin-right: 8px;"></i>Ownership Management</h2>+ <h2><i class="fas fa-crown" style="color: #f39c12; margin-right: 8px;"></i><span data-i18n="settings.ownership_management">Ownership Management</span></h2><div id="ownershipCard" class="card danger-card"><div class="card-header">- <h3>Transfer Ownership</h3>+ <h3 data-i18n="settings.transfer_ownership">Transfer Ownership</h3></div><div class="card-body">- <p class="text-danger"><strong>Warning:</strong> Transfer application ownership to another admin user. This action is irreversible.</p>- <p>Once ownership is transferred, you will become a regular admin and the new owner will have ultimate control over the application.</p>+ <p class="text-danger"><strong data-i18n="settings.warning_title">Warning:</strong> <span data-i18n="settings.transfer_ownership_warning">Transfer application ownership to another admin user. This action is irreversible.</span></p>+ <p data-i18n="settings.transfer_ownership_desc">Once ownership is transferred, you will become a regular admin and the new owner will have ultimate control over the application.</p><div class="form-group">- <label for="newOwnerSelect">Select New Owner (must be an admin)</label>+ <label for="newOwnerSelect" data-i18n="settings.select_new_owner">Select New Owner (must be an admin)</label><select id="newOwnerSelect" class="form-control">- <option value="">Select an admin user...</option>+ <option value="" data-i18n="settings.select_admin_user">Select an admin user...</option></select></div>- <button id="transferOwnershipBtn" class="btn btn-danger" disabled>Transfer Ownership</button>+ <button id="transferOwnershipBtn" class="btn btn-danger" disabled data-i18n="settings.transfer_ownership_button">Transfer Ownership</button></div></div></div>@@ -856,24 +896,24 @@<div id="transferOwnershipModal" class="modal-backdrop"><div class="modal"><div class="modal-header">- <h3 class="modal-title"><i class="fas fa-crown" style="color: #f39c12; margin-right: 8px;"></i>Transfer Ownership</h3>+ <h3 class="modal-title"><i class="fas fa-crown" style="color: #f39c12; margin-right: 8px;"></i><span data-i18n="settings.transfer_ownership">Transfer Ownership</span></h3><button class="close-btn" data-dismiss="modal">×</button></div><div class="modal-body">- <p class="text-danger"><strong>Warning: This action cannot be undone.</strong></p>- <p>You are about to transfer application ownership to <strong><span id="transferTargetUsername"></span></strong>.</p>- <p>After this transfer:</p>+ <p class="text-danger"><strong data-i18n="settings.warning_title">Warning:</strong> <span data-i18n="settings.transfer_ownership_irreversible">This action cannot be undone.</span></p>+ <p><span data-i18n="settings.transfer_ownership_confirmation">You are about to transfer application ownership to</span> <strong><span id="transferTargetUsername"></span></strong>.</p>+ <p data-i18n="settings.after_this_transfer">After this transfer:</p><ul>- <li>You will become a regular admin</li>- <li>The new owner will have ultimate control over the application</li>- <li>Only the new owner can transfer ownership again</li>+ <li data-i18n="settings.transfer_ownership_consequence_1">You will become a regular admin</li>+ <li data-i18n="settings.transfer_ownership_consequence_2">The new owner will have ultimate control over the application</li>+ <li data-i18n="settings.transfer_ownership_consequence_3">Only the new owner can transfer ownership again</li></ul>- <p>To confirm, please type <strong>"TRANSFER"</strong> in the field below:</p>+ <p data-i18n="settings.transfer_ownership_type_to_confirm">To confirm, please type <strong>"TRANSFER"</strong> in the field below:</p><input type="text" id="transferConfirmInput" class="form-control" placeholder="Type TRANSFER to confirm"></div><div class="modal-footer">- <button class="btn btn-secondary" data-dismiss="modal">Cancel</button>- <button id="confirmTransferOwnershipBtn" class="btn btn-danger" disabled>Transfer Ownership</button>+ <button class="btn btn-secondary" data-dismiss="modal" data-i18n="actions.cancel">Cancel</button>+ <button id="confirmTransferOwnershipBtn" class="btn btn-danger" disabled data-i18n="settings.transfer_ownership_button">Transfer Ownership</button></div></div></div>@@ -1079,14 +1119,14 @@<div id="toastContainer" class="toast-container"></div><!-- Scripts -->- <script src="auth.js?v=20250529006"></script>- <script src="settings-new.js?v=20250617018"></script>+ <script src="auth.js?v=20250118003"></script>+ <script src="settings-new.js?v=20250118003"></script><!-- Footer Width Fix -->- <script src="footer-fix.js"></script>+ <script src="footer-fix.js?v=20250118003"></script><!-- Footer Content Manager -->- <script src="footer-content.js"></script>+ <script src="footer-content.js?v=20250118003"></script><!-- Powered by Warracker Footer --><footer class="warracker-footer" id="warrackerFooter">diff --git a/frontend/settings-new.js b/frontend/settings-new.jsindex dda1070..ead47a5 100644--- a/frontend/settings-new.js+++ b/frontend/settings-new.js@@ -1,6 +1,7 @@// DOM Elementsconst darkModeToggle = document.getElementById('darkModeToggle');const darkModeToggleSetting = document.getElementById('darkModeToggleSetting');+const languageSelect = document.getElementById('languageSelect');const defaultViewSelect = document.getElementById('defaultView');const expiringSoonDaysInput = document.getElementById('expiringSoonDays');const notificationChannel = document.getElementById('notificationChannel');@@ -166,6 +167,38 @@ async function loadCurrenciesForSettings() {}}+/**+ * Initialize language selector+ */+function initLanguageSelector() {+ if (!languageSelect) return;++ // Get current language+ const currentLang = window.i18n?.getCurrentLanguage() || 'en';+ languageSelect.value = currentLang;++ // Add event listener for language changes+ languageSelect.addEventListener('change', async function() {+ const selectedLanguage = this.value;+ console.log('Language changed to:', selectedLanguage);++ if (window.i18n?.changeLanguage) {+ try {+ await window.i18n.changeLanguage(selectedLanguage);+ showToast(window.t('messages.saved') || 'Language changed successfully', 'success');++ // Reload page after a short delay to apply all translations+ setTimeout(() => {+ window.location.reload();+ }, 1000);+ } catch (error) {+ console.error('Failed to change language:', error);+ showToast(window.t('messages.error') || 'Failed to change language', 'error');+ }+ }+ });+}+/*** Set theme (dark/light) - Unified and persistent* @param {boolean} isDark - Whether to use dark mode@@ -341,6 +374,9 @@ document.addEventListener('DOMContentLoaded', function() {function initPage() {console.log('Initializing settings page');+ // Initialize language selector+ initLanguageSelector();+// Check authenticationif (window.auth) {window.auth.checkAuthState();@@ -910,6 +946,65 @@ async function loadPreferences() {} else {console.log('No timezone preference found in API or timezone select element missing.');}++ // Load and set language preference+ if (apiPrefs.preferred_language && languageSelect) {+ console.log('API provided language:', apiPrefs.preferred_language);+ // Ensure the option exists before setting+ if (Array.from(languageSelect.options).some(option => option.value === apiPrefs.preferred_language)) {+ languageSelect.value = apiPrefs.preferred_language;+ console.log('Applied language from API:', languageSelect.value);++ // Trigger language change if different from current+ if (window.i18n?.changeLanguage && window.i18n?.getCurrentLanguage) {+ const currentLang = window.i18n.getCurrentLanguage();+ if (apiPrefs.preferred_language !== currentLang) {+ console.log(`Language preference (${apiPrefs.preferred_language}) differs from current (${currentLang}), changing language`);+ window.i18n.changeLanguage(apiPrefs.preferred_language).catch(error => {+ console.error('Failed to change language from API preference:', error);+ });+ }+ }+ } else {+ console.warn(`Language '${apiPrefs.preferred_language}' from API not found in dropdown.`);+ }+ } else {+ // Load from localStorage if no API preference+ const storedLanguage = localStorage.getItem('preferred_language') || 'en';+ if (languageSelect) {+ languageSelect.value = storedLanguage;+ console.log('Applied language from localStorage:', storedLanguage);++ // Trigger language change if different from current+ if (window.i18n?.changeLanguage && window.i18n?.getCurrentLanguage) {+ const currentLang = window.i18n.getCurrentLanguage();+ if (storedLanguage !== currentLang) {+ console.log(`Stored language (${storedLanguage}) differs from current (${currentLang}), changing language`);+ window.i18n.changeLanguage(storedLanguage).catch(error => {+ console.error('Failed to change language from localStorage:', error);+ });+ }+ }+ }+ }+ } else {+ // No API preferences, load language from localStorage+ const storedLanguage = localStorage.getItem('preferred_language') || 'en';+ if (languageSelect) {+ languageSelect.value = storedLanguage;+ console.log('Applied language from localStorage (no API):', storedLanguage);++ // Trigger language change if different from current+ if (window.i18n?.changeLanguage && window.i18n?.getCurrentLanguage) {+ const currentLang = window.i18n.getCurrentLanguage();+ if (storedLanguage !== currentLang) {+ console.log(`Stored language (${storedLanguage}) differs from current (${currentLang}), changing language`);+ window.i18n.changeLanguage(storedLanguage).catch(error => {+ console.error('Failed to change language from localStorage (no API):', error);+ });+ }+ }+ }}// Reset the loading flag@@ -1435,6 +1530,7 @@ async function savePreferences() {date_format: dateFormatSelect ? dateFormatSelect.value : 'MDY',theme: isDark ? 'dark' : 'light', // Use current UI state, not old localStoragepaperless_view_in_app: paperlessViewInAppToggle ? paperlessViewInAppToggle.checked : false,+ preferred_language: languageSelect ? languageSelect.value : 'en', // Include language preference};// Handle currency symbol (standard or custom)@@ -1471,6 +1567,7 @@ async function savePreferences() {console.log(`[SavePrefs Debug] Final currencyCode value determined: ${currencyCode}`);console.log(`[SavePrefs Debug] Currency Position Value: ${currencyPosition}`);console.log(`[SavePrefs Debug] Theme being saved: ${preferencesToSave.theme} (from isDark: ${isDark})`);+ console.log(`[SavePrefs Debug] Language being saved: ${preferencesToSave.preferred_language}`);// +++ END DEBUG LOGGING +++// Apply the theme to the UI (this updates localStorage too)@@ -1485,6 +1582,7 @@ async function savePreferences() {localStorage.setItem(`${prefix}currencyPosition`, preferencesToSave.currency_position);localStorage.setItem(`${prefix}expiringSoonDays`, preferencesToSave.expiring_soon_days);localStorage.setItem(`${prefix}paperlessViewInApp`, preferencesToSave.paperless_view_in_app);+ localStorage.setItem('preferred_language', preferencesToSave.preferred_language); // Save language preferenceconsole.log('Preferences saved to localStorage (prefix:', prefix, '):', preferencesToSave);console.log(`Value of dateFormat in localStorage: ${localStorage.getItem('dateFormat')}`);@@ -1508,6 +1606,23 @@ async function savePreferences() {if (response.ok) {showToast('Preferences saved successfully.', 'success');console.log('Preferences successfully saved to API.');++ // If language was changed, trigger the actual language change+ if (preferencesToSave.preferred_language && window.i18n?.changeLanguage) {+ const currentLang = window.i18n.getCurrentLanguage ? window.i18n.getCurrentLanguage() : 'en';+ if (preferencesToSave.preferred_language !== currentLang) {+ console.log(`Language changed from ${currentLang} to ${preferencesToSave.preferred_language}, triggering page translation`);+ try {+ await window.i18n.changeLanguage(preferencesToSave.preferred_language);+ // Reload page after a short delay to apply all translations+ setTimeout(() => {+ window.location.reload();+ }, 1000);+ } catch (error) {+ console.error('Failed to change language after saving preferences:', error);+ }+ }+ }} else {console.error('Preferences save failed. Response status:', response.status);console.error('Response headers:', Object.fromEntries(response.headers.entries()));diff --git a/frontend/settings-styles.css b/frontend/settings-styles.cssindex 9b51542..a40b4fc 100644--- a/frontend/settings-styles.css+++ b/frontend/settings-styles.css@@ -1310,3 +1310,57 @@ textarea.form-control {}}+++/* RTL Language Support for Settings */+[dir=\+rtl\] .settings-container {+ text-align: right;+}++[dir=\rtl\] .collapsible-card {+ text-align: right;+}++[dir=\rtl\] .collapsible-header {+ justify-content: space-between;+ text-align: right;+}++[dir=\rtl\] .collapse-icon {+ order: -1;+ margin-left: 0;+ margin-right: 10px;+}++[dir=\rtl\] .form-group label {+ text-align: right;+}++[dir=\rtl\] .text-muted {+ text-align: right;+}++[dir=\rtl\] .toggle-group {+ flex-direction: row-reverse;+}++[dir=\rtl\] .preference-item {+ text-align: right;+}++[dir=\rtl\] .preference-item > div:first-child {+ text-align: right;+}++[dir=\rtl\] .current-user-info {+ text-align: right;+}++[dir=\rtl\] .admin-section {+ text-align: right;+}++[dir=\rtl\] .danger-zone {+ text-align: right;+}diff --git a/frontend/status.html b/frontend/status.htmlindex 744d4ca..3bffcee 100644--- a/frontend/status.html+++ b/frontend/status.html@@ -1,36 +1,42 @@<!DOCTYPE html>-<html lang="en">+<html><head><!-- Authentication redirect script -->- <script src="auth-redirect.js" data-protected="true"></script>+ <script src="auth-redirect.js?v=20250118003" data-protected="true"></script><!-- Include authentication script first to handle login state immediately -->- <script src="include-auth-new.js"></script>+ <script src="include-auth-new.js?v=20250118003"></script><!-- File utilities script for secure file handling -->- <script src="file-utils.js"></script>+ <script src="file-utils.js?v=20250118003"></script><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>Status - Warracker</title>+ <title data-i18n="status.title">Status - Warracker</title><!-- Favicons --><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"><link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png?v=2"><link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png?v=2"><link rel="apple-touch-icon" sizes="180x180" href="img/favicon-512x512.png"><link rel="manifest" href="manifest.json">- <link rel="stylesheet" href="style.css?v=20250529005">- <script src="theme-loader.js"></script> <!-- Apply theme early -->+ <link rel="stylesheet" href="style.css?v=20250118003">+ <script src="theme-loader.js?v=20250118003"></script> <!-- Apply theme early --><!-- Font Awesome for icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><!-- Load header fix styles to ensure consistent header styling -->- <link rel="stylesheet" href="header-fix.css?v=20250529005">+ <link rel="stylesheet" href="header-fix.css?v=20250118003"><!-- Chart.js for visualizations -->- <script src="chart.js"></script>+ <script src="chart.js?v=20250118003"></script>+ <!-- i18next Local Scripts -->+ <script src="js/lib/i18next.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextHttpBackend.min.js?v=20250118003"></script>+ <script src="js/lib/i18nextBrowserLanguageDetector.min.js?v=20250118003"></script>+ <!-- i18n initialization script -->+ <script src="js/i18n.js?v=20250118003"></script><!-- Load fix for auth buttons -->- <script src="fix-auth-buttons-loader.js"></script>- <script src="script.js?v=20250617018" defer></script> <!-- Added script.js -->- <script src="status.js" defer></script> <!-- Status page specific functionality -->+ <script src="fix-auth-buttons-loader.js?v=20250118003"></script>+ <script src="script.js?v=20250118003" defer></script> <!-- Added script.js -->+ <script src="status.js?v=20250118003" defer></script> <!-- Status page specific functionality --><style>.user-menu {position: relative;@@ -306,10 +312,10 @@</div><div class="nav-links"><a href="index.html" class="nav-link">- <i class="fas fa-home"></i> Home+ <i class="fas fa-home"></i> <span data-i18n="nav.home">Home</span></a><a href="status.html" class="nav-link active">- <i class="fas fa-chart-pie"></i> Status+ <i class="fas fa-chart-pie"></i> <span data-i18n="nav.status">Status</span></a></div><!-- Group for right-aligned elements -->@@ -334,15 +340,15 @@</div><div class="user-menu-item"><a href="settings-new.html" style="color: inherit; text-decoration: none; display: block;">- <i class="fas fa-cog"></i> Settings+ <i class="fas fa-cog"></i> <span data-i18n="nav.settings">Settings</span></a></div><div class="user-menu-item"><i class="fas fa-info-circle"></i>- <a href="about.html" style="text-decoration: none; color: inherit;">About</a>+ <a href="about.html" style="text-decoration: none; color: inherit;" data-i18n="nav.about">About</a></div><div class="user-menu-item" id="logoutMenuItem">- <i class="fas fa-sign-out-alt"></i> Logout+ <i class="fas fa-sign-out-alt"></i> <span data-i18n="auth.logout">Logout</span></div></div></div>@@ -354,7 +360,7 @@<div class="container"><div class="status-content"><div class="dashboard-header">- <h2 id="dashboardTitle">Warranty Status Dashboard</h2>+ <h2 id="dashboardTitle" data-i18n="status.dashboard_title">Warranty Status Dashboard</h2><div class="dashboard-controls"><!-- Global View Controls (hidden by default, shown for eligible users) --><div id="viewSwitcher" class="view-switcher" style="display: none;">@@ -395,7 +401,7 @@<i class="fas fa-check-circle"></i></div><div class="card-content">- <h3>Active</h3>+ <h3 data-i18n="status.active_warranties">Active</h3><p class="count" id="activeCount">0</p></div></div>@@ -405,7 +411,7 @@<i class="fas fa-exclamation-circle"></i></div><div class="card-content">- <h3>Expiring Soon</h3>+ <h3 data-i18n="status.expiring_soon">Expiring Soon</h3><p class="count" id="expiringCount">0</p></div></div>@@ -415,7 +421,7 @@<i class="fas fa-times-circle"></i></div><div class="card-content">- <h3>Expired</h3>+ <h3 data-i18n="status.expired_warranties">Expired</h3><p class="count" id="expiredCount">0</p></div></div>@@ -425,7 +431,7 @@<i class="fas fa-shield-alt"></i></div><div class="card-content">- <h3>Total</h3>+ <h3 data-i18n="status.total_warranties">Total</h3><p class="count" id="totalCount">0</p></div></div>@@ -434,14 +440,14 @@<!-- Charts Section --><div class="charts-container"><div class="chart-card">- <h3>Warranty Status Distribution</h3>+ <h3 data-i18n="status.warranty_distribution">Warranty Status Distribution</h3><div class="chart-container"><canvas id="statusChart"></canvas></div></div><div class="chart-card">- <h3>Expiration Timeline</h3>+ <h3 data-i18n="status.expiration_timeline">Expiration Timeline</h3><div class="chart-container"><canvas id="timelineChart"></canvas></div>@@ -451,22 +457,22 @@<!-- Recent Expirations --><div class="recent-expirations"><div class="table-header">- <h3>Recently Expired or Expiring Soon</h3>+ <h3 data-i18n="status.recent_expirations">Recently Expired or Expiring Soon</h3><div class="table-actions"><div class="search-box"><i class="fas fa-search"></i>- <input type="text" id="searchWarranties" placeholder="Search warranties...">+ <input type="text" id="searchWarranties" placeholder="Search warranties..." data-i18n="[placeholder]warranties.search_placeholder"></div><div class="filter-options"><select id="statusFilter" class="filter-select">- <option value="all">All Statuses</option>- <option value="active">Active</option>- <option value="expiring">Expiring Soon</option>- <option value="expired">Expired</option>+ <option value="all" data-i18n="filters.all_status">All Statuses</option>+ <option value="active" data-i18n="warranties.active">Active</option>+ <option value="expiring" data-i18n="warranties.expiring_soon">Expiring Soon</option>+ <option value="expired" data-i18n="warranties.expired">Expired</option></select></div><button id="exportBtn" class="export-btn" title="Export data">- <i class="fas fa-download"></i> <span class="export-text">Export</span>+ <i class="fas fa-download"></i> <span class="export-text" data-i18n="actions.export">Export</span></button></div></div>@@ -474,11 +480,11 @@<table id="recentExpirationsTable"><thead><tr id="tableHeader">- <th class="sortable" data-sort="product">Product <i class="fas fa-sort"></i></th>- <th class="sortable" data-sort="purchase">Purchase Date <i class="fas fa-sort"></i></th>- <th class="sortable" data-sort="expiration">Expiration Date <i class="fas fa-sort"></i></th>- <th class="sortable" data-sort="status">Status <i class="fas fa-sort"></i></th>- <th id="ownerHeader" class="sortable" data-sort="owner" style="display: none;">Owner <i class="fas fa-sort"></i></th>+ <th class="sortable" data-sort="product"><span data-i18n="warranties.product">Product</span> <i class="fas fa-sort"></i></th>+ <th class="sortable" data-sort="purchase"><span data-i18n="warranties.purchase_date">Purchase Date</span> <i class="fas fa-sort"></i></th>+ <th class="sortable" data-sort="expiration"><span data-i18n="warranties.expiration_date">Expiration Date</span> <i class="fas fa-sort"></i></th>+ <th class="sortable" data-sort="status"><span data-i18n="warranties.status">Status</span> <i class="fas fa-sort"></i></th>+ <th id="ownerHeader" class="sortable" data-sort="owner" style="display: none;"><span data-i18n="warranties.owner">Owner</span> <i class="fas fa-sort"></i></th></tr></thead><tbody id="recentExpirationsBody">@@ -498,23 +504,23 @@<div id="editModal" class="modal-backdrop"><div class="modal"><div class="modal-header">- <h3 class="modal-title">Edit Warranty</h3>+ <h3 class="modal-title" data-i18n="warranties.edit_warranty">Edit Warranty</h3><button class="close-btn" data-dismiss="modal">×</button></div><div class="modal-body"><!-- Tab Navigation --><div class="edit-tabs-nav"><button type="button" class="edit-tab-btn active" data-tab="edit-product-info">- <i class="fas fa-box"></i> Product+ <i class="fas fa-box"></i> <span data-i18n="warranties.product">Product</span></button><button type="button" class="edit-tab-btn" data-tab="edit-warranty-details">- <i class="fas fa-shield-alt"></i> Warranty+ <i class="fas fa-shield-alt"></i> <span data-i18n="warranties.warranty">Warranty</span></button><button type="button" class="edit-tab-btn" data-tab="edit-documents">- <i class="fas fa-file-alt"></i> Documents+ <i class="fas fa-file-alt"></i> <span data-i18n="warranties.documents">Documents</span></button><button type="button" class="edit-tab-btn" data-tab="edit-tags">- <i class="fas fa-tags"></i> Tags+ <i class="fas fa-tags"></i> <span data-i18n="warranties.tags">Tags</span></button></div>@@ -524,31 +530,31 @@<!-- Product Info Tab --><div class="edit-tab-content active" id="edit-product-info"><div class="form-group">- <label for="editProductName">Product Name</label>+ <label for="editProductName" data-i18n="warranties.product_name">Product Name</label><input type="text" id="editProductName" name="product_name" class="form-control" required></div><div class="form-group">- <label for="editProductUrl">Product URL (Optional)</label>+ <label for="editProductUrl" data-i18n="warranties.product_url_optional">Product URL (Optional)</label><input type="text" id="editProductUrl" name="product_url" class="form-control" placeholder="https://example.com/product"></div><div class="form-group">- <label>Serial Numbers</label>+ <label data-i18n="warranties.serial_numbers">Serial Numbers</label><div id="editSerialNumbersContainer"><!-- Serial number inputs will be added dynamically --></div></div><div class="form-group">- <label for="editVendor">Vendor (Optional)</label>- <input type="text" id="editVendor" name="vendor" class="form-control" placeholder="e.g. Amazon, Best Buy, etc.">+ <label for="editVendor" data-i18n="warranties.vendor_optional">Vendor (Optional)</label>+ <input type="text" id="editVendor" name="vendor" class="form-control" data-i18n-placeholder="warranties.vendor_placeholder" placeholder="e.g. Amazon, Best Buy, etc."></div></div><!-- Warranty Details Tab --><div class="edit-tab-content" id="edit-warranty-details"><div class="form-group">- <label for="editPurchaseDate">Purchase Date</label>+ <label for="editPurchaseDate" data-i18n="warranties.purchase_date">Purchase Date</label><input type="date" id="editPurchaseDate" name="purchase_date" class="form-control" required></div>@@ -556,41 +562,41 @@<div class="form-group"><label class="lifetime-label"><input type="checkbox" id="editIsLifetime" name="is_lifetime" value="true">- Lifetime Warranty+ <span data-i18n="warranties.lifetime_warranty">Lifetime Warranty</span></label></div><!-- End Lifetime Checkbox --><!-- Warranty Entry Method Selection --><div class="form-group" id="editWarrantyEntryMethod">- <label>Warranty Entry Method</label>+ <label data-i18n="warranties.warranty_entry_method">Warranty Entry Method</label><div class="warranty-method-options"><label class="radio-option"><input type="radio" id="editDurationMethod" name="edit_warranty_method" value="duration" checked>- <span>Warranty Duration</span>+ <span data-i18n="warranties.warranty_duration_option">Warranty Duration</span></label><label class="radio-option"><input type="radio" id="editExactDateMethod" name="edit_warranty_method" value="exact_date">- <span>Exact Expiration Date</span>+ <span data-i18n="warranties.exact_expiration_option">Exact Expiration Date</span></label></div></div><div id="editWarrantyDurationFields"><div class="form-group">- <label for="editWarrantyDurationYears">Warranty Period</label>+ <label for="editWarrantyDurationYears" data-i18n="warranties.warranty_period">Warranty Period</label><div class="duration-inputs"><div>- <input type="number" id="editWarrantyDurationYears" name="warranty_duration_years" class="form-control" min="0" max="100" placeholder="Years">- <small>Years</small>+ <input type="number" id="editWarrantyDurationYears" name="warranty_duration_years" class="form-control" min="0" max="100" data-i18n-placeholder="warranties.years" placeholder="Years">+ <small data-i18n="warranties.years">Years</small></div><div>- <input type="number" id="editWarrantyDurationMonths" name="warranty_duration_months" class="form-control" min="0" max="11" placeholder="Months">- <small>Months</small>+ <input type="number" id="editWarrantyDurationMonths" name="warranty_duration_months" class="form-control" min="0" max="11" data-i18n-placeholder="warranties.months" placeholder="Months">+ <small data-i18n="warranties.months">Months</small></div><div>- <input type="number" id="editWarrantyDurationDays" name="warranty_duration_days" class="form-control" min="0" max="365" placeholder="Days">- <small>Days</small>+ <input type="number" id="editWarrantyDurationDays" name="warranty_duration_days" class="form-control" min="0" max="365" data-i18n-placeholder="warranties.days" placeholder="Days">+ <small data-i18n="warranties.days">Days</small></div></div></div>@@ -598,58 +604,58 @@<div id="editExactExpirationField" style="display: none;"><div class="form-group">- <label for="editExactExpirationDate">Expiration Date</label>+ <label for="editExactExpirationDate" data-i18n="warranties.expiration_date_label">Expiration Date</label><input type="date" id="editExactExpirationDate" name="exact_expiration_date" class="form-control"></div></div><div class="form-group">- <label for="editWarrantyType">Warranty Type (Optional)</label>+ <label for="editWarrantyType" data-i18n="warranties.warranty_type_optional">Warranty Type (Optional)</label><select id="editWarrantyType" name="warranty_type" class="form-control">- <option value="">Select warranty type...</option>- <option value="Standard">Standard</option>- <option value="Extended">Extended</option>- <option value="Manufacturer">Manufacturer</option>- <option value="Third Party">Third Party</option>- <option value="Store">Store</option>- <option value="Premium">Premium</option>- <option value="Limited">Limited</option>- <option value="Full">Full</option>- <option value="Parts Only">Parts Only</option>- <option value="Labor Only">Labor Only</option>- <option value="International">International</option>- <option value="Accidental Damage">Accidental Damage</option>- <option value="other">Other (Custom)</option>+ <option value="" data-i18n="warranties.select_warranty_type">Select warranty type...</option>+ <option value="Standard" data-i18n="warranties.warranty_type_standard">Standard</option>+ <option value="Extended" data-i18n="warranties.warranty_type_extended">Extended</option>+ <option value="Manufacturer" data-i18n="warranties.warranty_type_manufacturer">Manufacturer</option>+ <option value="Third Party" data-i18n="warranties.warranty_type_third_party">Third Party</option>+ <option value="Store" data-i18n="warranties.warranty_type_store">Store</option>+ <option value="Premium" data-i18n="warranties.warranty_type_premium">Premium</option>+ <option value="Limited" data-i18n="warranties.warranty_type_limited">Limited</option>+ <option value="Full" data-i18n="warranties.warranty_type_full">Full</option>+ <option value="Parts Only" data-i18n="warranties.warranty_type_parts_only">Parts Only</option>+ <option value="Labor Only" data-i18n="warranties.warranty_type_labor_only">Labor Only</option>+ <option value="International" data-i18n="warranties.warranty_type_international">International</option>+ <option value="Accidental Damage" data-i18n="warranties.warranty_type_accidental_damage">Accidental Damage</option>+ <option value="other" data-i18n="warranties.warranty_type_other">Other (Custom)</option></select>- <input type="text" id="editWarrantyTypeCustom" name="warranty_type_custom" class="form-control" style="display: none; margin-top: 8px;" placeholder="Enter custom warranty type">+ <input type="text" id="editWarrantyTypeCustom" name="warranty_type_custom" class="form-control" style="display: none; margin-top: 8px;" data-i18n-placeholder="warranties.warranty_type_custom_placeholder" placeholder="Enter custom warranty type"></div><div class="form-group">- <label for="editCurrency">Currency</label>+ <label for="editCurrency" data-i18n="warranties.currency">Currency</label><select id="editCurrency" name="currency" class="form-control"><option value="USD">USD - US Dollar ($)</option><!-- Currency options will be populated by JavaScript --></select></div><div class="form-group">- <label for="editPurchasePrice">Purchase Price (Optional)</label>+ <label for="editPurchasePrice" data-i18n="warranties.purchase_price_optional">Purchase Price (Optional)</label><div class="price-input-wrapper" id="editPriceInputWrapper"><span class="currency-symbol" id="editCurrencySymbol">$</span><input type="number" id="editPurchasePrice" name="purchase_price" class="form-control" min="0" step="0.01" placeholder="0.00"></div></div><div class="form-group">- <label for="editNotes">Notes (Optional)</label>- <textarea id="editNotes" name="notes" class="form-control" rows="3" placeholder="Add any notes about this warranty..."></textarea>+ <label for="editNotes" data-i18n="warranties.notes_optional">Notes (Optional)</label>+ <textarea id="editNotes" name="notes" class="form-control" rows="3" data-i18n-placeholder="warranties.notes_placeholder" placeholder="Add any notes about this warranty..."></textarea></div></div><!-- Documents Tab --><div class="edit-tab-content" id="edit-documents"><div class="form-group">- <label>Product Photo (Optional)</label>+ <label data-i18n="warranties.product_photo_optional">Product Photo (Optional)</label><div class="file-input-wrapper"><label for="editProductPhoto" class="file-input-label">- <i class="fas fa-upload"></i> Choose Photo+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_photo">Choose Photo</span></label><input type="file" id="editProductPhoto" name="product_photo" class="file-input" accept=".png,.jpg,.jpeg,.webp"></div>@@ -658,51 +664,51 @@<img id="editProductPhotoImg" src="" alt="Product Photo Preview" style="max-width: 200px; max-height: 200px; border-radius: 8px; margin-top: 10px;"></div><div id="currentProductPhoto" class="mt-10"></div>- <button type="button" id="deleteProductPhotoBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> Delete Photo</button>+ <button type="button" id="deleteProductPhotoBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> <span data-i18n="warranties.delete_photo">Delete Photo</span></button></div><div class="form-group">- <label>Invoice/Receipt</label>+ <label data-i18n="warranties.invoice_receipt">Invoice/Receipt</label><div class="file-input-wrapper"><label for="editInvoice" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="editInvoice" name="invoice" class="file-input" accept=".pdf,.png,.jpg,.jpeg"></div><div id="editFileName" class="file-name"></div><div id="currentInvoice" class="mt-10"></div>- <button type="button" id="deleteInvoiceBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> Delete Invoice</button>+ <button type="button" id="deleteInvoiceBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> <span data-i18n="warranties.delete_invoice">Delete Invoice</span></button></div><div class="form-group">- <label>Product Manual (Optional)</label>+ <label data-i18n="warranties.product_manual_optional">Product Manual (Optional)</label><div class="file-input-wrapper"><label for="editManual" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="editManual" name="manual" class="file-input" accept=".pdf,.png,.jpg,.jpeg"></div><div id="editManualFileName" class="file-name"></div><div id="currentManual" class="mt-10"></div>- <button type="button" id="deleteManualBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> Delete Manual</button>+ <button type="button" id="deleteManualBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> <span data-i18n="warranties.delete_manual">Delete Manual</span></button></div><div class="form-group">- <label>Files (ZIP/RAR, Optional)</label>+ <label data-i18n="warranties.files_optional">Files (ZIP/RAR, Optional)</label><div class="file-input-wrapper"><label for="editOtherDocument" class="file-input-label">- <i class="fas fa-upload"></i> Choose File+ <i class="fas fa-upload"></i> <span data-i18n="warranties.choose_file">Choose File</span></label><input type="file" id="editOtherDocument" name="other_document" class="file-input" accept=".zip,.rar"></div><div id="editOtherDocumentFileName" class="file-name"></div><div id="currentOtherDocument" class="mt-10"></div>- <button type="button" id="deleteOtherDocumentBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> Delete Files</button>+ <button type="button" id="deleteOtherDocumentBtn" class="btn btn-danger btn-sm mt-2" style="display:none;"><i class="fas fa-trash"></i> <span data-i18n="warranties.delete_files">Delete Files</span></button></div></div><!-- Tags Tab --><div class="edit-tab-content" id="edit-tags"><div class="form-group">- <label>Add Tags</label>- <p class="text-muted">Tags help you organize and filter your warranties</p>+ <label data-i18n="warranties.add_tags">Add Tags</label>+ <p class="text-muted" data-i18n="warranties.tags_help_text">Tags help you organize and filter your warranties</p><div class="tags-container"><div class="selected-tags" id="editSelectedTags">@@ -710,7 +716,7 @@</div><div class="tags-dropdown">- <input type="text" id="editTagSearch" class="form-control" placeholder="Search or add new tag...">+ <input type="text" id="editTagSearch" class="form-control" data-i18n-placeholder="warranties.search_add_tag_placeholder" placeholder="Search or add new tag..."><div class="tags-list" id="editTagsList"><!-- Tag options will be populated by JavaScript --></div>@@ -718,7 +724,7 @@<div class="mt-10"><button type="button" id="editManageTagsBtn" class="btn btn-secondary btn-sm">- <i class="fas fa-cog"></i> Manage Tags+ <i class="fas fa-cog"></i> <span data-i18n="warranties.manage_tags">Manage Tags</span></button></div></div>@@ -727,8 +733,8 @@</form></div><div class="modal-footer">- <button class="btn btn-danger" data-dismiss="modal">Cancel</button>- <button id="saveWarrantyBtn" class="btn btn-primary">Save Changes</button>+ <button class="btn btn-danger" data-dismiss="modal" data-i18n="actions.cancel">Cancel</button>+ <button id="saveWarrantyBtn" class="btn btn-primary" data-i18n="actions.save_changes">Save Changes</button></div></div></div>@@ -737,16 +743,16 @@<div id="deleteModal" class="modal-backdrop"><div class="modal"><div class="modal-header">- <h3 class="modal-title">Confirm Delete</h3>+ <h3 class="modal-title" data-i18n="warranties.confirm_delete">Confirm Delete</h3><button class="close-btn" data-dismiss="modal">×</button></div><div class="modal-body">- <p>Are you sure you want to delete this warranty? This action cannot be undone.</p>- <p><strong>Product:</strong> <span id="deleteProductName"></span></p>+ <p data-i18n="warranties.confirm_delete_message">Are you sure you want to delete this warranty? This action cannot be undone.</p>+ <p><strong data-i18n="warranties.product">Product:</strong> <span id="deleteProductName"></span></p></div><div class="modal-footer">- <button class="btn btn-secondary" data-dismiss="modal">Cancel</button>- <button id="confirmDeleteBtn" class="btn btn-danger">Delete</button>+ <button class="btn btn-secondary" data-dismiss="modal" data-i18n="actions.cancel">Cancel</button>+ <button id="confirmDeleteBtn" class="btn btn-danger" data-i18n="actions.delete">Delete</button></div></div></div>@@ -755,23 +761,23 @@<div id="tagManagementModal" class="modal-backdrop"><div class="modal"><div class="modal-header">- <h3 class="modal-title">Manage Tags</h3>+ <h3 class="modal-title" data-i18n="warranties.manage_tags">Manage Tags</h3><button class="close-btn" data-dismiss="modal">×</button></div><div class="modal-body"><form id="newTagForm" class="tag-form">- <input type="text" id="newTagName" class="form-control" placeholder="New tag name" required>+ <input type="text" id="newTagName" class="form-control" data-i18n-placeholder="warranties.new_tag_name" placeholder="New tag name" required><input type="color" id="newTagColor" value="#808080">- <button type="submit" class="btn btn-primary">Add Tag</button>+ <button type="submit" class="btn btn-primary" data-i18n="warranties.add_tag">Add Tag</button></form>- <h4 class="mt-20">Existing Tags</h4>+ <h4 class="mt-20" data-i18n="warranties.existing_tags">Existing Tags</h4><div id="existingTags" class="existing-tags"><!-- Tags will be populated here by JavaScript --></div></div><div class="modal-footer">- <button class="btn btn-secondary" data-dismiss="modal">Close</button>+ <button class="btn btn-secondary" data-dismiss="modal" data-i18n="actions.close">Close</button></div></div></div>@@ -781,14 +787,14 @@<div class="loading-spinner"></div></div>- <script src="auth.js?v=20250529005"></script>- <script src="status.js" defer></script>+ <script src="auth.js?v=20250118003"></script>+ <script src="status.js?v=20250118003" defer></script><!-- Footer Width Fix -->- <script src="footer-fix.js"></script>+ <script src="footer-fix.js?v=20250118003"></script><!-- Footer Content Manager -->- <script src="footer-content.js"></script>+ <script src="footer-content.js?v=20250118003"></script><!-- Powered by Warracker Footer --><footer class="warracker-footer" id="warrackerFooter">@@ -822,4 +828,4 @@</script></body>-</html>\ No newline at end of file+</html>diff --git a/frontend/status.js b/frontend/status.jsindex a3d2611..4a3cb39 100644--- a/frontend/status.js+++ b/frontend/status.js@@ -362,7 +362,13 @@function updateDashboardTitle() {const dashboardTitle = document.getElementById('dashboardTitle');if (dashboardTitle) {- dashboardTitle.textContent = isGlobalView ? 'Global Warranty Status Dashboard' : 'Warranty Status Dashboard';+ if (window.i18next && window.i18next.t) {+ dashboardTitle.textContent = isGlobalView ?+ window.i18next.t('status.global_dashboard_title') :+ window.i18next.t('status.dashboard_title');+ } else {+ dashboardTitle.textContent = isGlobalView ? 'Global Warranty Status Dashboard' : 'Warranty Status Dashboard';+ }}}@@ -415,10 +421,15 @@const trulyActive = Math.max(0, active - expiringSoon);try {+ // Get translated labels for chart+ const activeLabel = i18next.t('warranties.active');+ const expiringSoonLabel = i18next.t('warranties.expiring_soon');+ const expiredLabel = i18next.t('warranties.expired');+statusChart = new Chart(ctx, {type: 'doughnut',data: {- labels: ['Active', 'Expiring Soon', 'Expired'],+ labels: [activeLabel, expiringSoonLabel, expiredLabel],datasets: [{ data: [trulyActive, expiringSoon, expired], backgroundColor: ['#4CAF50', '#FF9800', '#F44336'], borderWidth: 1 }]},options: { responsive: true, maintainAspectRatio: false, plugins: { legend: { position: 'bottom' } } }@@ -485,11 +496,14 @@}try {+ // Get translated label for timeline chart+ const timelineLabel = i18next.t('status.expiration_timeline');+timelineChart = new Chart(ctx, {type: 'bar',data: {labels: labels,- datasets: [{ label: 'Warranties Expiring', data: counts, backgroundColor: '#3498db', borderWidth: 1 }]+ datasets: [{ label: timelineLabel, data: counts, backgroundColor: '#3498db', borderWidth: 1 }]},options: { responsive: true, maintainAspectRatio: false, scales: { y: { beginAtZero: true, ticks: { precision: 0 } } } }});@@ -539,7 +553,8 @@if (!allWarranties || allWarranties.length === 0) {const colspan = isGlobalView ? 5 : 4;- tableBody.innerHTML = `<tr><td colspan="${colspan}" style="text-align:center; padding: 20px;">No recently expired or expiring warranties.</td></tr>`;+ const noWarrantiesMessage = i18next.t('status.recent_expirations_empty', 'No recently expired or expiring warranties.');+ tableBody.innerHTML = `<tr><td colspan="${colspan}" style="text-align:center; padding: 20px;">${noWarrantiesMessage}</td></tr>`;return;}@@ -602,7 +617,8 @@if (displayWarranties.length === 0) {const colspan = isGlobalView ? 5 : 4;- tableBody.innerHTML = `<tr><td colspan="${colspan}" style="text-align:center; padding: 20px;">No warranties match your search criteria.</td></tr>`;+ const noMatchMessage = i18next.t('messages.no_results', 'No results found');+ tableBody.innerHTML = `<tr><td colspan="${colspan}" style="text-align:center; padding: 20px;">${noMatchMessage}</td></tr>`;return;}@@ -615,26 +631,35 @@const todayForStatus = new Date(); todayForStatus.setHours(0,0,0,0);if (warranty.is_lifetime) {- statusText = 'Lifetime';+ statusText = i18next.t('warranties.lifetime');statusClass = 'status-lifetime';} else {const expirationDate = new Date(warranty.expiration_date);expirationDate.setHours(0,0,0,0);- if (expirationDate <= todayForStatus) { statusText = 'Expired'; statusClass = 'status-expired'; }- else {+ if (expirationDate <= todayForStatus) {+ statusText = i18next.t('warranties.expired');+ statusClass = 'status-expired';+ } else {const timeDiff = expirationDate - todayForStatus;const daysDiff = Math.ceil(timeDiff / (1000 * 60 * 60 * 24));- if (daysDiff <= EXPIRING_SOON_DAYS) { statusText = 'Expiring Soon'; statusClass = 'status-expiring'; }- else { statusText = 'Active'; statusClass = 'status-active'; }+ if (daysDiff <= EXPIRING_SOON_DAYS) {+ statusText = i18next.t('warranties.expiring_soon');+ statusClass = 'status-expiring';+ } else {+ statusText = i18next.t('warranties.active');+ statusClass = 'status-active';+ }}}row.className = statusClass;// Build row HTML based on current view mode+ const lifetimeText = i18next.t('warranties.lifetime');+ const naText = i18next.t('warranties.na', 'N/A');let rowHTML = `<td title="${escapeHTML(warranty.product_name)}">${escapeHTML(warranty.product_name)}</td>- <td>${warranty.purchase_date ? formatDateYYYYMMDD(new Date(warranty.purchase_date)) : 'N/A'}</td>- <td>${warranty.is_lifetime ? 'Lifetime' : (warranty.expiration_date ? formatDateYYYYMMDD(new Date(warranty.expiration_date)) : 'N/A')}</td>+ <td>${warranty.purchase_date ? formatDateYYYYMMDD(new Date(warranty.purchase_date)) : naText}</td>+ <td>${warranty.is_lifetime ? lifetimeText : (warranty.expiration_date ? formatDateYYYYMMDD(new Date(warranty.expiration_date)) : naText)}</td><td><span class="${statusClass}">${statusText}</span></td>`;@@ -743,9 +768,9 @@dHtml += `<p><strong>Warranty Type:</strong> ${escapeHTML(warrantyDetails.warranty_type || '') || 'N/A'}</p></div>`;dHtml += '<div style="flex: 1 1 300px;"><h4>Documents & Files</h4>';- if(warrantyDetails.invoice_path) dHtml += `<p><strong>Invoice:</strong> <a href="#" onclick="window.openSecureFile('${escapeHTML(warrantyDetails.invoice_path)}'); return false;">View Invoice</a></p>`; else dHtml += '<p><strong>Invoice:</strong> N/A</p>';- if(warrantyDetails.manual_path) dHtml += `<p><strong>Manual:</strong> <a href="#" onclick="window.openSecureFile('${escapeHTML(warrantyDetails.manual_path)}'); return false;">View Manual</a></p>`; else dHtml += '<p><strong>Manual:</strong> N/A</p>';- if(warrantyDetails.other_document_path) dHtml += `<p><strong>Other Files:</strong> <a href="#" onclick="window.openSecureFile('${escapeHTML(warrantyDetails.other_document_path)}'); return false;">View Files</a></p>`; else dHtml += '<p><strong>Other Files:</strong> N/A</p>';+ if(warrantyDetails.invoice_path) dHtml += `<p><strong data-i18n="warranties.invoice_receipt_short">Invoice:</strong> <a href="#" onclick="window.openSecureFile('${escapeHTML(warrantyDetails.invoice_path)}'); return false;">View Invoice</a></p>`; else dHtml += `<p><strong data-i18n="warranties.invoice_receipt_short">Invoice:</strong> N/A</p>`;+ if(warrantyDetails.manual_path) dHtml += `<p><strong data-i18n="warranties.product_manual_short">Manual:</strong> <a href="#" onclick="window.openSecureFile('${escapeHTML(warrantyDetails.manual_path)}'); return false;">View Manual</a></p>`; else dHtml += `<p><strong data-i18n="warranties.product_manual_short">Manual:</strong> N/A</p>`;+ if(warrantyDetails.other_document_path) dHtml += `<p><strong data-i18n="warranties.files_short">Other Files:</strong> <a href="#" onclick="window.openSecureFile('${escapeHTML(warrantyDetails.other_document_path)}'); return false;">View Files</a></p>`; else dHtml += `<p><strong data-i18n="warranties.files_short">Other Files:</strong> N/A</p>`;dHtml += '</div>';// DEBUG: Log serial numbers before rendering them in details view@@ -1194,7 +1219,7 @@}isDOMHandlerAttached = true;- console.log('Status page DOM loaded (status.js IIFE). Initializing dashboard and listeners.');+ console.log('Status page DOM loaded (status.js IIFE). Waiting for i18n initialization...');const headerDarkModeToggle = document.getElementById('darkModeToggle');if (headerDarkModeToggle) {@@ -1206,7 +1231,29 @@console.log('Header darkModeToggle not found by status.js for direct listener attachment. Theme changes via localStorage/theme-loader.js should still work.');}- initDashboard(); // Call IIFE's initDashboard+ // Wait for i18n to be ready before initializing dashboard+ function waitForI18nAndInit() {+ if (window.i18n && window.i18n.t) {+ console.log('i18n is ready, initializing dashboard...');+ initDashboard(); // Call IIFE's initDashboard+ } else {+ console.log('Waiting for i18n ready event...');+ window.addEventListener('i18nReady', function(event) {+ console.log('i18n ready event received, initializing dashboard...', event.detail);+ initDashboard(); // Call IIFE's initDashboard+ }, { once: true });++ // Fallback timeout in case i18n event doesn't fire+ setTimeout(() => {+ if (!window.i18n || !window.i18n.t) {+ console.warn('i18n initialization timeout, proceeding anyway...');+ initDashboard();+ }+ }, 5000);+ }+ }++ waitForI18nAndInit();// Setup event listeners for status page specific controlsif (refreshDashboardBtn) refreshDashboardBtn.addEventListener('click', refreshDashboard);diff --git a/frontend/style.css b/frontend/style.cssindex 3a258f6..2c02759 100644--- a/frontend/style.css+++ b/frontend/style.css@@ -27,6 +27,43 @@border-color: var(--primary-dark) !important;}/* ===== GLOBAL STYLES ===== */+:root {+ /* Icon spacing for LTR/RTL: applies to icons next to text */+}++/* Consistent icon spacing and alignment for all languages */+[class*="fa-"],+.fa, .fas, .far, .fal, .fab, .icon-next {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ direction: ltr;+ vertical-align: middle;+ isolation: isolate;+ position: relative;+}++/* Universal spacing for icons next to text */+[class*="fa-"]:not(:only-child),+.fa:not(:only-child),+.fas:not(:only-child),+.far:not(:only-child),+.fal:not(:only-child),+.fab:not(:only-child),+.icon-next:not(:only-child) {+ margin-inline: 0.5em;+}++/* Remove margin when icon is alone */+[class*="fa-"]:only-child,+.fa:only-child,+.fas:only-child,+.far:only-child,+.fal:only-child,+.fab:only-child,+.icon-next:only-child {+ margin-inline: 0;+}:root[data-theme="light"] {--bg-color: #f5f5f5;--card-bg: #ffffff;@@ -3985,6 +4022,12 @@ html.dark-mode .warracker-footer a:hover {z-index: 10;}+/* RTL positioning for product photos */+[dir="rtl"] .product-photo-thumbnail {+ right: auto;+ left: 8px;+}+.product-photo-thumbnail img {border: 2px solid var(--border-color);border-radius: 8px;@@ -4068,6 +4111,12 @@ html.dark-mode .warracker-footer a:hover {top: 6px;right: 6px;}++ /* RTL mobile positioning */+ [dir="rtl"] .product-photo-thumbnail {+ right: auto;+ left: 6px;+ }}@media (max-width: 768px) {@@ -4086,6 +4135,12 @@ html.dark-mode .warracker-footer a:hover {.product-photo-thumbnail {margin-right: 5px;}++ /* RTL mobile margins */+ [dir="rtl"] .product-photo-thumbnail {+ margin-right: 0;+ margin-left: 5px;+ }}/* ===== PAPERLESS BROWSER STYLES ===== */@@ -4310,3 +4365,107 @@ html.dark-mode .warracker-footer a:hover {flex-wrap: nowrap;}}+++/* RTL Language Support */+[dir=\+rtl\] {+ text-align: right;+}++[dir=\rtl\] .container {+ direction: rtl;+}++[dir=\rtl\] .header-right-group {+ flex-direction: row-reverse;+}++[dir=\rtl\] .nav-links {+ flex-direction: row-reverse;+}++[dir=\rtl\] .nav-link {+ margin-left: 0;+ margin-right: 20px;+}++[dir=\rtl\] .nav-link:last-child {+ margin-right: 0;+}++[dir=\rtl\] .form-group {+ text-align: right;+}++[dir=\rtl\] .form-control {+ text-align: right;+}++[dir=\rtl\] .btn {+ text-align: center;+}++[dir=\rtl\] .card {+ text-align: right;+}++[dir=\rtl\] .card-header {+ text-align: right;+}++[dir=\rtl\] .user-menu {+ margin-left: 0;+ margin-right: 15px;+}++[dir=\rtl\] .user-menu-dropdown {+ left: 0;+ right: auto;+}++[dir=\rtl\] .auth-buttons {+ flex-direction: row-reverse;+}++[dir=\rtl\] .social-links {+ justify-content: flex-end;+}++[dir=\rtl\] .about-card h3 {+ flex-direction: row-reverse;+}++[dir=\rtl\] .about-card h3 i {+ margin-left: 10px;+ margin-right: 0;+}++[dir=\rtl\] .social-link {+ flex-direction: row-reverse;+}++[dir=\rtl\] .social-link i {+ margin-left: 8px;+ margin-right: 0;+}++[dir=\rtl\] .preference-item {+ text-align: right;+}++[dir=\rtl\] .preference-item label {+ text-align: right;+}++[dir=\rtl\] .collapsible-header {+ text-align: right;+}++[dir=\rtl\] .collapse-icon {+ transform: rotate(180deg);+}++[dir=\rtl\] .collapse-icon.rotated {+ transform: rotate(0deg);+}diff --git a/frontend/sw.js b/frontend/sw.jsindex 0781fa0..1dfcb41 100644--- a/frontend/sw.js+++ b/frontend/sw.js@@ -1,16 +1,21 @@-const CACHE_NAME = 'warracker-cache-v2';+const CACHE_NAME = 'warracker-cache-v20250118002';const urlsToCache = ['./','./index.html','./settings-new.html','./status.html',- './style.css?v=20250529005',- './settings-styles.css?v=20250529005',- './header-fix.css?v=20250529005',- './mobile-header.css?v=20250529005',- './script.js?v=20250529005',- './auth.js?v=20250529005',- './settings-new.js?v=20250529005',+ './style.css?v=20250118003',+ './settings-styles.css?v=20250118003',+ './header-fix.css?v=20250118003',+ './mobile-header.css?v=20250118003',+ './script.js?v=20250118003',+ './auth.js?v=20250118003',+ './settings-new.js?v=20250118003',+ './status.js?v=20250118003',+ './theme-loader.js?v=20250118003',+ './footer-fix.js?v=20250118003',+ './footer-content.js?v=20250118003',+ './js/i18n.js?v=20250118003','./manifest.json','./img/favicon-16x16.png','./img/favicon-32x32.png',diff --git a/frontend/version-checker.js b/frontend/version-checker.jsindex 2f51d8e..ea0a5f4 100644--- a/frontend/version-checker.js+++ b/frontend/version-checker.js@@ -1,8 +1,9 @@// Version checker for Warrackerdocument.addEventListener('DOMContentLoaded', () => {- const currentVersion = '0.10.1.4'; // Current version of the application+ const currentVersion = '0.10.1.5'; // Current version of the applicationconst updateStatus = document.getElementById('updateStatus');const updateLink = document.getElementById('updateLink');+ const versionDisplay = document.getElementById('versionDisplay');// Function to compare versionsfunction compareVersions(v1, v2) {@@ -32,22 +33,50 @@ document.addEventListener('DOMContentLoaded', () => {if (comparison > 0) {// New version available- updateStatus.textContent = `New version ${data.tag_name} available!`;+ if (window.i18next && window.i18next.t) {+ updateStatus.textContent = window.i18next.t('about.new_version_available', { version: data.tag_name });+ } else {+ updateStatus.textContent = `New version ${data.tag_name} available!`;+ }updateStatus.style.color = 'var(--success-color)';updateLink.href = data.html_url;updateLink.style.display = 'inline-block';} else {// Up to date- updateStatus.textContent = 'You are using the latest version';+ if (window.i18next && window.i18next.t) {+ updateStatus.textContent = window.i18next.t('about.latest_version');+ } else {+ updateStatus.textContent = 'You are using the latest version';+ }updateStatus.style.color = 'var(--success-color)';}} catch (error) {console.error('Error checking for updates:', error);- updateStatus.textContent = 'Failed to check for updates';+ if (window.i18next && window.i18next.t) {+ updateStatus.textContent = window.i18next.t('about.update_check_failed');+ } else {+ updateStatus.textContent = 'Failed to check for updates';+ }updateStatus.style.color = 'var(--error-color)';}}+ // Update version display if element exists+ if (versionDisplay) {+ // Wait for i18next to be ready+ const updateVersionDisplay = () => {+ if (window.i18next && window.i18next.t) {+ versionDisplay.textContent = window.i18next.t('about.version') + ' v' + currentVersion;+ } else {+ versionDisplay.textContent = 'Version v' + currentVersion;+ }+ };++ // Try immediately and also after a delay for i18next+ updateVersionDisplay();+ setTimeout(updateVersionDisplay, 500);+ }+// Check for updates when the page loadscheckForUpdates();});\ No newline at end of filediff --git a/locales/ar/translation.json b/locales/ar/translation.jsonnew file mode 100644index 0000000..fe51182--- /dev/null+++ b/locales/ar/translation.json@@ -0,0 +1,559 @@+{+ "app_title": "Warracker",+ "subtitle": "متتبع الضمان",+ "nav": {+ "home": "الرئيسية",+ "status": "الحالة",+ "settings": "الإعدادات",+ "about": "حول"+ },+ "auth": {+ "login": "تسجيل الدخول",+ "logout": "تسجيل الخروج",+ "register": "التسجيل",+ "username": "اسم المستخدم",+ "password": "كلمة المرور",+ "email": "البريد الإلكتروني",+ "first_name": "الاسم الأول",+ "last_name": "اسم العائلة",+ "forgot_password": "نسيت كلمة المرور؟",+ "reset_password": "إعادة تعيين كلمة المرور",+ "confirm_password": "تأكيد كلمة المرور",+ "create_account_title": "إنشاء حسابك",+ "first_name_optional": "الاسم الأول (اختياري)",+ "last_name_optional": "اسم العائلة (اختياري)",+ "username_hint": "يجب أن يكون اسم المستخدم فريدًا وسيتم استخدامه لتسجيل الدخول.",+ "email_address": "عنوان البريد الإلكتروني",+ "toggle_password": "إظهار/إخفاء كلمة المرور",+ "password_hint_simple": "يجب أن تتكون كلمة المرور من 8 أحرف على الأقل وتتضمن أحرفًا كبيرة وصغيرة وأرقامًا.",+ "password_requirements": "متطلبات كلمة المرور:",+ "req_length": "8 أحرف على الأقل",+ "req_uppercase": "حرف كبير واحد على الأقل",+ "req_lowercase": "حرف صغير واحد على الأقل",+ "req_number": "رقم واحد على الأقل",+ "req_special": "حرف خاص واحد على الأقل",+ "create_account": "إنشاء حساب",+ "already_have_account": "هل لديك حساب بالفعل؟",+ "reset_password_title": "Warracker - إعادة تعيين كلمة المرور",+ "reset_your_password": "إعادة تعيين كلمة المرور الخاصة بك",+ "reset_password_info": "أدخل عنوان بريدك الإلكتروني أدناه وسنرسل لك رابطًا لإعادة تعيين كلمة المرور الخاصة بك.",+ "send_reset_link": "إرسال رابط إعادة التعيين",+ "back_to_login": "العودة إلى تسجيل الدخول",+ "set_new_password_title": "Warracker - تعيين كلمة مرور جديدة",+ "set_new_password": "تعيين كلمة مرور جديدة",+ "new_password": "كلمة المرور الجديدة",+ "confirm_new_password": "تأكيد كلمة المرور الجديدة",+ "invalid_or_expired_link": "رابط غير صالح أو منتهي الصلاحية",+ "invalid_link_info": "رابط إعادة تعيين كلمة المرور الذي نقرت عليه غير صالح أو انتهت صلاحيته.",+ "request_new_reset_link": "طلب رابط إعادة تعيين جديد"+ },+ "warranties": {+ "title": "الضمانات",+ "title_global": "ضمانات جميع المستخدمين",+ "add_new": "إضافة ضمان جديد",+ "edit": "تحرير الضمان",+ "delete": "حذف الضمان",+ "product_name": "اسم المنتج",+ "purchase_date": "تاريخ الشراء",+ "warranty_duration": "مدة الضمان",+ "years": "سنوات",+ "months": "شهور",+ "days": "أيام",+ "vendor": "البائع",+ "serial_numbers": "الأرقام التسلسلية",+ "purchase_price": "سعر الشراء",+ "notes": "الملاحظات",+ "tags": "العلامات",+ "status": "الحالة",+ "expiration_date": "تاريخ انتهاء الصلاحية",+ "active": "نشط",+ "expired": "منتهي الصلاحية",+ "expiring_soon": "تنتهي قريباً",+ "lifetime": "مدى الحياة",+ "no_warranties": "لا توجد ضمانات حتى الآن. أضف ضمانك الأول للبدء.",+ "search_placeholder": "البحث بالاسم، البائعين، الملاحظات، العلامة، أو الرقم التسلسلي...",+ "warranty_type": "نوع الضمان",+ "other_document": "مستند آخر",+ "product": "المنتج",+ "expiration": "انتهاء الصلاحية",+ "actions": "الإجراءات",+ "no_warranties_title": "لا توجد ضمانات",+ "no_warranties_desc": "ليس لديك أي ضمانات حتى الآن. أضف ضمانك الأول!",+ "add_warranty": "إضافة ضمان",+ "warranty_entry_method": "طريقة إدخال الضمان",+ "warranty_duration_option": "مدة الضمان",+ "exact_expiration_option": "تاريخ انتهاء دقيق",+ "warranty_period": "فترة الضمان",+ "expiration_date_label": "تاريخ الانتهاء",+ "currency": "العملة",+ "add_tags": "إضافة علامات",+ "add_tags_desc": "تساعدك العلامات على تنظيم وتصفية ضماناتك",+ "save_changes": "حفظ التغييرات",+ "confirm_delete": "تأكيد الحذف",+ "manage_tags": "إدارة العلامات",+ "add_tag": "إضافة علامة",+ "unknown_status": "حالة غير معروفة",+ "expiring_soon_days": "تنتهي قريباً ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} متبقي",+ "day_one": "يوم",+ "day_two": "يومان",+ "day_few": "أيام",+ "day_many": "يومًا",+ "day_other": "أيام",+ "month_one": "شهر",+ "month_two": "شهران",+ "month_few": "أشهر",+ "month_many": "شهرًا",+ "month_other": "أشهر",+ "year_one": "سنة",+ "year_two": "سنتان",+ "year_few": "سنوات",+ "year_many": "سنة",+ "year_other": "سنوات",+ "na": "غير متاح",+ "age": "العمر",+ "warranty": "الضمان",+ "warranty_ends": "ينتهي الضمان",+ "price": "السعر",+ "serial_number": "الرقم التسلسلي",+ "type": "النوع",+ "owner": "المالك",+ "product_website": "موقع المنتج",+ "existing_tags": "العلامات الموجودة",+ "edit_warranty": "تحرير الضمان",+ "warranty_type_standard": "قياسي",+ "warranty_type_extended": "ممدد",+ "warranty_type_manufacturer": "الشركة المصنعة",+ "warranty_type_third_party": "طرف ثالث",+ "warranty_type_store": "متجر",+ "warranty_type_premium": "مميز",+ "warranty_type_limited": "محدود",+ "warranty_type_full": "كامل",+ "warranty_type_parts_only": "قطع الغيار فقط",+ "warranty_type_labor_only": "العمالة فقط",+ "warranty_type_international": "دولي",+ "warranty_type_accidental_damage": "ضرر عرضي",+ "warranty_type_other": "أخرى (مخصص)",+ "warranty_type_custom_placeholder": "أدخل نوع ضمان مخصص",+ "notes_placeholder": "ملاحظات إضافية حول هذا الضمان...",+ "tags_help_text": "العلامات تساعدك في تنظيم وتصفية ضماناتك",+ "search_add_tag_placeholder": "البحث أو إضافة علامة جديدة...",+ "upload_new_file_replace": "تحميل ملف جديد للاستبدال",+ "current_other_document": "المستند الحالي",+ "no_other_document_uploaded": "لم يتم تحميل مستند آخر",+ "other_document_will_be_deleted": "سيتم حذف المستند الآخر عند الحفظ",+ "files_optional": "ملفات (ZIP/RAR، اختياري)",+ "invoice_receipt_short": "فاتورة",+ "product_manual_short": "كتيب",+ "files_short": "ملفات",+ "summary": "ملخص",+ "product_url_optional": "رابط المنتج (اختياري)",+ "enter_serial_number": "أدخل الرقم التسلسلي",+ "vendor_optional": "البائع (اختياري)",+ "vendor_placeholder": "مثل Amazon، Best Buy، إلخ",+ "lifetime_warranty": "ضمان مدى الحياة",+ "warranty_type_optional": "نوع الضمان (اختياري)",+ "select_warranty_type": "اختر نوع الضمان...",+ "standard": "عادي",+ "extended": "ممدد",+ "manufacturer": "الشركة المصنعة",+ "third_party": "طرف ثالث",+ "store": "متجر",+ "premium": "مميز",+ "limited": "محدود",+ "full": "كامل",+ "parts_only": "قطع فقط",+ "labor_only": "عمالة فقط",+ "international": "دولي",+ "accidental_damage": "ضرر عرضي",+ "other_custom": "أخرى (مخصص)",+ "enter_custom_warranty_type": "أدخل نوع ضمان مخصص",+ "purchase_price_optional": "سعر الشراء (اختياري)",+ "notes_optional": "ملاحظات (اختياري)",+ "add_any_notes": "أضف أي ملاحظات حول هذا الضمان...",+ "product_photo_optional": "صورة المنتج (اختياري)",+ "choose_photo": "اختر صورة",+ "invoice_receipt": "فاتورة/إيصال",+ "store_locally": "حفظ محلياً",+ "store_in_paperless": "حفظ في Paperless-ngx",+ "choose_file": "اختر ملف",+ "browse_paperless": "تصفح مستندات Paperless-ngx",+ "product_manual_optional": "دليل المنتج (اختياري)",+ "files_zip_rar_optional": "ملفات (ZIP/RAR، اختياري)",+ "search_or_add_tag": "ابحث أو أضف علامة جديدة...",+ "product_information": "معلومات المنتج",+ "product_url": "رابط المنتج",+ "warranty_details": "تفاصيل الضمان",+ "product_photo": "صورة المنتج",+ "product_manual": "دليل المنتج",+ "files": "ملفات",+ "documents": "مستندات",+ "selected_tags": "العلامات المحددة",+ "previous_tab": "السابق",+ "next_tab": "التالي",+ "delete_photo": "حذف الصورة",+ "delete_invoice": "حذف الفاتورة",+ "delete_manual": "حذف الدليل",+ "delete_files": "حذف الملفات",+ "current_photo": "الصورة الحالية:",+ "current_invoice": "الفاتورة الحالية:",+ "current_manual": "الدليل الحالي:",+ "current_document": "المستند الحالي:",+ "upload_new_photo_replace": "(ارفع صورة جديدة للاستبدال)",+ "no_photo_uploaded": "لم يتم رفع أي صورة",+ "no_invoice_uploaded": "لم يتم رفع أي فاتورة",+ "no_manual_uploaded": "لم يتم رفع أي دليل",+ "no_document_uploaded": "لم يتم رفع أي مستند آخر",+ "photo_will_be_deleted": "سيتم حذف الصورة عند الحفظ",+ "invoice_will_be_deleted": "سيتم حذف الفاتورة عند الحفظ",+ "manual_will_be_deleted": "سيتم حذف الدليل عند الحفظ",+ "document_will_be_deleted": "سيتم حذف المستند الآخر عند الحفظ",+ "confirm_delete_message": "هل أنت متأكد من أنك تريد حذف هذا الضمان؟ لا يمكن التراجع عن هذا الإجراء.",+ "new_tag_name": "اسم العلامة الجديدة",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "سنوات",+ "months_placeholder": "شهور",+ "days_placeholder": "أيام",+ "add_any_notes_placeholder": "أضف أي ملاحظات حول هذه الضمانة...",+ "enter_serial_number": "أدخل الرقم التسلسلي",+ "add_serial_number": "إضافة رقم تسلسلي آخر"+ },+ "settings": {+ "title": "الإعدادات",+ "account_settings": "إعدادات الحساب",+ "preferences": "التفضيلات",+ "language": "اللغة",+ "select_language": "اختر لغتك المفضلة",+ "dark_mode": "الوضع المظلم",+ "dark_mode_desc": "التبديل بين السمة الفاتحة والمظلمة",+ "currency": "العملة",+ "timezone": "المنطقة الزمنية",+ "date_format": "تنسيق التاريخ",+ "expiring_soon_days": "أيام انتهاء الصلاحية قريباً",+ "save_changes": "حفظ التغييرات",+ "current_user": "تحرير الملف الشخصي لـ:",+ "your_email": "بريدك الإلكتروني:",+ "first_name": "الاسم الأول",+ "last_name": "اسم العائلة",+ "email": "البريد الإلكتروني",+ "save_profile": "حفظ الملف الشخصي",+ "default_view": "العرض الافتراضي",+ "default_view_desc": "اختر العرض المفضل للضمانات",+ "grid_view": "عرض الشبكة",+ "list_view": "عرض القائمة",+ "table_view": "عرض الجدول",+ "currency_symbol": "رمز العملة",+ "currency_symbol_desc": "اختر الرمز لعرض الأسعار",+ "currency_position": "موضع العملة",+ "currency_position_desc": "اختر ما إذا كان رمز العملة يظهر على يسار أو يمين الأرقام",+ "expiring_soon_days_desc": "عدد الأيام قبل انتهاء الضمان للتمييز كـ \"تنتهي قريباً\"",+ "date_format_desc": "اختر كيفية عرض التواريخ",+ "save_preferences": "حفظ التفضيلات",+ "notification_settings": "إعدادات الإشعارات",+ "notification_channel": "قناة الإشعارات",+ "notification_channel_desc": "اختر كيفية تلقي الإشعارات",+ "notification_disabled": "معطل",+ "notification_email": "البريد الإلكتروني",+ "notification_apprise": "Apprise",+ "notification_both": "كلاهما",+ "email_settings": "إعدادات البريد الإلكتروني",+ "notification_frequency": "تكرار الإشعارات",+ "notification_frequency_desc": "كم مرة تتلقى إشعارات البريد الإلكتروني",+ "daily": "يومياً",+ "weekly": "أسبوعياً",+ "monthly": "شهرياً",+ "notification_time": "وقت الإشعار",+ "timezone_desc": "منطقتك الزمنية المحلية للإشعارات",+ "apprise_settings": "إعدادات Apprise",+ "apprise_frequency": "تكرار إشعارات Apprise",+ "apprise_frequency_desc": "كم مرة تتلقى إشعارات Apprise",+ "apprise_time": "وقت إشعار Apprise",+ "apprise_timezone": "المنطقة الزمنية لـ Apprise",+ "apprise_timezone_desc": "منطقتك الزمنية المحلية لإشعارات Apprise",+ "save_notification_settings": "حفظ إعدادات الإشعار",+ "security": "الأمان",+ "change_password": "تغيير كلمة المرور",+ "change_password_desc": "حدث كلمة المرور الخاصة بك",+ "change": "تغيير",+ "current_password": "كلمة المرور الحالية",+ "new_password": "كلمة المرور الجديدة",+ "confirm_password": "تأكيد كلمة المرور",+ "update_password": "تحديث كلمة المرور",+ "cancel": "إلغاء",+ "danger_zone": "منطقة الخطر",+ "delete_account": "حذف الحساب",+ "delete_account_desc": "احذف حسابك وجميع بياناتك بشكل دائم",+ "admin_settings": "إعدادات المدير",+ "admin_actions": "إجراءات المدير",+ "refresh_data": "تحديث البيانات",+ "check_admin_status": "فحص حالة المدير",+ "show_users_list": "عرض قائمة المستخدمين",+ "test_api": "اختبار API",+ "send_notifications": "إرسال إشعارات الضمان",+ "check_scheduler": "التحقق من حالة المجدول",+ "site_settings": "إعدادات الموقع",+ "registration_enabled": "التسجيل مفعل",+ "registration_enabled_desc": "السماح للمستخدمين الجدد بالتسجيل",+ "email_base_url": "عنوان URL الأساسي للبريد الإلكتروني",+ "global_view_enabled": "العرض العام مفعل",+ "global_view_admin_only": "العرض العام للمسؤول فقط",+ "save_site_settings": "حفظ إعدادات الموقع",+ "oidc_configuration": "تكوين OIDC SSO",+ "enable_oidc": "تمكين OIDC SSO",+ "oidc_provider_name": "اسم مزود OIDC",+ "client_id": "معرف العميل",+ "client_secret": "سر العميل",+ "issuer_url": "عنوان URL للمصدر",+ "scope": "النطاق",+ "save_oidc_settings": "حفظ إعدادات OIDC",+ "oidc_sso_desc": "السماح للمستخدمين بتسجيل الدخول عبر موفر OIDC.",+ "oidc_only_mode": "وضع تسجيل الدخول OIDC فقط",+ "oidc_only_mode_desc": "إخفاء نموذج تسجيل الدخول التقليدي باسم المستخدم/كلمة المرور والسماح فقط بتسجيل الدخول عبر OIDC. <strong>تحذير:</strong> تأكد من تكوين OIDC بشكل صحيح قبل تمكين هذا الخيار.",+ "oidc_provider_name_desc": "الاسم الداخلي لعميل OIDC (على سبيل المثال، 'oidc').",+ "client_secret_desc": "قيمة حساسة. مخزنة في قاعدة البيانات. يلزم إعادة تشغيل التطبيق حتى تدخل التغييرات حيز التنفيذ.",+ "issuer_url_desc": "عنوان URL الأساسي لموفر OIDC الخاص بك.",+ "scope_desc": "نطاقات OIDC مفصولة بمسافات.",+ "oidc_restart_message": "يلزم إعادة تشغيل التطبيق حتى تدخل إعدادات OIDC حيز التنفيذ بالكامل.",+ "api_token": "رمز API",+ "view_documents": "عرض المستندات في Warracker",+ "connection_testing": "اختبار الاتصال",+ "apprise_notifications": "إشعارات Apprise",+ "enable_apprise": "تمكين إشعارات Apprise",+ "loading": "جار التحميل...",+ "time_of_day_notification": "وقت اليوم لتلقي الإشعارات (بتنسيق 24 ساعة)",+ "paperless_ngx_settings": "إعدادات Paperless-ngx",+ "paperless_ngx_about_title": "حول تكامل Paperless-ngx:",+ "paperless_ngx_about_desc": "تتيح لك هذه الميزة الاختيارية تخزين مستندات الضمان في مثيل Paperless-ngx المستضاف ذاتيًا بدلاً من تخزينها محليًا. عند التمكين، يمكن للمستخدمين اختيار مكان تخزين كل مستند: محليًا أو في Paperless-ngx.",+ "paperless_ngx_desc": "تكوين التكامل مع نظام إدارة المستندات Paperless-ngx",+ "enable_paperless": "تمكين تكامل Paperless-ngx",+ "paperless_url": "عنوان URL لـ Paperless-ngx",+ "paperless_token": "رمز API",+ "paperless_token_desc": "رمز مصادقة API الخاص بك في Paperless-ngx",+ "paperless_token_desc_generate": "أنشئ رمز API من مثيل Paperless-ngx الخاص بك (الإعدادات → رموز API).",+ "paperless_view_in_app": "عرض المستندات في التطبيق",+ "paperless_view_in_app_desc": "فتح المستندات داخل التطبيق بدلاً من علامة تبويب جديدة",+ "debug_config": "تكوين التصحيح",+ "test_upload": "اختبار التحميل",+ "save_paperless_settings": "حفظ إعدادات Paperless-ngx",+ "apprise_desc": "تكوين Apprise لتسليم الإشعارات المتقدمة إلى خدمات متعددة",+ "apprise_desc_system_wide": "تمكين أو تعطيل إشعارات Apprise على مستوى النظام",+ "apprise_not_available_title": "Apprise غير متوفر:",+ "apprise_not_available_desc": "مكتبة إشعارات Apprise غير مثبتة أو غير متوفرة. ميزات الإشعارات معطلة.",+ "apprise_url": "عنوان URL لـ Apprise",+ "apprise_url_desc": "عنوان URL لخدمة إشعارات Apprise الخاصة بك",+ "apprise_mode": "وضع الإشعارات",+ "apprise_mode_desc": "اختر متى يتم إرسال إشعارات Apprise",+ "apprise_mode_global": "ملخص عالمي",+ "apprise_mode_individual": "لكل مستخدم",+ "test_paperless": "اختبار اتصال Paperless",+ "test_apprise": "اختبار اتصال Apprise",+ "apprise_warranty_scope": "نطاق الضمان",+ "apprise_warranty_scope_desc": "اختر الضمانات التي سيتم تضمينها في الإشعارات",+ "all_warranties": "جميع الضمانات",+ "personal_warranties": "الضمانات الشخصية فقط",+ "all_users_warranties": "ضمانات جميع المستخدمين",+ "admin_warranties_only": "ضمانات المسؤول فقط",+ "apprise_notification_days": "أيام الإشعار",+ "apprise_notification_days_desc": "أيام قبل انتهاء الصلاحية لإرسال الإشعارات (مفصولة بفواصل، على سبيل المثال، \"7,30\" لمدة 7 أيام و 30 يومًا قبل)",+ "apprise_check_frequency": "تردد التحقق",+ "apprise_check_frequency_desc": "كم مرة يتحقق النظام من الضمانات التي تنتهي صلاحيتها (إعداد عالمي)",+ "apprise_title_prefix": "بادئة عنوان الرسالة",+ "apprise_title_prefix_desc": "بادئة تضاف إلى عناوين الإشعارات (على سبيل المثال، ينتج عن \"[Warracker]\" \"[Warracker] ضمانات تنتهي صلاحيتها قريبًا\")",+ "apprise_test_url": "عنوان URL للاختبار (اختياري)",+ "apprise_test_url_desc": "اختياري: عنوان URL لإرسال إشعارات الاختبار فقط (لن يتم حفظه في التكوين الرئيسي)",+ "save_apprise_settings": "حفظ إعدادات Apprise",+ "validate_urls": "التحقق من صحة عناوين URL",+ "send_expiration_notifications_now": "إرسال إشعارات انتهاء الصلاحية الآن",+ "apprise_current_status": "الحالة الحالية",+ "apprise_urls_configured": "عناوين URL التي تم تكوينها:",+ "apprise_supported_services": "الخدمات المدعومة",+ "apprise_supported_services_desc": "يدعم Apprise أكثر من 80 خدمة إعلامية بما في ذلك: Discord و Slack و Telegram والبريد الإلكتروني (Gmail و Outlook) و Webhooks و Microsoft Teams و Matrix و Pushover و Ntfy و Gotify وغيرها الكثير.",+ "view_full_list_of_supported_services": "عرض القائمة الكاملة للخدمات المدعومة",+ "ownership_management": "إدارة الملكية",+ "transfer_ownership": "نقل الملكية",+ "warning_title": "تحذير:",+ "transfer_ownership_warning": "نقل ملكية التطبيق إلى مستخدم مسؤول آخر. هذا الإجراء لا رجعة فيه.",+ "transfer_ownership_desc": "بمجرد نقل الملكية، ستصبح مسؤولاً عادياً وسيكون للمالك الجديد السيطرة النهائية على التطبيق.",+ "select_new_owner": "حدد المالك الجديد (يجب أن يكون مسؤولاً)",+ "select_admin_user": "حدد مستخدمًا مسؤولاً...",+ "transfer_ownership_button": "نقل الملكية",+ "transfer_ownership_irreversible": "هذا الإجراء لا يمكن التراجع عنه.",+ "transfer_ownership_confirmation": "أنت على وشك نقل ملكية التطبيق إلى",+ "after_this_transfer": "بعد هذا النقل:",+ "transfer_ownership_consequence_1": "سوف تصبح مسؤولاً عادياً",+ "transfer_ownership_consequence_2": "سيكون للمالك الجديد السيطرة النهائية على التطبيق",+ "transfer_ownership_consequence_3": "فقط المالك الجديد يمكنه نقل الملكية مرة أخرى",+ "transfer_ownership_type_to_confirm": "للتأكيد، يرجى كتابة \"TRANSFER\" في الحقل أدناه:"+ },+ "actions": {+ "save": "حفظ",+ "cancel": "إلغاء",+ "delete": "حذف",+ "edit": "تحرير",+ "export": "تصدير",+ "import": "استيراد",+ "refresh": "تحديث",+ "search": "بحث",+ "clear": "مسح",+ "upload": "تحميل",+ "download": "تنزيل",+ "manage_tags": "إدارة العلامات",+ "close": "إغلاق",+ "save_changes": "حفظ التغييرات"+ },+ "filters": {+ "all_status": "كل الحالات",+ "all_tags": "كل العلامات",+ "all_vendors": "كل البائعين",+ "all_types": "كل الأنواع",+ "sort_by": "فرز حسب",+ "sort_expiration": "تاريخ الانتهاء",+ "sort_purchase": "تاريخ الشراء",+ "sort_age": "العمر",+ "sort_name": "اسم المنتج",+ "sort_vendor": "البائع",+ "sort_warranty_type": "نوع الضمان",+ "status": "الحالة",+ "tags": "العلامات",+ "vendor": "البائع",+ "warranty_type": "نوع الضمان",+ "view": "العرض",+ "scope": "النطاق"+ },+ "messages": {+ "success": "نجاح",+ "error": "خطأ",+ "warning": "تحذير",+ "loading": "جار التحميل...",+ "saved": "تم حفظ التغييرات بنجاح",+ "deleted": "تم حذف العنصر بنجاح",+ "confirm_delete": "هل أنت متأكد أنك تريد حذف هذا العنصر؟",+ "no_results": "لم يتم العثور على نتائج",+ "file_too_large": "الملف كبير جدا",+ "invalid_file_type": "نوع الملف غير صالح",+ "fill_first_last_name": "يرجى ملء الاسم الأول والأخير",+ "email_cannot_be_empty": "عنوان البريد الإلكتروني لا يمكن أن يكون فارغًا.",+ "enter_valid_email": "يرجى إدخال عنوان بريد إلكتروني صالح.",+ "profile_updated_successfully": "تم تحديث الملف الشخصي بنجاح",+ "preferences_saved_successfully": "تم حفظ التفضيلات بنجاح.",+ "fill_password_fields": "يرجى ملء جميع حقول كلمة المرور",+ "passwords_do_not_match": "كلمات المرور الجديدة غير متطابقة",+ "password_min_length": "يجب أن تكون كلمة المرور 8 أحرف على الأقل",+ "type_delete_to_confirm": "يرجى كتابة DELETE للتأكيد",+ "account_deleted_successfully": "تم حذف الحساب بنجاح",+ "account_cannot_delete_offline": "لا يمكن حذف الحساب في وضع عدم الاتصال",+ "failed_delete_account": "فشل في حذف الحساب. يرجى المحاولة مرة أخرى.",+ "user_updated_successfully": "تم تحديث المستخدم بنجاح",+ "user_deleted_successfully": "تم حذف المستخدم بنجاح",+ "user_id_missing": "معرف المستخدم مفقود",+ "failed_load_users": "فشل في تحميل المستخدمين",+ "error_loading_users": "خطأ في تحميل المستخدمين",+ "select_user_transfer_ownership": "يرجى تحديد مستخدم لنقل الملكية إليه",+ "ownership_transferred_successfully": "تم نقل الملكية بنجاح! جارٍ تحديث الصفحة...",+ "failed_load_site_settings": "فشل في تحميل إعدادات الموقع. يرجى المحاولة مرة أخرى.",+ "invalid_email_base_url": "تنسيق URL أساسي للبريد الإلكتروني غير صالح. يجب أن يبدأ بـ http:// أو https://",+ "no_site_settings_to_save": "لا توجد إعدادات موقع لحفظها.",+ "site_settings_saved_successfully": "تم حفظ إعدادات الموقع بنجاح",+ "failed_save_site_settings": "فشل في حفظ إعدادات الموقع",+ "oidc_settings_saved_successfully": "تم حفظ إعدادات OIDC بنجاح.",+ "failed_save_oidc_settings": "فشل في حفظ إعدادات OIDC.",+ "api_endpoint_accessible": "نقطة نهاية API قابلة للوصول",+ "api_endpoint_not_accessible": "نقطة نهاية API غير قابلة للوصول. الحالة: ",+ "only_admins_send_notifications": "يمكن للمسؤولين فقط إرسال إشعارات الضمان",+ "notifications_triggered_successfully": "تم تشغيل الإشعارات بنجاح",+ "notification_settings_saved_successfully": "تم حفظ إعدادات الإشعارات بنجاح",+ "apprise_settings_saved_successfully": "تم حفظ إعدادات Apprise بنجاح",+ "test_notification_sent_successfully": "تم إرسال إشعار الاختبار بنجاح",+ "no_urls_to_validate": "لا توجد عناوين URL للتحقق من صحتها",+ "paperless_settings_saved_successfully": "تم حفظ إعدادات Paperless-ngx بنجاح!",+ "enter_valid_paperless_url": "يرجى إدخال عنوان URL صالح (مثل https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "يرجى إدخال عنوان URL لـ Paperless-ngx أولاً",+ "paperless_connection_test_successful": "نجح اختبار اتصال Paperless-ngx!",+ "paperless_connection_test_failed": "فشل اختبار اتصال Paperless-ngx",+ "enter_api_token_test_connection": "يرجى إدخال رمز API لاختبار الاتصال",+ "failed_load_user_data": "فشل في تحميل بيانات المستخدم. يرجى المحاولة مرة أخرى.",+ "could_not_connect_user_data": "لا يمكن الاتصال لاسترداد بيانات المستخدم. عرض المعلومات المحفوظة مؤقتًا.",+ "preferences_saved_locally_failed_sync": "تم حفظ التفضيلات محليًا، لكن فشل في المزامنة مع الخادم: ",+ "preferences_saved_locally": "تم حفظ التفضيلات محليًا.",+ "correct_errors_in_tab": "يرجى تصحيح الأخطاء في التبويب المظلل قبل المتابعة.",+ "please_fill_out_this_field": "يرجى ملء هذا الحقل."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "حالة النظام",+ "dashboard_title": "لوحة معلومات حالة الضمان",+ "global_dashboard_title": "لوحة معلومات حالة الضمان العالمية",+ "overview": "نظرة عامة",+ "statistics": "الإحصائيات",+ "total_warranties": "إجمالي الضمانات",+ "active_warranties": "الضمانات النشطة",+ "expiring_soon": "تنتهي قريباً",+ "expired_warranties": "الضمانات المنتهية",+ "warranty_distribution": "توزيع الضمانات",+ "expiration_timeline": "الجدول الزمني للانتهاء",+ "recent_activity": "النشاط الأخير",+ "recent_expirations": "منتهية الصلاحية مؤخراً أو ستنتهي قريباً",+ "recent_expirations_empty": "لا توجد ضمانات منتهية الصلاحية مؤخراً أو ستنتهي قريباً.",+ "system_health": "صحة النظام",+ "database_status": "حالة قاعدة البيانات",+ "connected": "متصل",+ "version": "الإصدار",+ "uptime": "وقت التشغيل"+ },+ "about": {+ "title": "حول Warracker",+ "description": "نظام شامل لإدارة الضمانات مصمم لمساعدتك في تتبع وتنظيم وإدارة جميع ضمانات منتجاتك في منصة واحدة آمنة وسهلة الاستخدام.",+ "version": "الإصدار",+ "update_status": "حالة التحديث",+ "checking_updates": "جارٍ التحقق من وجود تحديثات...",+ "view_release_notes": "عرض ملاحظات الإصدار",+ "project_info": "معلومات المشروع",+ "project_description": "Warracker هو نظام إدارة ضمانات مفتوح المصدر مبني بتقنيات الويب الحديثة. يوفر طريقة آمنة وبديهية لإدارة ضمانات المنتجات وتتبع تواريخ انتهاء الصلاحية وتنظيم المستندات المهمة.",+ "github_repository": "مستودع GitHub",+ "releases": "الإصدارات",+ "community_support": "المجتمع والدعم",+ "community_description": "انضم إلى مجتمعنا للحصول على الدعم والمناقشات والتحديثات. أبلغ عن الأخطاء، واطلب الميزات، أو احصل على المساعدة من المستخدمين والمساهمين الآخرين.",+ "discord_community": "مجتمع Discord",+ "report_issues": "الإبلاغ عن المشكلات",+ "developer_info": "معلومات المطور",+ "developer_description": "تم تطوير وصيانة Warracker بواسطة Sassanix. المشروع مفتوح المصدر ويرحب بمساهمات المجتمع.",+ "sassanix": "Sassanix",+ "agpl_license": "رخصة AGPL-3.0",+ "support_project": "ادعم المشروع",+ "support_description": "إذا وجدت Warracker مفيدًا، ففكر في دعم تطويره!",+ "new_version_available": "إصدار جديد {{version}} متوفر!",+ "latest_version": "أنت تستخدم أحدث إصدار",+ "update_check_failed": "فشل التحقق من وجود تحديثات",+ "features": "الميزات",+ "feature_track": "تتبع ضمانات المنتج",+ "feature_notifications": "الحصول على إشعارات انتهاء الصلاحية",+ "feature_documents": "تخزين مستندات الضمان",+ "feature_reports": "إنشاء تقارير الضمان",+ "feature_tags": "التنظيم باستخدام العلامات",+ "feature_export": "تصدير بيانات الضمان",+ "support": "الدعم",+ "documentation": "التوثيق",+ "github": "GitHub",+ "license": "الترخيص",+ "copyright": "حقوق الطبع والنشر",+ "developed_by": "طور بواسطة"+ }+}diff --git a/locales/cs/translation.json b/locales/cs/translation.jsonnew file mode 100644index 0000000..b429101--- /dev/null+++ b/locales/cs/translation.json@@ -0,0 +1,557 @@+{+ "app_title": "Warracker",+ "subtitle": "Sledovač záruk",+ "nav": {+ "home": "Domů",+ "status": "Stav",+ "settings": "Nastavení",+ "about": "O aplikaci"+ },+ "auth": {+ "login": "Přihlásit se",+ "logout": "Odhlásit se",+ "register": "Registrovat",+ "username": "Uživatelské jméno",+ "password": "Heslo",+ "email": "E-mail",+ "first_name": "Jméno",+ "last_name": "Příjmení",+ "forgot_password": "Zapomenuté heslo?",+ "reset_password": "Resetovat heslo",+ "confirm_password": "Potvrdit heslo",+ "create_account_title": "Vytvořit si účet",+ "first_name_optional": "Jméno (volitelné)",+ "last_name_optional": "Příjmení (volitelné)",+ "username_hint": "Uživatelské jméno musí být jedinečné a bude použito pro přihlášení.",+ "email_address": "E-mailová adresa",+ "toggle_password": "Zobrazit/skrýt heslo",+ "password_hint_simple": "Heslo musí mít alespoň 8 znaků a obsahovat velká písmena, malá písmena a číslice.",+ "password_requirements": "Požadavky na heslo:",+ "req_length": "Alespoň 8 znaků",+ "req_uppercase": "Alespoň 1 velké písmeno",+ "req_lowercase": "Alespoň 1 malé písmeno",+ "req_number": "Alespoň 1 číslice",+ "req_special": "Alespoň 1 speciální znak",+ "create_account": "Vytvořit účet",+ "already_have_account": "Už máte účet?",+ "reset_password_title": "Warracker - Resetovat heslo",+ "reset_your_password": "Resetujte si heslo",+ "reset_password_info": "Zadejte níže svou e-mailovou adresu a my vám zašleme odkaz pro resetování hesla.",+ "send_reset_link": "Odeslat odkaz pro resetování",+ "back_to_login": "Zpět na přihlášení",+ "set_new_password_title": "Warracker - Nastavit nové heslo",+ "set_new_password": "Nastavit nové heslo",+ "new_password": "Nové heslo",+ "confirm_new_password": "Potvrdit nové heslo",+ "invalid_or_expired_link": "Neplatný nebo prošlý odkaz",+ "invalid_link_info": "Odkaz pro resetování hesla, na který jste klikli, je neplatný nebo prošlý.",+ "request_new_reset_link": "Požádat o nový odkaz pro resetování"+ },+ "warranties": {+ "title": "Vaše záruky",+ "title_global": "Záruky všech uživatelů",+ "add_new": "Přidat novou záruku",+ "edit": "Upravit záruku",+ "delete": "Smazat záruku",+ "product_name": "Název produktu",+ "purchase_date": "Datum nákupu",+ "warranty_duration": "Doba záruky",+ "years": "Roky",+ "months": "Měsíce",+ "days": "Dny",+ "vendor": "Prodejce",+ "serial_numbers": "Sériová čísla",+ "purchase_price": "Nákupní cena",+ "notes": "Poznámky",+ "tags": "Tagy",+ "status": "Stav",+ "expiration_date": "Datum vypršení",+ "active": "Aktivní",+ "expired": "Vypršelá",+ "expiring_soon": "Brzy vyprší",+ "lifetime": "Doživotní",+ "no_warranties": "Zatím žádné záruky. Přidejte svou první záruku, abyste mohli začít.",+ "search_placeholder": "Hledat podle názvu, prodejce, poznámek, tagu nebo sériového čísla...",+ "warranty_type": "Typ záruky",+ "other_document": "Jiný dokument",+ "product": "Produkt",+ "expiration": "Vypršení",+ "actions": "Akce",+ "no_warranties_title": "Zatím žádné záruky",+ "no_warranties_desc": "Přidejte svou první záruku, abyste mohli začít",+ "add_warranty": "Přidat záruku",+ "warranty_entry_method": "Metoda zadání záruky",+ "warranty_duration_option": "Doba záruky",+ "exact_expiration_option": "Přesné datum vypršení",+ "warranty_period": "Záruční doba",+ "expiration_date_label": "Datum vypršení",+ "currency": "Měna",+ "add_tags": "Přidat tagy",+ "add_tags_desc": "Tagy vám pomohou organizovat a filtrovat vaše záruky",+ "save_changes": "Uložit změny",+ "confirm_delete": "Potvrdit smazání",+ "manage_tags": "Spravovat tagy",+ "add_tag": "Přidat tag",+ "unknown_status": "Neznámý stav",+ "expiring_soon_days": "Brzy vyprší ({{days}} {{dayText}})",+ "days_remaining": "Zbývá {{days}} {{dayText}}",+ "day_one": "den",+ "day_few": "dny",+ "day_many": "dní",+ "day_other": "dny",+ "month_one": "měsíc",+ "month_few": "měsíce",+ "month_many": "měsíců",+ "month_other": "měsíce",+ "year_one": "rok",+ "year_few": "roky",+ "year_many": "let",+ "year_other": "roky",+ "na": "N/A",+ "age": "Stáří",+ "warranty": "Záruka",+ "warranty_ends": "Záruka končí",+ "price": "Cena",+ "serial_number": "Sériové číslo",+ "type": "Typ",+ "owner": "Vlastník",+ "product_website": "Webová stránka produktu",+ "documents": "Dokumenty",+ "summary": "Shrnutí",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "Roky",+ "months_placeholder": "Měsíce",+ "days_placeholder": "Dny",+ "add_any_notes_placeholder": "Přidejte poznámky k této záruce...",+ "product_url_optional": "URL produktu (volitelné)",+ "enter_serial_number": "Zadejte sériové číslo",+ "vendor_optional": "Prodejce (volitelné)",+ "vendor_placeholder": "např. Amazon, Best Buy atd.",+ "lifetime_warranty": "Doživotní záruka",+ "warranty_type_optional": "Typ záruky (volitelné)",+ "select_warranty_type": "Vyberte typ záruky...",+ "standard": "Standardní",+ "extended": "Prodloužená",+ "manufacturer": "Výrobce",+ "third_party": "Třetí strana",+ "store": "Obchod",+ "premium": "Prémiová",+ "limited": "Omezená",+ "full": "Plná",+ "parts_only": "Pouze díly",+ "labor_only": "Pouze práce",+ "international": "Mezinárodní",+ "accidental_damage": "Náhodné poškození",+ "other_custom": "Jiné (vlastní)",+ "enter_custom_warranty_type": "Zadejte vlastní typ záruky",+ "purchase_price_optional": "Nákupní cena (volitelné)",+ "notes_optional": "Poznámky (volitelné)",+ "add_any_notes": "Přidejte jakékoli poznámky k této záruce...",+ "product_photo_optional": "Fotografie produktu (volitelné)",+ "choose_photo": "Vybrat fotografii",+ "invoice_receipt": "Faktura/Účtenka",+ "store_locally": "Uložit lokálně",+ "store_in_paperless": "Uložit v Paperless-ngx",+ "choose_file": "Vybrat soubor",+ "browse_paperless": "Procházet dokumenty Paperless-ngx",+ "product_manual_optional": "Návod k produktu (volitelné)",+ "files_zip_rar_optional": "Soubory (ZIP/RAR, volitelné)",+ "search_or_add_new_tag": "Hledat nebo přidat nový tag...",+ "product_information": "Informace o produktu",+ "product_url": "URL produktu",+ "warranty_details": "Detaily záruky",+ "product_photo": "Fotografie produktu",+ "product_manual": "Návod k produktu",+ "files": "Soubory",+ "selected_tags": "Vybrané tagy",+ "previous_tab": "Předchozí",+ "next_tab": "Další",+ "delete_photo": "Smazat fotografii",+ "delete_invoice": "Smazat fakturu",+ "delete_manual": "Smazat návod",+ "delete_files": "Smazat soubory",+ "current_photo": "Aktuální fotografie:",+ "current_invoice": "Aktuální faktura:",+ "current_manual": "Aktuální návod:",+ "current_document": "Aktuální dokument:",+ "upload_new_photo_replace": "(Nahrát novou fotografii pro nahrazení)",+ "no_photo_uploaded": "Žádná fotografie nebyla nahrána",+ "no_invoice_uploaded": "Žádná faktura nebyla nahrána",+ "no_manual_uploaded": "Žádný návod nebyl nahrán",+ "no_document_uploaded": "Žádný jiný dokument nebyl nahrán",+ "photo_will_be_deleted": "Fotografie bude při uložení smazána",+ "invoice_will_be_deleted": "Faktura bude při uložení smazána",+ "manual_will_be_deleted": "Návod bude při uložení smazán",+ "document_will_be_deleted": "Jiný dokument bude při uložení smazán",+ "confirm_delete_message": "Jste si jisti, že chcete smazat tuto záruku? Tuto akci nelze vrátit.",+ "new_tag_name": "Nový název tagu",+ "existing_tags": "Existující tagy",+ "edit_warranty": "Upravit záruku",+ "warranty_type_standard": "Standardní",+ "warranty_type_extended": "Prodloužená",+ "warranty_type_manufacturer": "Výrobce",+ "warranty_type_third_party": "Třetí strana",+ "warranty_type_store": "Obchod",+ "warranty_type_premium": "Prémiová",+ "warranty_type_limited": "Omezená",+ "warranty_type_full": "Plná",+ "warranty_type_parts_only": "Pouze díly",+ "warranty_type_labor_only": "Pouze práce",+ "warranty_type_international": "Mezinárodní",+ "warranty_type_accidental_damage": "Náhodné poškození",+ "warranty_type_other": "Jiné (vlastní)",+ "warranty_type_custom_placeholder": "Zadejte vlastní typ záruky",+ "notes_placeholder": "Další poznámky k této záruce...",+ "tags_help_text": "Tagy vám pomohou organizovat a filtrovat vaše záruky",+ "search_add_tag_placeholder": "Hledat nebo přidat nový tag...",+ "upload_new_file_replace": "Nahrát nový soubor pro nahrazení",+ "current_other_document": "Aktuální jiný dokument",+ "no_other_document_uploaded": "Žádný jiný dokument nebyl nahrán",+ "other_document_will_be_deleted": "Jiný dokument bude při uložení smazán",+ "files_optional": "Soubory (ZIP/RAR, volitelné)",+ "invoice_receipt_short": "Faktura",+ "product_manual_short": "Návod",+ "files_short": "Soubory",+ "enter_serial_number": "Zadejte sériové číslo",+ "add_serial_number": "Přidat další sériové číslo"+ },+ "settings": {+ "title": "Nastavení",+ "account_settings": "Nastavení účtu",+ "preferences": "Předvolby",+ "language": "Jazyk",+ "select_language": "Vyberte jazyk",+ "dark_mode": "Tmavý režim",+ "dark_mode_desc": "Přepínání mezi světlým a tmavým motivem",+ "currency": "Měna",+ "timezone": "Časové pásmo",+ "date_format": "Formát data",+ "expiring_soon_days": "Dny do vypršení",+ "save_changes": "Uložit změny",+ "current_user": "Úprava profilu pro:",+ "your_email": "Váš e-mail:",+ "first_name": "Jméno",+ "last_name": "Příjmení",+ "email": "E-mail",+ "save_profile": "Uložit změny",+ "default_view": "Výchozí zobrazení",+ "default_view_desc": "Vyberte si preferované zobrazení pro záruky",+ "grid_view": "Mřížka",+ "list_view": "Seznam",+ "table_view": "Tabulka",+ "currency_symbol": "Symbol měny",+ "currency_symbol_desc": "Vyberte symbol pro zobrazení cen",+ "currency_position": "Pozice měny",+ "currency_position_desc": "Vyberte, zda se symbol měny zobrazí vlevo nebo vpravo od čísel",+ "expiring_soon_days_desc": "Počet dní před vypršením pro zobrazení varování",+ "date_format_desc": "Vyberte, jak se budou zobrazovat data",+ "save_preferences": "Uložit předvolby",+ "notification_settings": "Nastavení oznámení",+ "notification_channel": "Kanál oznámení",+ "notification_channel_desc": "Vyberte, jak chcete dostávat oznámení",+ "notification_disabled": "Vypnuto",+ "notification_email": "E-mail",+ "notification_apprise": "Apprise",+ "notification_both": "Obojí",+ "email_settings": "Nastavení e-mailu",+ "notification_frequency": "Frekvence oznámení",+ "notification_frequency_desc": "Jak často dostávat e-mailová oznámení",+ "daily": "Denně",+ "weekly": "Týdně",+ "monthly": "Měsíčně",+ "notification_time": "Čas oznámení",+ "timezone_desc": "Vaše místní časové pásmo pro oznámení",+ "apprise_settings": "Nastavení Apprise",+ "apprise_frequency": "Frekvence oznámení Apprise",+ "apprise_frequency_desc": "Jak často dostávat oznámení Apprise",+ "apprise_time": "Čas oznámení Apprise",+ "apprise_timezone": "Časové pásmo Apprise",+ "apprise_timezone_desc": "Vaše místní časové pásmo pro oznámení Apprise",+ "save_notification_settings": "Uložit nastavení oznámení",+ "security": "Zabezpečení",+ "change_password": "Změnit heslo",+ "change_password_desc": "Aktualizujte heslo svého účtu",+ "change": "Změnit",+ "current_password": "Současné heslo",+ "new_password": "Nové heslo",+ "confirm_password": "Potvrdit nové heslo",+ "update_password": "Aktualizovat heslo",+ "cancel": "Zrušit",+ "danger_zone": "Nebezpečná zóna",+ "delete_account": "Smazat účet",+ "delete_account_desc": "Trvale smazat váš účet a všechna data",+ "admin_settings": "Nastavení administrátora",+ "admin_actions": "Akce administrátora",+ "refresh_data": "Aktualizovat data",+ "check_admin_status": "Zkontrolovat stav administrátora",+ "show_users_list": "Zobrazit seznam uživatelů",+ "test_api": "Testovat API",+ "send_notifications": "Odeslat oznámení o záruce",+ "check_scheduler": "Zkontrolovat stav plánovače",+ "site_settings": "Nastavení webu",+ "registration_enabled": "Registrace povolena",+ "registration_enabled_desc": "Povolit novým uživatelům registraci",+ "email_base_url": "Základní URL e-mailu",+ "global_view_enabled": "Globální zobrazení povoleno",+ "global_view_admin_only": "Globální zobrazení pouze pro administrátory",+ "save_site_settings": "Uložit nastavení webu",+ "oidc_configuration": "Konfigurace OIDC SSO",+ "enable_oidc": "Povolit OIDC SSO",+ "oidc_provider_name": "Název poskytovatele OIDC",+ "client_id": "ID klienta",+ "client_secret": "Tajný klíč klienta",+ "issuer_url": "URL vydavatele",+ "scope": "Rozsah",+ "save_oidc_settings": "Uložit nastavení OIDC",+ "oidc_sso_desc": "Povolit uživatelům přihlášení přes poskytovatele OIDC.",+ "oidc_only_mode": "Režim přihlášení pouze přes OIDC",+ "oidc_only_mode_desc": "Skrýt tradiční formulář pro přihlášení pomocí uživatelského jména/hesla a povolit pouze přihlášení přes OIDC. <strong>Varování:</strong> Před povolením této možnosti se ujistěte, že je OIDC správně nakonfigurován.",+ "oidc_provider_name_desc": "Interní název pro klienta OIDC (např. 'oidc').",+ "client_secret_desc": "Citlivá hodnota. Uloženo v databázi. Pro projevení změn je nutný restart aplikace.",+ "issuer_url_desc": "Základní URL vašeho poskytovatele OIDC.",+ "scope_desc": "Rozsahy OIDC oddělené mezerami.",+ "oidc_restart_message": "Pro plné projevení nastavení OIDC je nutný restart aplikace.",+ "api_token": "API token",+ "view_documents": "Zobrazit dokumenty ve Warrackeru",+ "connection_testing": "Testování připojení",+ "apprise_notifications": "Oznámení Apprise",+ "enable_apprise": "Povolit oznámení Apprise",+ "loading": "Načítání...",+ "time_of_day_notification": "Čas dne pro příjem oznámení (ve 24hodinovém formátu)",+ "paperless_ngx_settings": "Nastavení Paperless-ngx",+ "paperless_ngx_about_title": "O integraci Paperless-ngx:",+ "paperless_ngx_about_desc": "Tato volitelná funkce vám umožňuje ukládat záruční dokumenty do vaší vlastní instance Paperless-ngx namísto lokálního úložiště. Po povolení si uživatelé mohou vybrat, kam chtějí každý dokument uložit: lokálně nebo do Paperless-ngx.",+ "paperless_ngx_desc": "Nakonfigurujte integraci se systémem pro správu dokumentů Paperless-ngx",+ "enable_paperless": "Povolit integraci Paperless-ngx",+ "paperless_url": "URL Paperless-ngx",+ "paperless_url_desc": "Základní URL vaší instance Paperless-ngx",+ "paperless_token": "API token",+ "paperless_token_desc": "Váš API autentizační token Paperless-ngx",+ "paperless_token_desc_generate": "Vygenerujte API token z vaší instance Paperless-ngx (Nastavení → API tokeny).",+ "paperless_view_in_app": "Zobrazit dokumenty v aplikaci",+ "paperless_view_in_app_desc": "Otevírat dokumenty v aplikaci namísto nové karty",+ "debug_config": "Konfigurace ladění",+ "test_upload": "Testovat nahrávání",+ "save_paperless_settings": "Uložit nastavení Paperless-ngx",+ "apprise_desc": "Nakonfigurujte Apprise pro pokročilé doručování oznámení do více služeb",+ "apprise_desc_system_wide": "Povolit nebo zakázat oznámení Apprise v celém systému",+ "apprise_not_available_title": "Apprise není k dispozici:",+ "apprise_not_available_desc": "Knihovna oznámení Apprise není nainstalována nebo není k dispozici. Funkce oznámení jsou zakázány.",+ "apprise_url": "URL Apprise",+ "apprise_url_desc": "URL vaší služby oznámení Apprise",+ "apprise_mode": "Režim oznámení",+ "apprise_mode_desc": "Vyberte, kdy se mají odesílat oznámení Apprise",+ "apprise_mode_global": "Globální shrnutí",+ "apprise_mode_individual": "Na uživatele",+ "test_paperless": "Testovat připojení Paperless",+ "test_apprise": "Testovat připojení Apprise",+ "apprise_warranty_scope": "Rozsah záruky",+ "apprise_warranty_scope_desc": "Vyberte, které záruky zahrnout do oznámení",+ "all_warranties": "Všechny záruky",+ "personal_warranties": "Pouze osobní záruky",+ "all_users_warranties": "Záruky všech uživatelů",+ "admin_warranties_only": "Pouze záruky administrátora",+ "apprise_notification_days": "Dny oznámení",+ "apprise_notification_days_desc": "Dny před vypršením pro odeslání oznámení (oddělené čárkou, např. \"7,30\" pro 7 a 30 dní předem)",+ "apprise_check_frequency": "Frekvence kontroly",+ "apprise_check_frequency_desc": "Jak často systém kontroluje vypršení záruk (globální nastavení)",+ "apprise_title_prefix": "Předpona názvu zprávy",+ "apprise_title_prefix_desc": "Předpona přidaná k názvům oznámení (např. \"[Warracker]\" má za následek \"[Warracker] Záruky brzy vyprší\")",+ "apprise_test_url": "Testovací URL (volitelné)",+ "apprise_test_url_desc": "Volitelné: URL pro odesílání pouze testovacích oznámení (nebude uloženo do hlavní konfigurace)",+ "save_apprise_settings": "Uložit nastavení Apprise",+ "validate_urls": "Ověřit URL",+ "send_expiration_notifications_now": "Odeslat oznámení o vypršení nyní",+ "apprise_current_status": "Aktuální stav",+ "apprise_urls_configured": "Nakonfigurované URL:",+ "apprise_supported_services": "Podporované služby",+ "apprise_supported_services_desc": "Apprise podporuje více než 80 oznamovacích služeb, včetně: Discord, Slack, Telegram, Email (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify a mnoho dalších.",+ "view_full_list_of_supported_services": "Zobrazit úplný seznam podporovaných služeb",+ "ownership_management": "Správa vlastnictví",+ "transfer_ownership": "Převést vlastnictví",+ "warning_title": "Varování:",+ "transfer_ownership_warning": "Převést vlastnictví aplikace na jiného administrátora. Tato akce je nevratná.",+ "transfer_ownership_desc": "Jakmile je vlastnictví převedeno, stanete se běžným administrátorem a nový vlastník bude mít konečnou kontrolu nad aplikací.",+ "select_new_owner": "Vyberte nového vlastníka (musí být administrátor)",+ "select_admin_user": "Vyberte administrátora...",+ "transfer_ownership_button": "Převést vlastnictví",+ "transfer_ownership_irreversible": "Tuto akci nelze vrátit.",+ "transfer_ownership_confirmation": "Chystáte se převést vlastnictví aplikace na",+ "after_this_transfer": "Po tomto převodu:",+ "transfer_ownership_consequence_1": "Stanete se běžným administrátorem",+ "transfer_ownership_consequence_2": "Nový vlastník bude mít konečnou kontrolu nad aplikací",+ "transfer_ownership_consequence_3": "Pouze nový vlastník může znovu převést vlastnictví",+ "transfer_ownership_type_to_confirm": "Pro potvrzení zadejte \"TRANSFER\" do pole níže:"+ },+ "actions": {+ "save": "Uložit",+ "cancel": "Zrušit",+ "delete": "Smazat",+ "edit": "Upravit",+ "export": "Exportovat",+ "import": "Importovat",+ "refresh": "Aktualizovat",+ "search": "Hledat",+ "clear": "Vymazat",+ "upload": "Nahrát",+ "download": "Stáhnout",+ "manage_tags": "Spravovat tagy",+ "close": "Zavřít",+ "save_changes": "Uložit změny"+ },+ "filters": {+ "all_status": "Všechny stavy",+ "all_tags": "Všechny tagy",+ "all_vendors": "Všichni prodejci",+ "all_types": "Všechny typy",+ "sort_by": "Seřadit podle",+ "sort_expiration": "Datum vypršení",+ "sort_purchase": "Datum nákupu",+ "sort_age": "Stáří",+ "sort_name": "Název produktu",+ "sort_vendor": "Prodejce",+ "sort_warranty_type": "Typ záruky",+ "status": "Stav",+ "tags": "Tagy",+ "vendor": "Prodejce",+ "warranty_type": "Typ záruky",+ "view": "Zobrazení",+ "scope": "Rozsah"+ },+ "messages": {+ "success": "Úspěch",+ "error": "Chyba",+ "warning": "Varování",+ "loading": "Načítání...",+ "saved": "Změny úspěšně uloženy",+ "deleted": "Položka úspěšně smazána",+ "confirm_delete": "Jste si jisti, že chcete tuto položku smazat?",+ "no_results": "Nebyly nalezeny žádné výsledky",+ "file_too_large": "Soubor je příliš velký",+ "invalid_file_type": "Neplatný typ souboru",+ "fill_first_last_name": "Vyplňte prosím jméno a příjmení",+ "email_cannot_be_empty": "E-mailová adresa nemůže být prázdná.",+ "enter_valid_email": "Zadejte prosím platnou e-mailovou adresu.",+ "profile_updated_successfully": "Profil úspěšně aktualizován",+ "preferences_saved_successfully": "Předvolby úspěšně uloženy.",+ "fill_password_fields": "Vyplňte prosím všechna pole hesla",+ "passwords_do_not_match": "Nová hesla se neshodují",+ "password_min_length": "Heslo musí mít alespoň 8 znaků",+ "type_delete_to_confirm": "Pro potvrzení zadejte DELETE",+ "account_deleted_successfully": "Účet úspěšně smazán",+ "account_cannot_delete_offline": "Účet nelze smazat v offline režimu",+ "failed_delete_account": "Nepodařilo se smazat účet. Zkuste to prosím znovu.",+ "user_updated_successfully": "Uživatel úspěšně aktualizován",+ "user_deleted_successfully": "Uživatel úspěšně smazán",+ "user_id_missing": "Chybí ID uživatele",+ "failed_load_users": "Nepodařilo se načíst uživatele",+ "error_loading_users": "Chyba při načítání uživatelů",+ "select_user_transfer_ownership": "Vyberte prosím uživatele, na kterého chcete převést vlastnictví",+ "ownership_transferred_successfully": "Vlastnictví úspěšně převedeno! Obnovuji stránku...",+ "failed_load_site_settings": "Nepodařilo se načíst nastavení webu. Zkuste to prosím znovu.",+ "invalid_email_base_url": "Neplatný formát základní URL e-mailu. Musí začínat http:// nebo https://",+ "no_site_settings_to_save": "Žádná nastavení webu k uložení.",+ "site_settings_saved_successfully": "Nastavení webu úspěšně uložena",+ "failed_save_site_settings": "Nepodařilo se uložit nastavení webu",+ "oidc_settings_saved_successfully": "Nastavení OIDC úspěšně uložena.",+ "failed_save_oidc_settings": "Nepodařilo se uložit nastavení OIDC.",+ "api_endpoint_accessible": "API koncový bod je dostupný",+ "api_endpoint_not_accessible": "API koncový bod není dostupný. Stav: ",+ "only_admins_send_notifications": "Pouze administrátoři mohou odesílat oznámení o záruce",+ "notifications_triggered_successfully": "Oznámení úspěšně spuštěna",+ "notification_settings_saved_successfully": "Nastavení oznámení úspěšně uložena",+ "apprise_settings_saved_successfully": "Nastavení Apprise úspěšně uložena",+ "test_notification_sent_successfully": "Testovací oznámení úspěšně odesláno",+ "no_urls_to_validate": "Žádné URL k ověření",+ "paperless_settings_saved_successfully": "Nastavení Paperless-ngx úspěšně uložena!",+ "enter_valid_paperless_url": "Zadejte prosím platnou URL (např. https://paperless.vasedomena.com)",+ "enter_paperless_url_first": "Zadejte prosím nejprve URL Paperless-ngx",+ "paperless_connection_test_successful": "Test připojení Paperless-ngx úspěšný!",+ "paperless_connection_test_failed": "Test připojení Paperless-ngx selhal",+ "enter_api_token_test_connection": "Zadejte prosím API token pro testování připojení",+ "failed_load_user_data": "Nepodařilo se načíst uživatelská data. Zkuste to prosím znovu.",+ "could_not_connect_user_data": "Nepodařilo se připojit k načtení uživatelských dat. Zobrazují se data z mezipaměti.",+ "preferences_saved_locally_failed_sync": "Předvolby byly uloženy lokálně, ale nepodařilo se je synchronizovat se serverem: ",+ "preferences_saved_locally": "Předvolby byly uloženy lokálně.",+ "correct_errors_in_tab": "Před pokračováním opravte chyby v zvýrazněné záložce.",+ "please_fill_out_this_field": "Prosím vyplňte toto pole."+ },+ "languages": {+ "en": "Angličtina",+ "fr": "Francouzština",+ "es": "Španělština",+ "de": "Němčina",+ "it": "Italština",+ "cs": "Čeština",+ "nl": "Nizozemština",+ "hi": "Hindština",+ "fa": "Perština",+ "ar": "Arabština",+ "ru": "Ruština",+ "uk": "Ukrajinština",+ "zh_CN": "Čínština (zjednodušená)",+ "zh_HK": "Čínština (tradiční)",+ "ja": "Japonština",+ "pt": "Portugalština",+ "ko": "Korejština"+ },+ "status": {+ "title": "Stav systému",+ "dashboard_title": "Přehled stavu záruk",+ "global_dashboard_title": "Globální přehled stavu záruk",+ "overview": "Přehled",+ "statistics": "Statistiky",+ "total_warranties": "Celkem záruk",+ "active_warranties": "Aktivní záruky",+ "expiring_soon": "Brzy vyprší",+ "expired_warranties": "Vypršelé záruky",+ "warranty_distribution": "Rozložení záruk",+ "expiration_timeline": "Časová osa vypršení",+ "recent_activity": "Nedávná aktivita",+ "recent_expirations": "Nedávno vypršelé nebo brzy vyprší",+ "recent_expirations_empty": "Žádné nedávno vypršelé nebo brzy vyprší záruky.",+ "system_health": "Stav systému",+ "database_status": "Stav databáze",+ "connected": "Připojeno",+ "version": "Verze",+ "uptime": "Doba provozu"+ },+ "about": {+ "title": "O aplikaci Warracker",+ "description": "Komplexní systém pro správu záruk navržený tak, aby vám pomohl sledovat, organizovat a spravovat všechny vaše záruky na produkty na jedné bezpečné a uživatelsky přívětivé platformě.",+ "version": "Verze",+ "update_status": "Stav aktualizace",+ "checking_updates": "Kontrola aktualizací...",+ "view_release_notes": "Zobrazit poznámky k vydání",+ "project_info": "Informace o projektu",+ "project_description": "Warracker je open-source systém pro správu záruk postavený na moderních webových technologiích. Poskytuje bezpečný a intuitivní způsob správy záruk na produkty, sledování dat vypršení a organizaci důležitých dokumentů.",+ "github_repository": "Repozitář GitHub",+ "releases": "Vydání",+ "community_support": "Komunita a podpora",+ "community_description": "Připojte se k naší komunitě pro podporu, diskuze a aktualizace. Hlášení chyb, žádosti o funkce nebo pomoc od ostatních uživatelů a přispěvatelů.",+ "discord_community": "Komunita Discord",+ "report_issues": "Nahlásit problémy",+ "developer_info": "Informace o vývojáři",+ "developer_description": "Warracker je vyvíjen a udržován společností Sassanix. Projekt je open-source a vítá příspěvky od komunity.",+ "sassanix": "Sassanix",+ "agpl_license": "Licence AGPL-3.0",+ "support_project": "Podpořte projekt",+ "support_description": "Pokud vám Warracker přijde užitečný, zvažte podporu jeho vývoje!",+ "new_version_available": "Je k dispozici nová verze {{version}}!",+ "latest_version": "Používáte nejnovější verzi",+ "update_check_failed": "Nepodařilo se zkontrolovat aktualizace",+ "features": "Funkce",+ "feature_track": "Sledování záruk na produkty",+ "feature_notifications": "Dostávat oznámení o vypršení",+ "feature_documents": "Ukládat záruční dokumenty",+ "feature_reports": "Generovat zprávy o zárukách",+ "feature_tags": "Organizovat pomocí tagů",+ "feature_export": "Exportovat data o zárukách",+ "support": "Podpora",+ "documentation": "Dokumentace",+ "github": "GitHub",+ "license": "Licence",+ "copyright": "Autorská práva",+ "developed_by": "Vyvinuto"+ }+}\ No newline at end of filediff --git a/locales/de/translation.json b/locales/de/translation.jsonnew file mode 100644index 0000000..1439b2f--- /dev/null+++ b/locales/de/translation.json@@ -0,0 +1,551 @@+{+ "app_title": "Warracker",+ "subtitle": "Garantie-Tracker",+ "nav": {+ "home": "Startseite",+ "status": "Status",+ "settings": "Einstellungen",+ "about": "Über"+ },+ "auth": {+ "login": "Anmelden",+ "logout": "Abmelden",+ "register": "Registrieren",+ "username": "Benutzername",+ "password": "Passwort",+ "email": "E-Mail",+ "first_name": "Vorname",+ "last_name": "Nachname",+ "forgot_password": "Passwort vergessen?",+ "reset_password": "Passwort zurücksetzen",+ "confirm_password": "Passwort bestätigen",+ "create_account_title": "Konto erstellen",+ "first_name_optional": "Vorname (optional)",+ "last_name_optional": "Nachname (optional)",+ "username_hint": "Der Benutzername muss eindeutig sein und wird für die Anmeldung verwendet.",+ "email_address": "E-Mail-Adresse",+ "toggle_password": "Passwort anzeigen/ausblenden",+ "password_hint_simple": "Das Passwort muss mindestens 8 Zeichen lang sein und Großbuchstaben, Kleinbuchstaben und Zahlen enthalten.",+ "password_requirements": "Passwortanforderungen:",+ "req_length": "Mindestens 8 Zeichen",+ "req_uppercase": "Mindestens 1 Großbuchstabe",+ "req_lowercase": "Mindestens 1 Kleinbuchstabe",+ "req_number": "Mindestens 1 Zahl",+ "req_special": "Mindestens 1 Sonderzeichen",+ "create_account": "Konto erstellen",+ "already_have_account": "Haben Sie bereits ein Konto?",+ "reset_password_title": "Warracker - Passwort zurücksetzen",+ "reset_your_password": "Passwort zurücksetzen",+ "reset_password_info": "Geben Sie unten Ihre E-Mail-Adresse ein und wir senden Ihnen einen Link zum Zurücksetzen Ihres Passworts.",+ "send_reset_link": "Link zum Zurücksetzen senden",+ "back_to_login": "Zurück zur Anmeldung",+ "set_new_password_title": "Warracker - Neues Passwort festlegen",+ "set_new_password": "Neues Passwort festlegen",+ "new_password": "Neues Passwort",+ "confirm_new_password": "Neues Passwort bestätigen",+ "invalid_or_expired_link": "Ungültiger oder abgelaufener Link",+ "invalid_link_info": "Der von Ihnen angeklickte Link zum Zurücksetzen des Passworts ist ungültig oder abgelaufen.",+ "request_new_reset_link": "Neuen Link zum Zurücksetzen anfordern"+ },+ "warranties": {+ "title": "Ihre Garantien",+ "title_global": "Garantien aller Benutzer",+ "add_new": "Neue Garantie hinzufügen",+ "edit": "Garantie bearbeiten",+ "delete": "Garantie löschen",+ "product_name": "Produktname",+ "purchase_date": "Kaufdatum",+ "warranty_duration": "Garantiedauer",+ "years": "Jahre",+ "months": "Monate",+ "days": "Tage",+ "vendor": "Anbieter",+ "serial_numbers": "Seriennummern",+ "purchase_price": "Kaufpreis",+ "notes": "Notizen",+ "tags": "Tags",+ "status": "Status",+ "expiration_date": "Ablaufdatum",+ "active": "Aktiv",+ "expired": "Abgelaufen",+ "expiring_soon": "Läuft bald ab",+ "lifetime": "Lebenslänglich",+ "no_warranties": "Noch keine Garantien vorhanden. Fügen Sie Ihre erste Garantie hinzu, um zu beginnen.",+ "search_placeholder": "Suche nach Name, Anbieter, Notizen, Tag oder Seriennummer...",+ "warranty_type": "Garantietyp",+ "other_document": "Anderes Dokument",+ "product": "Produkt",+ "expiration": "Ablauf",+ "actions": "Aktionen",+ "no_warranties_title": "Noch keine Garantien",+ "no_warranties_desc": "Fügen Sie Ihre erste Garantie hinzu, um zu beginnen",+ "add_warranty": "Garantie hinzufügen",+ "warranty_entry_method": "Garantie-Eingabemethode",+ "warranty_duration_option": "Garantiedauer",+ "exact_expiration_option": "Genaues Ablaufdatum",+ "warranty_period": "Garantiezeitraum",+ "expiration_date_label": "Ablaufdatum",+ "currency": "Währung",+ "add_tags": "Tags hinzufügen",+ "add_tags_desc": "Tags helfen Ihnen, Ihre Garantien zu organisieren und zu filtern",+ "save_changes": "Änderungen speichern",+ "confirm_delete": "Löschen bestätigen",+ "manage_tags": "Tags verwalten",+ "add_tag": "Tag hinzufügen",+ "unknown_status": "Unbekannter Status",+ "expiring_soon_days": "Läuft bald ab ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} verbleibend",+ "day_one": "Tag",+ "day_other": "Tage",+ "month_one": "Monat",+ "month_other": "Monate",+ "year_one": "Jahr",+ "year_other": "Jahre",+ "na": "N/A",+ "age": "Alter",+ "warranty": "Garantie",+ "warranty_ends": "Garantie endet",+ "price": "Preis",+ "serial_number": "Seriennummer",+ "type": "Typ",+ "owner": "Besitzer",+ "product_website": "Produkt-Website",+ "documents": "Dokumente",+ "summary": "Zusammenfassung",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "Jahre",+ "months_placeholder": "Monate",+ "days_placeholder": "Tage",+ "add_any_notes_placeholder": "Fügen Sie Notizen zu dieser Garantie hinzu...",+ "product_url_optional": "Produkt-URL (optional)",+ "enter_serial_number": "Seriennummer eingeben",+ "vendor_optional": "Anbieter (optional)",+ "vendor_placeholder": "z.B. Amazon, Best Buy, etc.",+ "lifetime_warranty": "Lebenslange Garantie",+ "warranty_type_optional": "Garantietyp (optional)",+ "select_warranty_type": "Garantietyp auswählen...",+ "standard": "Standard",+ "extended": "Erweitert",+ "manufacturer": "Hersteller",+ "third_party": "Drittanbieter",+ "store": "Geschäft",+ "premium": "Premium",+ "limited": "Begrenzt",+ "full": "Voll",+ "parts_only": "Nur Teile",+ "labor_only": "Nur Arbeit",+ "international": "International",+ "accidental_damage": "Unfallschaden",+ "other_custom": "Andere (benutzerdefiniert)",+ "enter_custom_warranty_type": "Benutzerdefinierten Garantietyp eingeben",+ "purchase_price_optional": "Kaufpreis (optional)",+ "notes_optional": "Notizen (optional)",+ "add_any_notes": "Fügen Sie Notizen zu dieser Garantie hinzu...",+ "product_photo_optional": "Produktfoto (optional)",+ "choose_photo": "Foto auswählen",+ "invoice_receipt": "Rechnung/Beleg",+ "store_locally": "Lokal speichern",+ "store_in_paperless": "In Paperless-ngx speichern",+ "choose_file": "Datei auswählen",+ "browse_paperless": "Paperless-ngx-Dokumente durchsuchen",+ "product_manual_optional": "Produkthandbuch (optional)",+ "files_zip_rar_optional": "Dateien (ZIP/RAR, optional)",+ "search_or_add_new_tag": "Suchen oder neuen Tag hinzufügen...",+ "product_information": "Produktinformationen",+ "product_url": "Produkt-URL",+ "warranty_details": "Garantiedetails",+ "product_photo": "Produktfoto",+ "product_manual": "Produkthandbuch",+ "files": "Dateien",+ "selected_tags": "Ausgewählte Tags",+ "previous_tab": "Zurück",+ "next_tab": "Weiter",+ "delete_photo": "Foto löschen",+ "delete_invoice": "Rechnung löschen",+ "delete_manual": "Handbuch löschen",+ "delete_files": "Dateien löschen",+ "current_photo": "Aktuelles Foto:",+ "current_invoice": "Aktuelle Rechnung:",+ "current_manual": "Aktuelles Handbuch:",+ "current_document": "Aktuelles Dokument:",+ "upload_new_photo_replace": "(Neues Foto zum Ersetzen hochladen)",+ "no_photo_uploaded": "Kein Foto hochgeladen",+ "no_invoice_uploaded": "Keine Rechnung hochgeladen",+ "no_manual_uploaded": "Kein Handbuch hochgeladen",+ "no_document_uploaded": "Kein anderes Dokument hochgeladen",+ "photo_will_be_deleted": "Foto wird beim Speichern gelöscht",+ "invoice_will_be_deleted": "Rechnung wird beim Speichern gelöscht",+ "manual_will_be_deleted": "Handbuch wird beim Speichern gelöscht",+ "document_will_be_deleted": "Anderes Dokument wird beim Speichern gelöscht",+ "confirm_delete_message": "Sind Sie sicher, dass Sie diese Garantie löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden.",+ "new_tag_name": "Neuer Tag-Name",+ "existing_tags": "Bestehende Tags",+ "edit_warranty": "Garantie bearbeiten",+ "warranty_type_standard": "Standard",+ "warranty_type_extended": "Erweitert",+ "warranty_type_manufacturer": "Hersteller",+ "warranty_type_third_party": "Drittanbieter",+ "warranty_type_store": "Geschäft",+ "warranty_type_premium": "Premium",+ "warranty_type_limited": "Begrenzt",+ "warranty_type_full": "Voll",+ "warranty_type_parts_only": "Nur Teile",+ "warranty_type_labor_only": "Nur Arbeit",+ "warranty_type_international": "International",+ "warranty_type_accidental_damage": "Unfallschaden",+ "warranty_type_other": "Andere (benutzerdefiniert)",+ "warranty_type_custom_placeholder": "Benutzerdefinierten Garantietyp eingeben",+ "notes_placeholder": "Zusätzliche Notizen zu dieser Garantie...",+ "tags_help_text": "Tags helfen Ihnen, Ihre Garantien zu organisieren und zu filtern",+ "search_add_tag_placeholder": "Suchen oder neuen Tag hinzufügen...",+ "upload_new_file_replace": "Neue Datei zum Ersetzen hochladen",+ "current_other_document": "Aktuelles anderes Dokument",+ "no_other_document_uploaded": "Kein anderes Dokument hochgeladen",+ "other_document_will_be_deleted": "Anderes Dokument wird beim Speichern gelöscht",+ "files_optional": "Dateien (ZIP/RAR, optional)",+ "invoice_receipt_short": "Rechnung",+ "product_manual_short": "Handbuch",+ "files_short": "Dateien",+ "enter_serial_number": "Seriennummer eingeben",+ "add_serial_number": "Weitere Seriennummer hinzufügen"+ },+ "settings": {+ "title": "Einstellungen",+ "account_settings": "Kontoeinstellungen",+ "preferences": "Präferenzen",+ "language": "Sprache",+ "select_language": "Sprache auswählen",+ "dark_mode": "Dunkelmodus",+ "dark_mode_desc": "Zwischen hellem und dunklem Thema wechseln",+ "currency": "Währung",+ "timezone": "Zeitzone",+ "date_format": "Datumsformat",+ "expiring_soon_days": "Tage bis zum Ablauf",+ "save_changes": "Änderungen speichern",+ "current_user": "Profil bearbeiten für:",+ "your_email": "Ihre E-Mail:",+ "first_name": "Vorname",+ "last_name": "Nachname",+ "email": "E-Mail",+ "save_profile": "Änderungen speichern",+ "default_view": "Standardansicht",+ "default_view_desc": "Wählen Sie Ihre bevorzugte Ansicht für Garantien",+ "grid_view": "Gitteransicht",+ "list_view": "Listenansicht",+ "table_view": "Tabellenansicht",+ "currency_symbol": "Währungssymbol",+ "currency_symbol_desc": "Wählen Sie das Symbol zur Anzeige von Preisen",+ "currency_position": "Währungsposition",+ "currency_position_desc": "Wählen Sie, ob das Währungssymbol links oder rechts von den Zahlen angezeigt wird",+ "expiring_soon_days_desc": "Anzahl der Tage vor Ablauf, um Warnungen anzuzeigen",+ "date_format_desc": "Wählen Sie, wie Daten angezeigt werden",+ "save_preferences": "Präferenzen speichern",+ "notification_settings": "Benachrichtigungseinstellungen",+ "notification_channel": "Benachrichtigungskanal",+ "notification_channel_desc": "Wählen Sie, wie Sie Benachrichtigungen erhalten möchten",+ "notification_disabled": "Deaktiviert",+ "notification_email": "E-Mail",+ "notification_apprise": "Apprise",+ "notification_both": "Beide",+ "email_settings": "E-Mail-Einstellungen",+ "notification_frequency": "Benachrichtigungshäufigkeit",+ "notification_frequency_desc": "Wie oft E-Mail-Benachrichtigungen erhalten werden sollen",+ "daily": "Täglich",+ "weekly": "Wöchentlich",+ "monthly": "Monatlich",+ "notification_time": "Benachrichtigungszeit",+ "timezone_desc": "Ihre lokale Zeitzone für Benachrichtigungen",+ "apprise_settings": "Apprise-Einstellungen",+ "apprise_frequency": "Apprise-Benachrichtigungshäufigkeit",+ "apprise_frequency_desc": "Wie oft Apprise-Benachrichtigungen erhalten werden sollen",+ "apprise_time": "Apprise-Benachrichtigungszeit",+ "apprise_timezone": "Apprise-Zeitzone",+ "apprise_timezone_desc": "Ihre lokale Zeitzone für Apprise-Benachrichtigungen",+ "save_notification_settings": "Benachrichtigungseinstellungen speichern",+ "security": "Sicherheit",+ "change_password": "Passwort ändern",+ "change_password_desc": "Aktualisieren Sie Ihr Kontopasswort",+ "change": "Ändern",+ "current_password": "Aktuelles Passwort",+ "new_password": "Neues Passwort",+ "confirm_password": "Neues Passwort bestätigen",+ "update_password": "Passwort aktualisieren",+ "cancel": "Abbrechen",+ "danger_zone": "Gefahrenzone",+ "delete_account": "Konto löschen",+ "delete_account_desc": "Löschen Sie Ihr Konto und alle Daten dauerhaft",+ "admin_settings": "Admin-Einstellungen",+ "admin_actions": "Admin-Aktionen",+ "refresh_data": "Daten aktualisieren",+ "check_admin_status": "Admin-Status prüfen",+ "show_users_list": "Benutzerliste anzeigen",+ "test_api": "API testen",+ "send_notifications": "Garantiebenachrichtigungen senden",+ "check_scheduler": "Scheduler-Status prüfen",+ "site_settings": "Site-Einstellungen",+ "registration_enabled": "Registrierung aktiviert",+ "registration_enabled_desc": "Neuen Benutzern die Registrierung erlauben",+ "email_base_url": "E-Mail-Basis-URL",+ "global_view_enabled": "Globale Ansicht aktiviert",+ "global_view_admin_only": "Globale Ansicht nur für Admins",+ "save_site_settings": "Site-Einstellungen speichern",+ "oidc_configuration": "OIDC-SSO-Konfiguration",+ "enable_oidc": "OIDC-SSO aktivieren",+ "oidc_provider_name": "OIDC-Anbietername",+ "client_id": "Client-ID",+ "client_secret": "Client-Geheimnis",+ "issuer_url": "Aussteller-URL",+ "scope": "Umfang",+ "save_oidc_settings": "OIDC-Einstellungen speichern",+ "oidc_sso_desc": "Benutzern die Anmeldung über einen OIDC-Anbieter ermöglichen.",+ "oidc_only_mode": "Nur-OIDC-Anmeldemodus",+ "oidc_only_mode_desc": "Traditionelles Anmeldeformular für Benutzername/Passwort ausblenden und nur OIDC-Anmeldung zulassen. <strong>Warnung:</strong> Stellen Sie sicher, dass OIDC ordnungsgemäß konfiguriert ist, bevor Sie diese Option aktivieren.",+ "oidc_provider_name_desc": "Interner Name für den OIDC-Client (z. B. 'oidc').",+ "client_secret_desc": "Sensibler Wert. In der Datenbank gespeichert. Ein Neustart der Anwendung ist erforderlich, damit die Änderungen wirksam werden.",+ "issuer_url_desc": "Die Basis-URL Ihres OIDC-Anbieters.",+ "scope_desc": "Durch Leerzeichen getrennte OIDC-Bereiche.",+ "oidc_restart_message": "Ein Neustart der Anwendung ist erforderlich, damit die OIDC-Einstellungen vollständig wirksam werden.",+ "api_token": "API-Token",+ "view_documents": "Dokumente in Warracker anzeigen",+ "connection_testing": "Verbindung testen",+ "apprise_notifications": "Apprise-Benachrichtigungen",+ "enable_apprise": "Apprise-Benachrichtigungen aktivieren",+ "loading": "Wird geladen...",+ "time_of_day_notification": "Tageszeit für den Empfang von Benachrichtigungen (im 24-Stunden-Format)",+ "paperless_ngx_settings": "Paperless-ngx-Einstellungen",+ "paperless_ngx_about_title": "Über die Paperless-ngx-Integration:",+ "paperless_ngx_about_desc": "Diese optionale Funktion ermöglicht es Ihnen, Garantiedokumente in Ihrer selbst gehosteten Paperless-ngx-Instanz anstelle von lokal zu speichern. Wenn aktiviert, können Benutzer wählen, wo sie jedes Dokument speichern möchten: lokal oder in Paperless-ngx.",+ "paperless_ngx_desc": "Integration mit dem Dokumentenmanagementsystem Paperless-ngx konfigurieren",+ "enable_paperless": "Paperless-ngx-Integration aktivieren",+ "paperless_url": "Paperless-ngx-URL",+ "paperless_url_desc": "Basis-URL Ihrer Paperless-ngx-Instanz",+ "paperless_token": "API-Token",+ "paperless_token_desc": "Ihr Paperless-ngx-API-Authentifizierungstoken",+ "paperless_token_desc_generate": "Generieren Sie ein API-Token aus Ihrer Paperless-ngx-Instanz (Einstellungen → API-Token).",+ "paperless_view_in_app": "Dokumente in der App anzeigen",+ "paperless_view_in_app_desc": "Dokumente in der App anstelle eines neuen Tabs öffnen",+ "debug_config": "Debug-Konfiguration",+ "test_upload": "Upload testen",+ "save_paperless_settings": "Paperless-ngx-Einstellungen speichern",+ "apprise_desc": "Konfigurieren Sie Apprise für die erweiterte Zustellung von Benachrichtigungen an mehrere Dienste",+ "apprise_desc_system_wide": "Apprise-Benachrichtigungen systemweit aktivieren oder deaktivieren",+ "apprise_not_available_title": "Apprise nicht verfügbar:",+ "apprise_not_available_desc": "Die Apprise-Benachrichtigungsbibliothek ist nicht installiert oder verfügbar. Benachrichtigungsfunktionen sind deaktiviert.",+ "apprise_url": "Apprise-URL",+ "apprise_url_desc": "Ihre Apprise-Benachrichtigungsdienst-URL",+ "apprise_mode": "Benachrichtigungsmodus",+ "apprise_mode_desc": "Wählen Sie, wann Apprise-Benachrichtigungen gesendet werden sollen",+ "apprise_mode_global": "Globale Zusammenfassung",+ "apprise_mode_individual": "Pro Benutzer",+ "test_paperless": "Paperless-Verbindung testen",+ "test_apprise": "Apprise-Verbindung testen",+ "apprise_warranty_scope": "Garantieumfang",+ "apprise_warranty_scope_desc": "Wählen Sie, welche Garantien in Benachrichtigungen enthalten sein sollen",+ "all_warranties": "Alle Garantien",+ "personal_warranties": "Nur persönliche Garantien",+ "all_users_warranties": "Garantien aller Benutzer",+ "admin_warranties_only": "Nur Garantien des Administrators",+ "apprise_notification_days": "Benachrichtigungstage",+ "apprise_notification_days_desc": "Tage vor Ablauf, um Benachrichtigungen zu senden (durch Komma getrennt, z. B. \"7,30\" für 7 Tage und 30 Tage vorher)",+ "apprise_check_frequency": "Prüffrequenz",+ "apprise_check_frequency_desc": "Wie oft das System nach ablaufenden Garantien sucht (globale Einstellung)",+ "apprise_title_prefix": "Nachrichtentitel-Präfix",+ "apprise_title_prefix_desc": "Präfix, das den Benachrichtigungstiteln hinzugefügt wird (z. B. führt \"[Warracker]\" zu \"[Warracker] Garantien laufen bald ab\")",+ "apprise_test_url": "Test-URL (optional)",+ "apprise_test_url_desc": "Optional: URL nur zum Senden von Testbenachrichtigungen (wird nicht in der Hauptkonfiguration gespeichert)",+ "save_apprise_settings": "Apprise-Einstellungen speichern",+ "validate_urls": "URLs validieren",+ "send_expiration_notifications_now": "Ablaufbenachrichtigungen jetzt senden",+ "apprise_current_status": "Aktueller Status",+ "apprise_urls_configured": "Konfigurierte URLs:",+ "apprise_supported_services": "Unterstützte Dienste",+ "apprise_supported_services_desc": "Apprise unterstützt über 80 Benachrichtigungsdienste, darunter: Discord, Slack, Telegram, E-Mail (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify und viele mehr.",+ "view_full_list_of_supported_services": "Vollständige Liste der unterstützten Dienste anzeigen",+ "ownership_management": "Eigentumsverwaltung",+ "transfer_ownership": "Eigentum übertragen",+ "warning_title": "Warnung:",+ "transfer_ownership_warning": "Anwendungseigentum auf einen anderen Admin-Benutzer übertragen. Diese Aktion ist unumkehrbar.",+ "transfer_ownership_desc": "Sobald das Eigentum übertragen ist, werden Sie ein normaler Administrator und der neue Eigentümer hat die endgültige Kontrolle über die Anwendung.",+ "select_new_owner": "Neuen Eigentümer auswählen (muss ein Administrator sein)",+ "select_admin_user": "Admin-Benutzer auswählen...",+ "transfer_ownership_button": "Eigentum übertragen",+ "transfer_ownership_irreversible": "Diese Aktion kann nicht rückgängig gemacht werden.",+ "transfer_ownership_confirmation": "Sie sind dabei, das Anwendungseigentum zu übertragen an",+ "after_this_transfer": "Nach dieser Übertragung:",+ "transfer_ownership_consequence_1": "Sie werden ein normaler Administrator",+ "transfer_ownership_consequence_2": "Der neue Eigentümer hat die endgültige Kontrolle über die Anwendung",+ "transfer_ownership_consequence_3": "Nur der neue Eigentümer kann das Eigentum erneut übertragen",+ "transfer_ownership_type_to_confirm": "Zur Bestätigung geben Sie bitte \"TRANSFER\" in das Feld unten ein:"+ },+ "actions": {+ "save": "Speichern",+ "cancel": "Abbrechen",+ "delete": "Löschen",+ "edit": "Bearbeiten",+ "export": "Exportieren",+ "import": "Importieren",+ "refresh": "Aktualisieren",+ "search": "Suchen",+ "clear": "Löschen",+ "upload": "Hochladen",+ "download": "Herunterladen",+ "manage_tags": "Tags verwalten",+ "close": "Schließen",+ "save_changes": "Änderungen speichern"+ },+ "filters": {+ "all_status": "Alle Status",+ "all_tags": "Alle Tags",+ "all_vendors": "Alle Anbieter",+ "all_types": "Alle Typen",+ "sort_by": "Sortieren nach",+ "sort_expiration": "Ablaufdatum",+ "sort_purchase": "Kaufdatum",+ "sort_age": "Alter",+ "sort_name": "Produktname",+ "sort_vendor": "Anbieter",+ "sort_warranty_type": "Garantietyp",+ "status": "Status",+ "tags": "Tags",+ "vendor": "Anbieter",+ "warranty_type": "Garantietyp",+ "view": "Ansicht",+ "scope": "Umfang"+ },+ "messages": {+ "success": "Erfolg",+ "error": "Fehler",+ "warning": "Warnung",+ "loading": "Wird geladen...",+ "saved": "Änderungen erfolgreich gespeichert",+ "deleted": "Element erfolgreich gelöscht",+ "confirm_delete": "Sind Sie sicher, dass Sie dieses Element löschen möchten?",+ "no_results": "Keine Ergebnisse gefunden",+ "file_too_large": "Datei ist zu groß",+ "invalid_file_type": "Ungültiger Dateityp",+ "fill_first_last_name": "Bitte geben Sie Vor- und Nachnamen ein",+ "email_cannot_be_empty": "E-Mail-Adresse darf nicht leer sein.",+ "enter_valid_email": "Bitte geben Sie eine gültige E-Mail-Adresse ein.",+ "profile_updated_successfully": "Profil erfolgreich aktualisiert",+ "preferences_saved_successfully": "Präferenzen erfolgreich gespeichert.",+ "fill_password_fields": "Bitte füllen Sie alle Passwortfelder aus",+ "passwords_do_not_match": "Neue Passwörter stimmen nicht überein",+ "password_min_length": "Das Passwort muss mindestens 8 Zeichen lang sein",+ "type_delete_to_confirm": "Bitte geben Sie DELETE ein, um zu bestätigen",+ "account_deleted_successfully": "Konto erfolgreich gelöscht",+ "account_cannot_delete_offline": "Konto kann im Offline-Modus nicht gelöscht werden",+ "failed_delete_account": "Konto konnte nicht gelöscht werden. Bitte versuchen Sie es erneut.",+ "user_updated_successfully": "Benutzer erfolgreich aktualisiert",+ "user_deleted_successfully": "Benutzer erfolgreich gelöscht",+ "user_id_missing": "Benutzer-ID fehlt",+ "failed_load_users": "Benutzer konnten nicht geladen werden",+ "error_loading_users": "Fehler beim Laden der Benutzer",+ "select_user_transfer_ownership": "Bitte wählen Sie einen Benutzer aus, an den das Eigentum übertragen werden soll",+ "ownership_transferred_successfully": "Eigentum erfolgreich übertragen! Seite wird aktualisiert...",+ "failed_load_site_settings": "Site-Einstellungen konnten nicht geladen werden. Bitte versuchen Sie es erneut.",+ "invalid_email_base_url": "Ungültiges E-Mail-Basis-URL-Format. Es sollte mit http:// oder https:// beginnen",+ "no_site_settings_to_save": "Keine Site-Einstellungen zum Speichern.",+ "site_settings_saved_successfully": "Site-Einstellungen erfolgreich gespeichert",+ "failed_save_site_settings": "Site-Einstellungen konnten nicht gespeichert werden",+ "oidc_settings_saved_successfully": "OIDC-Einstellungen erfolgreich gespeichert.",+ "failed_save_oidc_settings": "OIDC-Einstellungen konnten nicht gespeichert werden.",+ "api_endpoint_accessible": "API-Endpunkt ist erreichbar",+ "api_endpoint_not_accessible": "API-Endpunkt ist nicht erreichbar. Status: ",+ "only_admins_send_notifications": "Nur Administratoren können Garantiebenachrichtigungen senden",+ "notifications_triggered_successfully": "Benachrichtigungen erfolgreich ausgelöst",+ "notification_settings_saved_successfully": "Benachrichtigungseinstellungen erfolgreich gespeichert",+ "apprise_settings_saved_successfully": "Apprise-Einstellungen erfolgreich gespeichert",+ "test_notification_sent_successfully": "Testbenachrichtigung erfolgreich gesendet",+ "no_urls_to_validate": "Keine URLs zum Validieren",+ "paperless_settings_saved_successfully": "Paperless-ngx-Einstellungen erfolgreich gespeichert!",+ "enter_valid_paperless_url": "Bitte geben Sie eine gültige URL ein (z. B. https://paperless.ihredomain.com)",+ "enter_paperless_url_first": "Bitte geben Sie zuerst eine Paperless-ngx-URL ein",+ "paperless_connection_test_successful": "Paperless-ngx-Verbindungstest erfolgreich!",+ "paperless_connection_test_failed": "Paperless-ngx-Verbindungstest fehlgeschlagen",+ "enter_api_token_test_connection": "Bitte geben Sie ein API-Token ein, um die Verbindung zu testen",+ "failed_load_user_data": "Benutzerdaten konnten nicht geladen werden. Bitte versuchen Sie es erneut.",+ "could_not_connect_user_data": "Konnte keine Verbindung herstellen, um Benutzerdaten abzurufen. Angezeigte zwischengespeicherte Informationen.",+ "preferences_saved_locally_failed_sync": "Präferenzen lokal gespeichert, aber Synchronisierung mit dem Server fehlgeschlagen: ",+ "preferences_saved_locally": "Präferenzen lokal gespeichert.",+ "correct_errors_in_tab": "Bitte korrigieren Sie die Fehler im hervorgehobenen Tab, bevor Sie fortfahren.",+ "please_fill_out_this_field": "Bitte füllen Sie dieses Feld aus."+ },+ "languages": {+ "en": "Englisch",+ "fr": "Französisch",+ "es": "Spanisch",+ "de": "Deutsch",+ "it": "Italienisch",+ "cs": "Tschechisch",+ "nl": "Niederländisch",+ "hi": "Hindi",+ "fa": "Persisch",+ "ar": "Arabisch",+ "ru": "Russisch",+ "uk": "Ukrainisch",+ "zh_CN": "Chinesisch (vereinfacht)",+ "zh_HK": "Chinesisch (traditionell)",+ "ja": "Japanisch",+ "pt": "Portugiesisch",+ "ko": "Koreanisch"+ },+ "status": {+ "title": "Systemstatus",+ "dashboard_title": "Garantie-Status-Dashboard",+ "global_dashboard_title": "Globales Garantie-Status-Dashboard",+ "overview": "Übersicht",+ "statistics": "Statistiken",+ "total_warranties": "Gesamtzahl der Garantien",+ "active_warranties": "Aktive Garantien",+ "expiring_soon": "Läuft bald ab",+ "expired_warranties": "Abgelaufene Garantien",+ "warranty_distribution": "Garantieverteilung",+ "expiration_timeline": "Ablauf-Zeitleiste",+ "recent_activity": "Letzte Aktivität",+ "recent_expirations": "Kürzlich abgelaufen oder bald ablaufend",+ "recent_expirations_empty": "Keine kürzlich abgelaufenen oder bald ablaufenden Garantien.",+ "system_health": "Systemzustand",+ "database_status": "Datenbankstatus",+ "connected": "Verbunden",+ "version": "Version",+ "uptime": "Betriebszeit"+ },+ "about": {+ "title": "Über Warracker",+ "description": "Ein umfassendes Garantiemanagementsystem, das Ihnen hilft, alle Ihre Produktgarantien auf einer sicheren, benutzerfreundlichen Plattform zu verfolgen, zu organisieren und zu verwalten.",+ "version": "Version",+ "update_status": "Update-Status",+ "checking_updates": "Auf Updates wird geprüft...",+ "view_release_notes": "Versionshinweise anzeigen",+ "project_info": "Projektinformationen",+ "project_description": "Warracker ist ein Open-Source-Garantiemanagementsystem, das mit modernen Web-Technologien erstellt wurde. Es bietet eine sichere und intuitive Möglichkeit, Produktgarantien zu verwalten, Ablaufdaten zu verfolgen und wichtige Dokumente zu organisieren.",+ "github_repository": "GitHub-Repository",+ "releases": "Versionen",+ "community_support": "Community & Support",+ "community_description": "Treten Sie unserer Community bei, um Unterstützung, Diskussionen und Updates zu erhalten. Melden Sie Fehler, fordern Sie Funktionen an oder erhalten Sie Hilfe von anderen Benutzern und Mitwirkenden.",+ "discord_community": "Discord-Community",+ "report_issues": "Probleme melden",+ "developer_info": "Entwicklerinformationen",+ "developer_description": "Warracker wird von Sassanix entwickelt und gewartet. Das Projekt ist Open-Source und begrüßt Beiträge aus der Community.",+ "sassanix": "Sassanix",+ "agpl_license": "AGPL-3.0-Lizenz",+ "support_project": "Das Projekt unterstützen",+ "support_description": "Wenn Sie Warracker nützlich finden, sollten Sie die Entwicklung unterstützen!",+ "new_version_available": "Neue Version {{version}} verfügbar!",+ "latest_version": "Sie verwenden die neueste Version",+ "update_check_failed": "Update-Prüfung fehlgeschlagen",+ "features": "Funktionen",+ "feature_track": "Produktgarantien verfolgen",+ "feature_notifications": "Ablaufbenachrichtigungen erhalten",+ "feature_documents": "Garantiedokumente speichern",+ "feature_reports": "Garantieberichte erstellen",+ "feature_tags": "Mit Tags organisieren",+ "feature_export": "Garantiedaten exportieren",+ "support": "Support",+ "documentation": "Dokumentation",+ "github": "GitHub-Repository",+ "license": "Lizenz",+ "copyright": "Copyright",+ "developed_by": "Entwickelt von"+ }+}\ No newline at end of filediff --git a/locales/en/LC_MESSAGES/messages.mo b/locales/en/LC_MESSAGES/messages.monew file mode 100644index 0000000..69add51Binary files /dev/null and b/locales/en/LC_MESSAGES/messages.mo differdiff --git a/locales/en/LC_MESSAGES/messages.po b/locales/en/LC_MESSAGES/messages.ponew file mode 100644index 0000000..13c601b--- /dev/null+++ b/locales/en/LC_MESSAGES/messages.po@@ -0,0 +1,177 @@+# English translations for Warracker+# Copyright (C) 2024 Warracker+# This file is distributed under the same license as the Warracker project.+#+msgid ""+msgstr ""+"Project-Id-Version: Warracker 1.0\n"+"Report-Msgid-Bugs-To: \n"+"POT-Creation-Date: 2025-06-29 12:36-0300\n"+"PO-Revision-Date: 2024-01-01 12:00+0000\n"+"Last-Translator: \n"+"Language: en\n"+"Language-Team: English\n"+"Plural-Forms: nplurals=2; plural=(n != 1);\n"+"MIME-Version: 1.0\n"+"Content-Type: text/plain; charset=utf-8\n"+"Content-Transfer-Encoding: 8bit\n"+"Generated-By: Babel 2.17.0\n"++# Error messages+#: backend/localization.py:177+msgid "Validation error"+msgstr "Validation error"++#: backend/localization.py:178+msgid "Authentication error"+msgstr "Authentication error"++#: backend/localization.py:179+msgid "Authorization error"+msgstr "Authorization error"++#: backend/localization.py:180+msgid "Resource not found"+msgstr "Resource not found"++#: backend/localization.py:181+msgid "Internal server error"+msgstr "Internal server error"++#: backend/localization.py:182+msgid "File is too large"+msgstr "File is too large"++#: backend/localization.py:183+msgid "Invalid file type"+msgstr "Invalid file type"++#: backend/localization.py:186+msgid "An error occurred"+msgstr "An error occurred"++# Authentication+#~ msgid "Login"+#~ msgstr "Login"++#~ msgid "Logout"+#~ msgstr "Logout"++#~ msgid "Register"+#~ msgstr "Register"++#~ msgid "Username"+#~ msgstr "Username"++#~ msgid "Password"+#~ msgstr "Password"++#~ msgid "Email"+#~ msgstr "Email"++#~ msgid "First Name"+#~ msgstr "First Name"++#~ msgid "Last Name"+#~ msgstr "Last Name"++# Navigation+#~ msgid "Home"+#~ msgstr "Home"++#~ msgid "Settings"+#~ msgstr "Settings"++#~ msgid "Status"+#~ msgstr "Status"++#~ msgid "About"+#~ msgstr "About"++# Common actions+#~ msgid "Save"+#~ msgstr "Save"++#~ msgid "Cancel"+#~ msgstr "Cancel"++#~ msgid "Delete"+#~ msgstr "Delete"++#~ msgid "Edit"+#~ msgstr "Edit"++#~ msgid "Search"+#~ msgstr "Search"++#~ msgid "Export"+#~ msgstr "Export"++#~ msgid "Import"+#~ msgstr "Import"++# Messages+#~ msgid "Success"+#~ msgstr "Success"++#~ msgid "Error"+#~ msgstr "Error"++#~ msgid "Warning"+#~ msgstr "Warning"++#~ msgid "Loading..."+#~ msgstr "Loading..."++#~ msgid "Saved successfully"+#~ msgstr "Saved successfully"++#~ msgid "Deleted successfully"+#~ msgstr "Deleted successfully"++#~ msgid "Invalid request"+#~ msgstr "Invalid request"++#~ msgid "Unauthorized"+#~ msgstr "Unauthorized"++#~ msgid "Not found"+#~ msgstr "Not found"++#~ msgid "Server error"+#~ msgstr "Server error"++# Warranties+#~ msgid "Warranties"+#~ msgstr "Warranties"++#~ msgid "Warranty"+#~ msgstr "Warranty"++#~ msgid "Product Name"+#~ msgstr "Product Name"++#~ msgid "Purchase Date"+#~ msgstr "Purchase Date"++#~ msgid "Warranty Duration"+#~ msgstr "Warranty Duration"++#~ msgid "Expiration Date"+#~ msgstr "Expiration Date"++#~ msgid "Vendor"+#~ msgstr "Vendor"++#~ msgid "Active"+#~ msgstr "Active"++#~ msgid "Expired"+#~ msgstr "Expired"++#~ msgid "Expiring Soon"+#~ msgstr "Expiring Soon"++#~ msgid "Lifetime"+#~ msgstr "Lifetime"+diff --git a/locales/en/translation.json b/locales/en/translation.jsonnew file mode 100644index 0000000..5963abf--- /dev/null+++ b/locales/en/translation.json@@ -0,0 +1,554 @@+{+ "app_title": "Warracker",+ "subtitle": "Warranty Tracker",+ "nav": {+ "home": "Home",+ "status": "Status",+ "settings": "Settings",+ "about": "About"+ },+ "auth": {+ "login": "Login",+ "logout": "Logout",+ "register": "Register",+ "username": "Username",+ "password": "Password",+ "email": "Email",+ "first_name": "First Name",+ "last_name": "Last Name",+ "forgot_password": "Forgot Password?",+ "reset_password": "Reset Password",+ "confirm_password": "Confirm Password",+ "create_account_title": "Create Your Account",+ "first_name_optional": "First Name (Optional)",+ "last_name_optional": "Last Name (Optional)",+ "username_hint": "Username must be unique and will be used for login.",+ "email_address": "Email Address",+ "toggle_password": "Show/Hide Password",+ "password_hint_simple": "Password must be at least 8 characters and include uppercase, lowercase, and numbers.",+ "password_requirements": "Password Requirements:",+ "req_length": "At least 8 characters",+ "req_uppercase": "At least 1 uppercase letter",+ "req_lowercase": "At least 1 lowercase letter",+ "req_number": "At least 1 number",+ "req_special": "At least 1 special character",+ "create_account": "Create Account",+ "already_have_account": "Already have an account?",+ "reset_password_title": "Warracker - Reset Password",+ "reset_your_password": "Reset Your Password",+ "reset_password_info": "Enter your email address below and we'll send you a link to reset your password.",+ "send_reset_link": "Send Reset Link",+ "back_to_login": "Back to Login",+ "set_new_password_title": "Warracker - Set New Password",+ "set_new_password": "Set New Password",+ "new_password": "New Password",+ "confirm_new_password": "Confirm New Password",+ "invalid_or_expired_link": "Invalid or Expired Link",+ "invalid_link_info": "The password reset link you clicked is invalid or has expired.",+ "request_new_reset_link": "Request New Reset Link"+ },+ "warranties": {+ "title": "Your Warranties",+ "title_global": "All Users' Warranties",+ "add_new": "Add New Warranty",+ "edit": "Edit Warranty",+ "delete": "Delete Warranty",+ "product_name": "Product Name",+ "purchase_date": "Purchase Date",+ "warranty_duration": "Warranty Duration",+ "years": "Years",+ "months": "Months",+ "days": "Days",+ "vendor": "Vendor",+ "serial_numbers": "Serial Numbers",+ "purchase_price": "Purchase Price",+ "notes": "Notes",+ "tags": "Tags",+ "status": "Status",+ "expiration_date": "Expiration Date",+ "active": "Active",+ "expired": "Expired",+ "expiring_soon": "Expiring Soon",+ "lifetime": "Lifetime",+ "no_warranties": "No warranties yet. Add your first warranty to get started.",+ "search_placeholder": "Find by name, vendors, notes, tag, or serial number...",+ "warranty_type": "Warranty Type",+ "other_document": "Other Document",+ "product": "Product",+ "expiration": "Expiration",+ "actions": "Actions",+ "no_warranties_title": "No warranties yet",+ "no_warranties_desc": "Add your first warranty to get started",+ "add_warranty": "Add Warranty",+ "warranty_entry_method": "Warranty Entry Method",+ "warranty_duration_option": "Warranty Duration",+ "exact_expiration_option": "Exact Expiration Date",+ "warranty_period": "Warranty Period",+ "expiration_date_label": "Expiration Date",+ "currency": "Currency",+ "add_tags": "Add Tags",+ "add_tags_desc": "Tags help you organize and filter your warranties",+ "save_changes": "Save Changes",+ "confirm_delete": "Confirm Delete",+ "manage_tags": "Manage Tags",+ "add_tag": "Add Tag",+ "unknown_status": "Unknown Status",+ "expiring_soon_days": "Expiring Soon ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} remaining",+ "day_one": "day",+ "day_other": "days",+ "month_one": "month",+ "month_other": "months",+ "year_one": "year",+ "year_other": "years",+ "na": "N/A",+ "age": "Age",+ "warranty": "Warranty",+ "warranty_ends": "Warranty Ends",+ "price": "Price",+ "serial_number": "Serial Number",+ "vendor": "Vendor",+ "type": "Type",+ "owner": "Owner",+ "product_website": "Product Website",+ "notes": "Notes",+ "documents": "Documents",+ "summary": "Summary",+ "product_url_optional": "Product URL (Optional)",+ "enter_serial_number": "Enter serial number",+ "vendor_optional": "Vendor (Optional)",+ "vendor_placeholder": "e.g. Amazon, Best Buy, etc.",+ "lifetime_warranty": "Lifetime Warranty",+ "warranty_type_optional": "Warranty Type (Optional)",+ "select_warranty_type": "Select warranty type...",+ "standard": "Standard",+ "extended": "Extended",+ "manufacturer": "Manufacturer",+ "third_party": "Third Party",+ "store": "Store",+ "premium": "Premium",+ "limited": "Limited",+ "full": "Full",+ "parts_only": "Parts Only",+ "labor_only": "Labor Only",+ "international": "International",+ "accidental_damage": "Accidental Damage",+ "other_custom": "Other (Custom)",+ "enter_custom_warranty_type": "Enter custom warranty type",+ "purchase_price_optional": "Purchase Price (Optional)",+ "notes_optional": "Notes (Optional)",+ "add_any_notes": "Add any notes about this warranty...",+ "product_photo_optional": "Product Photo (Optional)",+ "choose_photo": "Choose Photo",+ "invoice_receipt": "Invoice/Receipt",+ "store_locally": "Store Locally",+ "store_in_paperless": "Store in Paperless-ngx",+ "choose_file": "Choose File",+ "browse_paperless": "Browse Paperless-ngx Documents",+ "product_manual_optional": "Product Manual (Optional)",+ "files_zip_rar_optional": "Files (ZIP/RAR, Optional)",+ "search_or_add_new_tag": "Search or add new tag...",+ "product_information": "Product Information",+ "product_url": "Product URL",+ "warranty_details": "Warranty Details",+ "product_photo": "Product Photo",+ "product_manual": "Product Manual",+ "files": "Files",+ "selected_tags": "Selected Tags",+ "previous_tab": "Previous",+ "next_tab": "Next",+ "delete_photo": "Delete Photo",+ "delete_invoice": "Delete Invoice",+ "delete_manual": "Delete Manual",+ "delete_files": "Delete Files",+ "current_photo": "Current photo:",+ "current_invoice": "Current invoice:",+ "current_manual": "Current manual:",+ "current_document": "Current document:",+ "upload_new_photo_replace": "(Upload a new photo to replace)",+ "no_photo_uploaded": "No photo uploaded",+ "no_invoice_uploaded": "No invoice uploaded",+ "no_manual_uploaded": "No manual uploaded",+ "no_document_uploaded": "No other document uploaded",+ "photo_will_be_deleted": "Photo will be deleted on save",+ "invoice_will_be_deleted": "Invoice will be deleted on save",+ "manual_will_be_deleted": "Manual will be deleted on save",+ "document_will_be_deleted": "Other document will be deleted on save",+ "confirm_delete_message": "Are you sure you want to delete this warranty? This action cannot be undone.",+ "new_tag_name": "New tag name",+ "existing_tags": "Existing Tags",+ "edit_warranty": "Edit Warranty",+ "warranty_type_standard": "Standard",+ "warranty_type_extended": "Extended",+ "warranty_type_manufacturer": "Manufacturer",+ "warranty_type_third_party": "Third Party",+ "warranty_type_store": "Store",+ "warranty_type_premium": "Premium",+ "warranty_type_limited": "Limited",+ "warranty_type_full": "Full",+ "warranty_type_parts_only": "Parts Only",+ "warranty_type_labor_only": "Labor Only",+ "warranty_type_international": "International",+ "warranty_type_accidental_damage": "Accidental Damage",+ "warranty_type_other": "Other (Custom)",+ "warranty_type_custom_placeholder": "Enter custom warranty type",+ "notes_placeholder": "Additional notes about this warranty...",+ "tags_help_text": "Tags help you organize and filter your warranties",+ "search_add_tag_placeholder": "Search or add new tag...",+ "upload_new_file_replace": "Upload a new file to replace",+ "current_other_document": "Current other document",+ "no_other_document_uploaded": "No other document uploaded",+ "other_document_will_be_deleted": "Other document will be deleted on save",+ "files_optional": "Files (ZIP/RAR, Optional)",+ "invoice_receipt_short": "Invoice",+ "product_manual_short": "Manual",+ "files_short": "Files",+ "product_manual_short": "Manual",+ "files_short": "Files",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "Years",+ "months_placeholder": "Months",+ "days_placeholder": "Days",+ "add_any_notes_placeholder": "Add any notes about this warranty...",+ "add_serial_number": "Add another serial number"+ },+ "settings": {+ "title": "Settings",+ "account_settings": "Account Settings",+ "preferences": "Preferences",+ "language": "Language",+ "select_language": "Select Language",+ "dark_mode": "Dark Mode",+ "dark_mode_desc": "Switch between light and dark theme",+ "currency": "Currency",+ "timezone": "Timezone",+ "date_format": "Date Format",+ "expiring_soon_days": "Expiring Soon Days",+ "save_changes": "Save Changes",+ "current_user": "Editing Profile for:",+ "your_email": "Your email:",+ "first_name": "First Name",+ "last_name": "Last Name",+ "email": "Email",+ "save_profile": "Save Changes",+ "default_view": "Default View",+ "default_view_desc": "Choose your preferred view for warranties",+ "grid_view": "Grid View",+ "list_view": "List View",+ "table_view": "Table View",+ "currency_symbol": "Currency Symbol",+ "currency_symbol_desc": "Choose the symbol to display for prices",+ "currency_position": "Currency Position",+ "currency_position_desc": "Choose whether currency symbol appears on the left or right of numbers",+ "expiring_soon_days_desc": "Number of days before expiration to show warnings",+ "date_format_desc": "Choose how dates are displayed",+ "save_preferences": "Save Preferences",+ "notification_settings": "Notification Settings",+ "notification_channel": "Notification Channel",+ "notification_channel_desc": "Choose how you want to receive notifications",+ "notification_disabled": "Disabled",+ "notification_email": "Email",+ "notification_apprise": "Apprise",+ "notification_both": "Both",+ "email_settings": "Email Settings",+ "notification_frequency": "Notification Frequency",+ "notification_frequency_desc": "How often to receive email notifications",+ "daily": "Daily",+ "weekly": "Weekly",+ "monthly": "Monthly",+ "notification_time": "Notification Time",+ "timezone_desc": "Your local timezone for notifications",+ "apprise_settings": "Apprise Settings",+ "apprise_frequency": "Apprise Notification Frequency",+ "apprise_frequency_desc": "How often to receive Apprise notifications",+ "apprise_time": "Apprise Notification Time",+ "apprise_timezone": "Apprise Timezone",+ "apprise_timezone_desc": "Your local timezone for Apprise notifications",+ "save_notification_settings": "Save Notification Settings",+ "security": "Security",+ "change_password": "Change Password",+ "change_password_desc": "Update your account password",+ "change": "Change",+ "current_password": "Current Password",+ "new_password": "New Password",+ "confirm_password": "Confirm New Password",+ "update_password": "Update Password",+ "cancel": "Cancel",+ "danger_zone": "Danger Zone",+ "delete_account": "Delete Account",+ "delete_account_desc": "Permanently delete your account and all data",+ "admin_settings": "Admin Settings",+ "admin_actions": "Admin Actions",+ "refresh_data": "Refresh Data",+ "check_admin_status": "Check Admin Status",+ "show_users_list": "Show Users List",+ "test_api": "Test API",+ "send_notifications": "Send Warranty Notifications",+ "check_scheduler": "Check Scheduler Status",+ "site_settings": "Site Settings",+ "registration_enabled": "Registration Enabled",+ "registration_enabled_desc": "Allow new users to register",+ "email_base_url": "Email Base URL",+ "global_view_enabled": "Global View Enabled",+ "global_view_admin_only": "Global View Admin Only",+ "save_site_settings": "Save Site Settings",+ "oidc_configuration": "OIDC SSO Configuration",+ "enable_oidc": "Enable OIDC SSO",+ "oidc_provider_name": "OIDC Provider Name",+ "client_id": "Client ID",+ "client_secret": "Client Secret",+ "issuer_url": "Issuer URL",+ "scope": "Scope",+ "save_oidc_settings": "Save OIDC Settings",+ "oidc_sso_desc": "Allow users to log in via an OIDC provider.",+ "oidc_only_mode": "OIDC-Only Login Mode",+ "oidc_only_mode_desc": "Hide traditional username/password login form and only allow OIDC login. <strong>Warning:</strong> Ensure OIDC is properly configured before enabling this option.",+ "oidc_provider_name_desc": "Internal name for the OIDC client (e.g., 'oidc').",+ "client_secret_desc": "Sensitive value. Stored in the database. An application restart is required for changes to take effect.",+ "issuer_url_desc": "The base URL of your OIDC provider.",+ "scope_desc": "Space-separated OIDC scopes.",+ "oidc_restart_message": "Application restart is required for OIDC settings to take full effect.",+ "api_token": "API Token",+ "view_documents": "View Documents in Warracker",+ "connection_testing": "Connection Testing",+ "apprise_notifications": "Apprise Notifications",+ "enable_apprise": "Enable Apprise Notifications",+ "loading": "Loading...",+ "time_of_day_notification": "Time of day to receive notifications (in 24-hour format)",+ "paperless_ngx_settings": "Paperless-ngx Settings",+ "paperless_ngx_about_title": "About Paperless-ngx Integration:",+ "paperless_ngx_about_desc": "This optional feature allows you to store warranty documents in your self-hosted Paperless-ngx instance instead of locally. When enabled, users can choose where to store each document: locally or in Paperless-ngx.",+ "paperless_ngx_desc": "Configure integration with Paperless-ngx document management system",+ "enable_paperless": "Enable Paperless-ngx Integration",+ "paperless_url": "Paperless-ngx URL",+ "paperless_url_desc": "Base URL of your Paperless-ngx instance",+ "paperless_token": "API Token",+ "paperless_token_desc": "Your Paperless-ngx API authentication token",+ "paperless_token_desc_generate": "Generate an API token from your Paperless-ngx instance (Settings → API Tokens).",+ "paperless_view_in_app": "View documents in app",+ "paperless_view_in_app_desc": "Open documents within the app instead of in a new tab",+ "debug_config": "Debug Config",+ "test_upload": "Test Upload",+ "save_paperless_settings": "Save Paperless-ngx Settings",+ "apprise_desc": "Configure Apprise for advanced notification delivery to multiple services",+ "apprise_desc_system_wide": "Enable or disable Apprise notifications system-wide",+ "apprise_not_available_title": "Apprise Not Available:",+ "apprise_not_available_desc": "The Apprise notification library is not installed or available. Notification features are disabled.",+ "apprise_url": "Apprise URL",+ "apprise_url_desc": "Your Apprise notification service URL",+ "apprise_mode": "Notification Mode",+ "apprise_mode_desc": "Choose when to send Apprise notifications",+ "apprise_mode_global": "Global Summary",+ "apprise_mode_individual": "Per User",+ "test_paperless": "Test Paperless Connection",+ "test_apprise": "Test Apprise Connection",+ "apprise_warranty_scope": "Warranty Scope",+ "apprise_warranty_scope_desc": "Choose which warranties to include in notifications",+ "all_warranties": "All Warranties",+ "personal_warranties": "Personal Warranties Only",+ "all_users_warranties": "All Users' Warranties",+ "admin_warranties_only": "Admin's Warranties Only",+ "apprise_notification_days": "Notification Days",+ "apprise_notification_days_desc": "Days before expiration to send notifications (comma-separated, e.g., \"7,30\" for 7 days and 30 days before)",+ "apprise_check_frequency": "Check Frequency",+ "apprise_check_frequency_desc": "How often the system checks for expiring warranties (global setting)",+ "apprise_title_prefix": "Message Title Prefix",+ "apprise_title_prefix_desc": "Prefix added to notification titles (e.g., \"[Warracker]\" results in \"[Warracker] Warranties Expiring Soon\")",+ "apprise_test_url": "Test URL (Optional)",+ "apprise_test_url_desc": "Optional: URL for sending test notifications only (won't be saved to main configuration)",+ "save_apprise_settings": "Save Apprise Settings",+ "validate_urls": "Validate URLs",+ "send_expiration_notifications_now": "Send Expiration Notifications Now",+ "apprise_current_status": "Current Status",+ "apprise_urls_configured": "URLs Configured:",+ "apprise_supported_services": "Supported Services",+ "apprise_supported_services_desc": "Apprise supports 80+ notification services including: Discord, Slack, Telegram, Email (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify, and many more.",+ "view_full_list_of_supported_services": "View Full List of Supported Services",+ "ownership_management": "Ownership Management",+ "transfer_ownership": "Transfer Ownership",+ "warning_title": "Warning:",+ "transfer_ownership_warning": "Transfer application ownership to another admin user. This action is irreversible.",+ "transfer_ownership_desc": "Once ownership is transferred, you will become a regular admin and the new owner will have ultimate control over the application.",+ "select_new_owner": "Select New Owner (must be an admin)",+ "select_admin_user": "Select an admin user...",+ "transfer_ownership_button": "Transfer Ownership",+ "transfer_ownership_irreversible": "This action cannot be undone.",+ "transfer_ownership_confirmation": "You are about to transfer application ownership to",+ "after_this_transfer": "After this transfer:",+ "transfer_ownership_consequence_1": "You will become a regular admin",+ "transfer_ownership_consequence_2": "The new owner will have ultimate control over the application",+ "transfer_ownership_consequence_3": "Only the new owner can transfer ownership again",+ "transfer_ownership_type_to_confirm": "To confirm, please type \"TRANSFER\" in the field below:"+ },+ "actions": {+ "save": "Save",+ "cancel": "Cancel",+ "delete": "Delete",+ "edit": "Edit",+ "export": "Export",+ "import": "Import",+ "refresh": "Refresh",+ "search": "Search",+ "clear": "Clear",+ "upload": "Upload",+ "download": "Download",+ "manage_tags": "Manage Tags",+ "close": "Close",+ "save_changes": "Save Changes"+ },+ "filters": {+ "all_status": "All Status",+ "all_tags": "All Tags",+ "all_vendors": "All Vendors",+ "all_types": "All Types",+ "sort_by": "Sort By",+ "sort_expiration": "Expiration Date",+ "sort_purchase": "Purchase Date",+ "sort_age": "Age",+ "sort_name": "Product Name",+ "sort_vendor": "Vendor",+ "sort_warranty_type": "Warranty Type",+ "status": "Status",+ "tags": "Tags",+ "vendor": "Vendor",+ "warranty_type": "Warranty Type",+ "view": "View",+ "scope": "Scope"+ },+ "messages": {+ "success": "Success",+ "error": "Error",+ "warning": "Warning",+ "loading": "Loading...",+ "saved": "Changes saved successfully",+ "deleted": "Item deleted successfully",+ "confirm_delete": "Are you sure you want to delete this item?",+ "no_results": "No results found",+ "file_too_large": "File is too large",+ "invalid_file_type": "Invalid file type",+ "fill_first_last_name": "Please fill in First Name and Last Name",+ "email_cannot_be_empty": "Email address cannot be empty.",+ "enter_valid_email": "Please enter a valid email address.",+ "profile_updated_successfully": "Profile updated successfully",+ "preferences_saved_successfully": "Preferences saved successfully.",+ "fill_password_fields": "Please fill in all password fields",+ "passwords_do_not_match": "New passwords do not match",+ "password_min_length": "Password must be at least 8 characters long",+ "type_delete_to_confirm": "Please type DELETE to confirm",+ "account_deleted_successfully": "Account deleted successfully",+ "account_cannot_delete_offline": "Account cannot be deleted in offline mode",+ "failed_delete_account": "Failed to delete account. Please try again.",+ "user_updated_successfully": "User updated successfully",+ "user_deleted_successfully": "User deleted successfully",+ "user_id_missing": "User ID is missing",+ "failed_load_users": "Failed to load users",+ "error_loading_users": "Error loading users",+ "select_user_transfer_ownership": "Please select a user to transfer ownership to",+ "ownership_transferred_successfully": "Ownership transferred successfully! Refreshing page...",+ "failed_load_site_settings": "Failed to load site settings. Please try again.",+ "invalid_email_base_url": "Invalid Email Base URL format. It should start with http:// or https://",+ "no_site_settings_to_save": "No site settings to save.",+ "site_settings_saved_successfully": "Site settings saved successfully",+ "failed_save_site_settings": "Failed to save site settings",+ "oidc_settings_saved_successfully": "OIDC settings saved successfully.",+ "failed_save_oidc_settings": "Failed to save OIDC settings.",+ "api_endpoint_accessible": "API endpoint is accessible",+ "api_endpoint_not_accessible": "API endpoint is not accessible. Status: ",+ "only_admins_send_notifications": "Only administrators can send warranty notifications",+ "notifications_triggered_successfully": "Notifications triggered successfully",+ "notification_settings_saved_successfully": "Notification settings saved successfully",+ "apprise_settings_saved_successfully": "Apprise settings saved successfully",+ "test_notification_sent_successfully": "Test notification sent successfully",+ "no_urls_to_validate": "No URLs to validate",+ "paperless_settings_saved_successfully": "Paperless-ngx settings saved successfully!",+ "enter_valid_paperless_url": "Please enter a valid URL (e.g., https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "Please enter a Paperless-ngx URL first",+ "paperless_connection_test_successful": "Paperless-ngx connection test successful!",+ "paperless_connection_test_failed": "Paperless-ngx connection test failed",+ "enter_api_token_test_connection": "Please enter an API token to test the connection",+ "failed_load_user_data": "Failed to load user data. Please try again.",+ "could_not_connect_user_data": "Could not connect to fetch user data. Displaying cached info.",+ "preferences_saved_locally_failed_sync": "Preferences saved locally, but failed to sync with server: ",+ "preferences_saved_locally": "Preferences saved locally.",+ "correct_errors_in_tab": "Please correct the errors in the highlighted tab before continuing.",+ "please_fill_out_this_field": "Please fill out this field."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "System Status",+ "dashboard_title": "Warranty Status Dashboard",+ "global_dashboard_title": "Global Warranty Status Dashboard",+ "overview": "Overview",+ "statistics": "Statistics",+ "total_warranties": "Total Warranties",+ "active_warranties": "Active Warranties",+ "expiring_soon": "Expiring Soon",+ "expired_warranties": "Expired Warranties",+ "warranty_distribution": "Warranty Distribution",+ "expiration_timeline": "Expiration Timeline",+ "recent_activity": "Recent Activity",+ "recent_expirations": "Recently Expired or Expiring Soon",+ "recent_expirations_empty": "No recently expired or expiring warranties.",+ "system_health": "System Health",+ "database_status": "Database Status",+ "connected": "Connected",+ "version": "Version",+ "uptime": "Uptime"+ },+ "about": {+ "title": "About Warracker",+ "description": "A comprehensive warranty management system designed to help you track, organize, and manage all your product warranties in one secure, user-friendly platform.",+ "version": "Version",+ "update_status": "Update Status",+ "checking_updates": "Checking for updates...",+ "view_release_notes": "View Release Notes",+ "project_info": "Project Information",+ "project_description": "Warracker is an open-source warranty management system built with modern web technologies. It provides a secure and intuitive way to manage product warranties, track expiration dates, and organize important documents.",+ "github_repository": "GitHub Repository",+ "releases": "Releases",+ "community_support": "Community & Support",+ "community_description": "Join our community for support, discussions, and updates. Report bugs, request features, or get help from other users and contributors.",+ "discord_community": "Discord Community",+ "report_issues": "Report Issues",+ "developer_info": "Developer Information",+ "developer_description": "Warracker is developed and maintained by Sassanix. The project is open-source and welcomes contributions from the community.",+ "sassanix": "Sassanix",+ "agpl_license": "AGPL-3.0 License",+ "support_project": "Support the Project",+ "support_description": "If you find Warracker useful, consider supporting its development!",+ "new_version_available": "New version {{version}} available!",+ "latest_version": "You are using the latest version",+ "update_check_failed": "Failed to check for updates",+ "features": "Features",+ "feature_track": "Track product warranties",+ "feature_notifications": "Get expiration notifications",+ "feature_documents": "Store warranty documents",+ "feature_reports": "Generate warranty reports",+ "feature_tags": "Organize with tags",+ "feature_export": "Export warranty data",+ "support": "Support",+ "documentation": "Documentation",+ "github": "GitHub Repository",+ "license": "License",+ "copyright": "Copyright",+ "developed_by": "Developed by"+ }+}diff --git a/locales/es/translation.json b/locales/es/translation.jsonnew file mode 100644index 0000000..6254c16--- /dev/null+++ b/locales/es/translation.json@@ -0,0 +1,553 @@+{+ "app_title": "Warracker",+ "subtitle": "Seguimiento de Garantías",+ "nav": {+ "home": "Inicio",+ "status": "Estado",+ "settings": "Configuración",+ "about": "Acerca de"+ },+ "auth": {+ "login": "Iniciar Sesión",+ "logout": "Cerrar Sesión",+ "register": "Registrarse",+ "username": "Nombre de Usuario",+ "password": "Contraseña",+ "email": "Correo Electrónico",+ "first_name": "Nombre",+ "last_name": "Apellido",+ "forgot_password": "¿Olvidaste tu contraseña?",+ "reset_password": "Restablecer Contraseña",+ "confirm_password": "Confirmar Contraseña",+ "create_account_title": "Crea tu cuenta",+ "first_name_optional": "Nombre (opcional)",+ "last_name_optional": "Apellido (opcional)",+ "username_hint": "El nombre de usuario debe ser único y se utilizará para iniciar sesión.",+ "email_address": "Dirección de correo electrónico",+ "toggle_password": "Mostrar/Ocultar contraseña",+ "password_hint_simple": "La contraseña debe tener al menos 8 caracteres e incluir mayúsculas, minúsculas y números.",+ "password_requirements": "Requisitos de la contraseña:",+ "req_length": "Al menos 8 caracteres",+ "req_uppercase": "Al menos 1 letra mayúscula",+ "req_lowercase": "Al menos 1 letra minúscula",+ "req_number": "Al menos 1 número",+ "req_special": "Al menos 1 carácter especial",+ "create_account": "Crear cuenta",+ "already_have_account": "¿Ya tienes una cuenta?",+ "reset_password_title": "Warracker - Restablecer contraseña",+ "reset_your_password": "Restablece tu contraseña",+ "reset_password_info": "Introduce tu dirección de correo electrónico a continuación y te enviaremos un enlace para restablecer tu contraseña.",+ "send_reset_link": "Enviar enlace de restablecimiento",+ "back_to_login": "Volver a iniciar sesión",+ "set_new_password_title": "Warracker - Establecer nueva contraseña",+ "set_new_password": "Establecer nueva contraseña",+ "new_password": "Nueva contraseña",+ "confirm_new_password": "Confirmar nueva contraseña",+ "invalid_or_expired_link": "Enlace no válido o caducado",+ "invalid_link_info": "El enlace para restablecer la contraseña en el que has hecho clic no es válido o ha caducado.",+ "request_new_reset_link": "Solicitar nuevo enlace de restablecimiento"+ },+ "warranties": {+ "title": "Tus Garantías",+ "title_global": "Garantías de Todos los Usuarios",+ "add_new": "Agregar Nueva Garantía",+ "edit": "Editar Garantía",+ "delete": "Eliminar Garantía",+ "product_name": "Nombre del Producto",+ "purchase_date": "Fecha de Compra",+ "warranty_duration": "Duración de Garantía",+ "years": "Años",+ "months": "Meses",+ "days": "Días",+ "vendor": "Proveedor",+ "serial_numbers": "Números de Serie",+ "purchase_price": "Precio de Compra",+ "notes": "Notas",+ "tags": "Etiquetas",+ "status": "Estado",+ "expiration_date": "Fecha de Vencimiento",+ "active": "Activo",+ "expired": "Vencido",+ "expiring_soon": "Vence Pronto",+ "lifetime": "De por Vida",+ "no_warranties": "Aún no hay garantías. Agrega tu primera garantía para comenzar.",+ "search_placeholder": "Buscar por nombre, proveedores, notas, etiqueta o número de serie...",+ "warranty_type": "Tipo de Garantía",+ "other_document": "Otro Documento",+ "product": "Producto",+ "expiration": "Vencimiento",+ "actions": "Acciones",+ "no_warranties_title": "Aún no hay garantías",+ "no_warranties_desc": "Agrega tu primera garantía para comenzar",+ "add_warranty": "Agregar Garantía",+ "warranty_entry_method": "Método de Entrada de Garantía",+ "warranty_duration_option": "Duración de Garantía",+ "exact_expiration_option": "Fecha de Vencimiento Exacta",+ "warranty_period": "Período de Garantía",+ "expiration_date_label": "Fecha de Vencimiento",+ "currency": "Moneda",+ "add_tags": "Agregar Etiquetas",+ "add_tags_desc": "Las etiquetas te ayudan a organizar y filtrar tus garantías",+ "save_changes": "Guardar Cambios",+ "confirm_delete": "Confirmar Eliminación",+ "manage_tags": "Gestionar Etiquetas",+ "add_tag": "Agregar Etiqueta",+ "unknown_status": "Estado Desconocido",+ "expiring_soon_days": "Vence Pronto ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} restantes",+ "day_one": "día",+ "day_other": "días",+ "month_one": "mes",+ "month_other": "meses",+ "year_one": "año",+ "year_other": "años",+ "na": "N/A",+ "age": "Edad",+ "warranty": "Garantía",+ "warranty_ends": "Fin de Garantía",+ "price": "Precio",+ "serial_number": "Número de Serie",+ "vendor": "Proveedor",+ "type": "Tipo",+ "owner": "Propietario",+ "product_website": "Sitio Web del Producto",+ "notes": "Notas",+ "documents": "Documentos",+ "summary": "Resumen",+ "product_url_placeholder": "https://example.com/product",+ "product_url_optional": "URL del producto (opcional)",+ "enter_serial_number": "Introduzca el número de serie",+ "vendor_optional": "Vendedor (opcional)",+ "vendor_placeholder": "p. ej., Amazon, Best Buy, etc.",+ "lifetime_warranty": "Garantía de por vida",+ "warranty_type_optional": "Tipo de garantía (opcional)",+ "select_warranty_type": "Seleccione el tipo de garantía...",+ "standard": "Estándar",+ "extended": "Extendida",+ "manufacturer": "Fabricante",+ "third_party": "Terceros",+ "store": "Tienda",+ "premium": "Premium",+ "limited": "Limitada",+ "full": "Completa",+ "parts_only": "Solo piezas",+ "labor_only": "Solo mano de obra",+ "international": "Internacional",+ "accidental_damage": "Daños accidentales",+ "other_custom": "Otro (personalizado)",+ "enter_custom_warranty_type": "Introduzca un tipo de garantía personalizado",+ "purchase_price_optional": "Precio de compra (opcional)",+ "notes_optional": "Notas (opcional)",+ "add_any_notes": "Añada cualquier nota sobre esta garantía...",+ "product_photo_optional": "Foto del producto (opcional)",+ "choose_photo": "Elegir foto",+ "invoice_receipt": "Factura/Recibo",+ "store_locally": "Almacenar localmente",+ "store_in_paperless": "Almacenar en Paperless-ngx",+ "choose_file": "Elegir archivo",+ "browse_paperless": "Explorar documentos de Paperless-ngx",+ "product_manual_optional": "Manual del producto (opcional)",+ "files_zip_rar_optional": "Archivos (ZIP/RAR, opcional)",+ "search_or_add_new_tag": "Buscar o añadir nueva etiqueta...",+ "product_information": "Información del producto",+ "product_url": "URL del producto",+ "warranty_details": "Detalles de la garantía",+ "product_photo": "Foto del producto",+ "product_manual": "Manual del producto",+ "files": "Archivos",+ "selected_tags": "Etiquetas seleccionadas",+ "previous_tab": "Anterior",+ "next_tab": "Siguiente",+ "delete_photo": "Eliminar foto",+ "delete_invoice": "Eliminar factura",+ "delete_manual": "Eliminar manual",+ "delete_files": "Eliminar archivos",+ "current_photo": "Foto actual:",+ "current_invoice": "Factura actual:",+ "current_manual": "Manual actual:",+ "current_document": "Documento actual:",+ "upload_new_photo_replace": "(Sube una nueva foto para reemplazar)",+ "no_photo_uploaded": "No se ha subido ninguna foto",+ "no_invoice_uploaded": "No se ha subido ninguna factura",+ "no_manual_uploaded": "No se ha subido ningún manual",+ "no_document_uploaded": "No se ha subido ningún otro documento",+ "photo_will_be_deleted": "La foto se eliminará al guardar",+ "invoice_will_be_deleted": "La factura se eliminará al guardar",+ "manual_will_be_deleted": "El manual se eliminará al guardar",+ "document_will_be_deleted": "El otro documento se eliminará al guardar",+ "confirm_delete_message": "¿Está seguro de que desea eliminar esta garantía? Esta acción no se puede deshacer.",+ "new_tag_name": "Nuevo nombre de etiqueta",+ "existing_tags": "Etiquetas existentes",+ "edit_warranty": "Editar Garantía",+ "warranty_type_standard": "Estándar",+ "warranty_type_extended": "Extendida",+ "warranty_type_manufacturer": "Fabricante",+ "warranty_type_third_party": "Terceros",+ "warranty_type_store": "Tienda",+ "warranty_type_premium": "Premium",+ "warranty_type_limited": "Limitada",+ "warranty_type_full": "Completa",+ "warranty_type_parts_only": "Solo Piezas",+ "warranty_type_labor_only": "Solo Mano de Obra",+ "warranty_type_international": "Internacional",+ "warranty_type_accidental_damage": "Daños Accidentales",+ "warranty_type_other": "Otro (Personalizado)",+ "warranty_type_custom_placeholder": "Ingrese tipo de garantía personalizado",+ "notes_placeholder": "Notas adicionales sobre esta garantía...",+ "tags_help_text": "Las etiquetas te ayudan a organizar y filtrar tus garantías",+ "search_add_tag_placeholder": "Buscar o agregar nueva etiqueta...",+ "upload_new_file_replace": "Subir un nuevo archivo para reemplazar",+ "current_other_document": "Documento actual",+ "no_other_document_uploaded": "No se ha subido ningún otro documento",+ "other_document_will_be_deleted": "El otro documento se eliminará al guardar",+ "files_optional": "Archivos (ZIP/RAR, Opcional)",+ "invoice_receipt_short": "Factura",+ "product_manual_short": "Manual",+ "files_short": "Archivos",+ "years_placeholder": "Años",+ "months_placeholder": "Meses",+ "days_placeholder": "Días",+ "add_any_notes_placeholder": "Agregar notas sobre esta garantía...",+ "enter_serial_number": "Introducir número de serie",+ "add_serial_number": "Agregar otro número de serie"+ },+ "settings": {+ "title": "Configuración",+ "account_settings": "Configuración de Cuenta",+ "preferences": "Preferencias",+ "language": "Idioma",+ "select_language": "Seleccionar Idioma",+ "dark_mode": "Modo Oscuro",+ "dark_mode_desc": "Cambiar entre tema claro y oscuro",+ "currency": "Moneda",+ "timezone": "Zona Horaria",+ "date_format": "Formato de Fecha",+ "expiring_soon_days": "Días de Vencimiento Próximo",+ "save_changes": "Guardar Cambios",+ "current_user": "Editando Perfil para:",+ "your_email": "Tu correo:",+ "first_name": "Nombre",+ "last_name": "Apellido",+ "email": "Email",+ "save_profile": "Guardar Cambios",+ "default_view": "Vista Predeterminada",+ "default_view_desc": "Elige tu vista preferida para las garantías",+ "grid_view": "Vista de Cuadrícula",+ "list_view": "Vista de Lista",+ "table_view": "Vista de Tabla",+ "currency_symbol": "Símbolo de Moneda",+ "currency_symbol_desc": "Elige el símbolo a mostrar para los precios",+ "currency_position": "Posición de Moneda",+ "currency_position_desc": "Elige si el símbolo de moneda aparece a la izquierda o derecha de los números",+ "expiring_soon_days_desc": "Número de días antes de la expiración para mostrar advertencias",+ "date_format_desc": "Elige cómo se muestran las fechas",+ "save_preferences": "Guardar Preferencias",+ "notification_settings": "Configuración de Notificaciones",+ "notification_channel": "Canal de Notificación",+ "notification_channel_desc": "Elige cómo quieres recibir notificaciones",+ "notification_disabled": "Deshabilitado",+ "notification_email": "Email",+ "notification_apprise": "Apprise",+ "notification_both": "Ambos",+ "email_settings": "Configuración de Email",+ "notification_frequency": "Frecuencia de Notificación",+ "notification_frequency_desc": "Con qué frecuencia recibir notificaciones por email",+ "daily": "Diario",+ "weekly": "Semanal",+ "monthly": "Mensual",+ "notification_time": "Hora de Notificación",+ "timezone_desc": "Tu zona horaria local para notificaciones",+ "apprise_settings": "Configuración de Apprise",+ "apprise_frequency": "Frecuencia de Notificación Apprise",+ "apprise_frequency_desc": "Con qué frecuencia recibir notificaciones Apprise",+ "apprise_time": "Hora de Notificación Apprise",+ "apprise_timezone": "Zona Horaria Apprise",+ "apprise_timezone_desc": "Tu zona horaria local para notificaciones Apprise",+ "save_notification_settings": "Guardar Configuración de Notificaciones",+ "security": "Seguridad",+ "change_password": "Cambiar Contraseña",+ "change_password_desc": "Actualizar la contraseña de tu cuenta",+ "change": "Cambiar",+ "current_password": "Contraseña Actual",+ "new_password": "Nueva Contraseña",+ "confirm_password": "Confirmar Nueva Contraseña",+ "update_password": "Actualizar Contraseña",+ "cancel": "Cancelar",+ "danger_zone": "Zona de Peligro",+ "delete_account": "Eliminar Cuenta",+ "delete_account_desc": "Eliminar permanentemente tu cuenta y todos los datos",+ "admin_settings": "Configuración de Administrador",+ "admin_actions": "Acciones de Administrador",+ "refresh_data": "Actualizar Datos",+ "check_admin_status": "Verificar Estado de Administrador",+ "show_users_list": "Mostrar Lista de Usuarios",+ "test_api": "Probar API",+ "send_notifications": "Enviar Notificaciones de Garantía",+ "check_scheduler": "Verificar Estado del Programador",+ "site_settings": "Configuración del Sitio",+ "registration_enabled": "Registro Habilitado",+ "registration_enabled_desc": "Permitir que nuevos usuarios se registren",+ "email_base_url": "URL Base de Email",+ "global_view_enabled": "Vista Global Habilitada",+ "global_view_admin_only": "Vista Global Solo Admin",+ "save_site_settings": "Guardar Configuración del Sitio",+ "oidc_configuration": "Configuración OIDC SSO",+ "enable_oidc": "Habilitar OIDC SSO",+ "oidc_provider_name": "Nombre del Proveedor OIDC",+ "client_id": "ID de Cliente",+ "client_secret": "Secreto de Cliente",+ "issuer_url": "URL del Emisor",+ "scope": "Alcance",+ "save_oidc_settings": "Guardar Configuración OIDC",+ "oidc_sso_desc": "Permitir a los usuarios iniciar sesión a través de un proveedor OIDC.",+ "oidc_only_mode": "Modo de inicio de sesión solo OIDC",+ "oidc_only_mode_desc": "Ocultar el formulario de inicio de sesión tradicional de nombre de usuario/contraseña y permitir solo el inicio de sesión OIDC. <strong>Advertencia:</strong> Asegúrese de que OIDC esté configurado correctamente antes de habilitar esta opción.",+ "oidc_provider_name_desc": "Nombre interno para el cliente OIDC (por ejemplo, 'oidc').",+ "client_secret_desc": "Valor sensible. Almacenado en la base de datos. Se requiere un reinicio de la aplicación para que los cambios surtan efecto.",+ "issuer_url_desc": "La URL base de su proveedor OIDC.",+ "scope_desc": "Alcances de OIDC separados por espacios.",+ "oidc_restart_message": "Se requiere un reinicio de la aplicación para que la configuración de OIDC surta pleno efecto.",+ "api_token": "Token de API",+ "view_documents": "Ver Documentos en Warracker",+ "connection_testing": "Prueba de Conexión",+ "apprise_notifications": "Notificaciones Apprise",+ "enable_apprise": "Habilitar Notificaciones Apprise",+ "loading": "Cargando...",+ "time_of_day_notification": "Hora del día para recibir notificaciones (formato 24h)",+ "paperless_ngx_settings": "Configuración Paperless-ngx",+ "paperless_ngx_about_title": "Acerca de la integración de Paperless-ngx:",+ "paperless_ngx_about_desc": "Esta función opcional le permite almacenar documentos de garantía en su instancia autoalojada de Paperless-ngx en lugar de localmente. Cuando está habilitada, los usuarios pueden elegir dónde almacenar cada documento: localmente o en Paperless-ngx.",+ "paperless_ngx_desc": "Configurar integración con el sistema de gestión de documentos Paperless-ngx",+ "enable_paperless": "Habilitar Integración Paperless-ngx",+ "paperless_url": "URL Paperless-ngx",+ "paperless_url_desc": "URL base de su instancia Paperless-ngx",+ "paperless_token": "Token API",+ "paperless_token_desc": "Su token de autenticación API Paperless-ngx",+ "paperless_token_desc_generate": "Genere un token de API desde su instancia de Paperless-ngx (Configuración → Tokens de API).",+ "paperless_view_in_app": "Ver documentos en la app",+ "paperless_view_in_app_desc": "Abrir documentos dentro de la aplicación en lugar de una nueva pestaña",+ "debug_config": "Configuración de depuración",+ "test_upload": "Prueba de carga",+ "save_paperless_settings": "Guardar configuración de Paperless-ngx",+ "apprise_desc": "Configurar Apprise para entrega avanzada de notificaciones a múltiples servicios",+ "apprise_desc_system_wide": "Habilitar o deshabilitar las notificaciones de Apprise en todo el sistema",+ "apprise_not_available_title": "Apprise no disponible:",+ "apprise_not_available_desc": "La biblioteca de notificaciones de Apprise no está instalada o no está disponible. Las funciones de notificación están deshabilitadas.",+ "apprise_url": "URL Apprise",+ "apprise_url_desc": "URL de su servicio de notificación Apprise",+ "apprise_mode": "Modo de Notificación",+ "apprise_mode_desc": "Elegir cuándo enviar notificaciones Apprise",+ "apprise_mode_global": "Resumen global",+ "apprise_mode_individual": "Por usuario",+ "test_paperless": "Probar Conexión Paperless",+ "test_apprise": "Probar Conexión Apprise",+ "apprise_warranty_scope": "Alcance de Garantías",+ "apprise_warranty_scope_desc": "Elegir qué garantías incluir en las notificaciones",+ "all_warranties": "Todas las Garantías",+ "personal_warranties": "Solo Garantías Personales",+ "all_users_warranties": "Garantías de todos los usuarios",+ "admin_warranties_only": "Solo garantías del administrador",+ "apprise_notification_days": "Días de notificación",+ "apprise_notification_days_desc": "Días antes del vencimiento para enviar notificaciones (separados por comas, por ejemplo, \"7,30\" para 7 días y 30 días antes)",+ "apprise_check_frequency": "Frecuencia de verificación",+ "apprise_check_frequency_desc": "Con qué frecuencia el sistema comprueba si hay garantías que vencen (configuración global)",+ "apprise_title_prefix": "Prefijo del título del mensaje",+ "apprise_title_prefix_desc": "Prefijo agregado a los títulos de las notificaciones (por ejemplo, \"[Warracker]\" da como resultado \"[Warracker] Garantías que vencen pronto\")",+ "apprise_test_url": "URL de prueba (opcional)",+ "apprise_test_url_desc": "Opcional: URL para enviar solo notificaciones de prueba (no se guardará en la configuración principal)",+ "save_apprise_settings": "Guardar configuración de Apprise",+ "validate_urls": "Validar URL",+ "send_expiration_notifications_now": "Enviar notificaciones de vencimiento ahora",+ "apprise_current_status": "Estado actual",+ "apprise_urls_configured": "URL configuradas:",+ "apprise_supported_services": "Servicios compatibles",+ "apprise_supported_services_desc": "Apprise admite más de 80 servicios de notificación, incluidos: Discord, Slack, Telegram, correo electrónico (Gmail, Outlook), webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify y muchos más.",+ "view_full_list_of_supported_services": "Ver la lista completa de servicios compatibles",+ "ownership_management": "Gestión de la propiedad",+ "transfer_ownership": "Transferir propiedad",+ "warning_title": "Advertencia:",+ "transfer_ownership_warning": "Transfiera la propiedad de la aplicación a otro usuario administrador. Esta acción es irreversible.",+ "transfer_ownership_desc": "Una vez que se transfiera la propiedad, se convertirá en un administrador normal y el nuevo propietario tendrá el control final sobre la aplicación.",+ "select_new_owner": "Seleccionar nuevo propietario (debe ser un administrador)",+ "select_admin_user": "Seleccionar un usuario administrador...",+ "transfer_ownership_button": "Transferir propiedad",+ "transfer_ownership_irreversible": "Esta acción no se puede deshacer.",+ "transfer_ownership_confirmation": "Está a punto de transferir la propiedad de la aplicación a",+ "after_this_transfer": "Después de esta transferencia:",+ "transfer_ownership_consequence_1": "Se convertirá en un administrador normal",+ "transfer_ownership_consequence_2": "El nuevo propietario tendrá el control final sobre la aplicación",+ "transfer_ownership_consequence_3": "Solo el nuevo propietario puede volver a transferir la propiedad",+ "transfer_ownership_type_to_confirm": "Para confirmar, escriba \"TRANSFER\" en el campo a continuación:"+ },+ "actions": {+ "save": "Guardar",+ "cancel": "Cancelar",+ "delete": "Eliminar",+ "edit": "Editar",+ "export": "Exportar",+ "import": "Importar",+ "refresh": "Actualizar",+ "search": "Buscar",+ "clear": "Limpiar",+ "upload": "Subir",+ "download": "Descargar",+ "manage_tags": "Gestionar Etiquetas",+ "close": "Cerrar",+ "save_changes": "Guardar Cambios"+ },+ "filters": {+ "all_status": "Todos los Estados",+ "all_tags": "Todas las Etiquetas",+ "all_vendors": "Todos los Proveedores",+ "all_types": "Todos los Tipos",+ "sort_by": "Ordenar por",+ "sort_expiration": "Fecha de Vencimiento",+ "sort_purchase": "Fecha de Compra",+ "sort_age": "Edad",+ "sort_name": "Nombre del Producto",+ "sort_vendor": "Proveedor",+ "sort_warranty_type": "Tipo de Garantía",+ "status": "Estado",+ "tags": "Etiquetas",+ "vendor": "Proveedor",+ "warranty_type": "Tipo de Garantía",+ "view": "Vista",+ "scope": "Alcance"+ },+ "messages": {+ "success": "Éxito",+ "error": "Error",+ "warning": "Advertencia",+ "loading": "Cargando...",+ "saved": "Cambios guardados exitosamente",+ "deleted": "Elemento eliminado exitosamente",+ "confirm_delete": "¿Estás seguro de que quieres eliminar este elemento?",+ "no_results": "No se encontraron resultados",+ "file_too_large": "El archivo es demasiado grande",+ "invalid_file_type": "Tipo de archivo inválido",+ "fill_first_last_name": "Por favor complete el nombre y apellido",+ "email_cannot_be_empty": "La dirección de correo electrónico no puede estar vacía.",+ "enter_valid_email": "Por favor ingrese una dirección de correo electrónico válida.",+ "profile_updated_successfully": "Perfil actualizado exitosamente",+ "preferences_saved_successfully": "Preferencias guardadas exitosamente.",+ "fill_password_fields": "Por favor complete todos los campos de contraseña",+ "passwords_do_not_match": "Las nuevas contraseñas no coinciden",+ "password_min_length": "La contraseña debe tener al menos 8 caracteres",+ "type_delete_to_confirm": "Por favor escriba DELETE para confirmar",+ "account_deleted_successfully": "Cuenta eliminada exitosamente",+ "account_cannot_delete_offline": "La cuenta no puede ser eliminada en modo sin conexión",+ "failed_delete_account": "Error al eliminar la cuenta. Por favor intente nuevamente.",+ "user_updated_successfully": "Usuario actualizado exitosamente",+ "user_deleted_successfully": "Usuario eliminado exitosamente",+ "user_id_missing": "ID de usuario faltante",+ "failed_load_users": "Error al cargar usuarios",+ "error_loading_users": "Error al cargar usuarios",+ "select_user_transfer_ownership": "Por favor seleccione un usuario al cual transferir la propiedad",+ "ownership_transferred_successfully": "Propiedad transferida exitosamente! Actualizando página...",+ "failed_load_site_settings": "Error al cargar configuraciones del sitio. Por favor intente nuevamente.",+ "invalid_email_base_url": "Formato de URL base de correo inválido. Debe comenzar con http:// o https://",+ "no_site_settings_to_save": "No hay configuraciones de sitio para guardar.",+ "site_settings_saved_successfully": "Configuraciones del sitio guardadas exitosamente",+ "failed_save_site_settings": "Error al guardar configuraciones del sitio",+ "oidc_settings_saved_successfully": "Configuraciones OIDC guardadas exitosamente.",+ "failed_save_oidc_settings": "Error al guardar configuraciones OIDC.",+ "api_endpoint_accessible": "El endpoint de API es accesible",+ "api_endpoint_not_accessible": "El endpoint de API no es accesible. Estado: ",+ "only_admins_send_notifications": "Solo los administradores pueden enviar notificaciones de garantía",+ "notifications_triggered_successfully": "Notificaciones activadas exitosamente",+ "notification_settings_saved_successfully": "Configuraciones de notificación guardadas exitosamente",+ "apprise_settings_saved_successfully": "Configuraciones de Apprise guardadas exitosamente",+ "test_notification_sent_successfully": "Notificación de prueba enviada exitosamente",+ "no_urls_to_validate": "No hay URLs para validar",+ "paperless_settings_saved_successfully": "¡Configuraciones de Paperless-ngx guardadas exitosamente!",+ "enter_valid_paperless_url": "Por favor ingrese una URL válida (ej. https://paperless.sudominio.com)",+ "enter_paperless_url_first": "Por favor ingrese primero una URL de Paperless-ngx",+ "paperless_connection_test_successful": "¡Prueba de conexión de Paperless-ngx exitosa!",+ "paperless_connection_test_failed": "Prueba de conexión de Paperless-ngx falló",+ "enter_api_token_test_connection": "Por favor ingrese un token de API para probar la conexión",+ "failed_load_user_data": "Error al cargar datos del usuario. Por favor intente nuevamente.",+ "could_not_connect_user_data": "No se pudo conectar para recuperar datos del usuario. Mostrando información en caché.",+ "preferences_saved_locally_failed_sync": "Preferencias guardadas localmente, pero falló la sincronización con el servidor: ",+ "preferences_saved_locally": "Preferencias guardadas localmente.",+ "correct_errors_in_tab": "Por favor, corrija los errores en la pestaña resaltada antes de continuar.",+ "please_fill_out_this_field": "Por favor, complete este campo."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "Estado del Sistema",+ "dashboard_title": "Panel de Estado de Garantías",+ "global_dashboard_title": "Panel Global de Estado de Garantías",+ "overview": "Resumen",+ "statistics": "Estadísticas",+ "total_warranties": "Total de Garantías",+ "active_warranties": "Garantías Activas",+ "expiring_soon": "Expira Pronto",+ "expired_warranties": "Garantías Expiradas",+ "warranty_distribution": "Distribución de Garantías",+ "expiration_timeline": "Cronología de Expiración",+ "recent_activity": "Actividad Reciente",+ "recent_expirations": "Recientemente Expiradas o Expirando Pronto",+ "recent_expirations_empty": "No hay garantías recientemente expiradas o expirando pronto.",+ "system_health": "Salud del Sistema",+ "database_status": "Estado de la Base de Datos",+ "connected": "Conectado",+ "version": "Versión",+ "uptime": "Tiempo de Actividad"+ },+ "about": {+ "title": "Acerca de Warracker",+ "description": "Un sistema completo de gestión de garantías diseñado para ayudarte a rastrear, organizar y gestionar todas las garantías de tus productos en una plataforma segura y fácil de usar.",+ "version": "Versión",+ "update_status": "Estado de Actualizaciones",+ "checking_updates": "Verificando actualizaciones...",+ "view_release_notes": "Ver Notas de Versión",+ "project_info": "Información del Proyecto",+ "project_description": "Warracker es un sistema de gestión de garantías de código abierto construido con tecnologías web modernas. Proporciona una forma segura e intuitiva de gestionar garantías de productos, rastrear fechas de vencimiento y organizar documentos importantes.",+ "github_repository": "Repositorio GitHub",+ "releases": "Versiones",+ "community_support": "Comunidad y Soporte",+ "community_description": "Únete a nuestra comunidad para soporte, discusiones y actualizaciones. Reporta errores, solicita características u obtén ayuda de otros usuarios y colaboradores.",+ "discord_community": "Comunidad Discord",+ "report_issues": "Reportar Problemas",+ "developer_info": "Información del Desarrollador",+ "developer_description": "Warracker es desarrollado y mantenido por Sassanix. El proyecto es de código abierto y acepta contribuciones de la comunidad.",+ "sassanix": "Sassanix",+ "agpl_license": "Licencia AGPL-3.0",+ "support_project": "Apoyar el Proyecto",+ "support_description": "¡Si encuentras Warracker útil, considera apoyar su desarrollo!",+ "new_version_available": "¡Nueva versión {{version}} disponible!",+ "latest_version": "Estás usando la última versión",+ "update_check_failed": "Error al verificar actualizaciones",+ "features": "Características",+ "feature_track": "Seguir garantías de productos",+ "feature_notifications": "Recibir notificaciones de expiración",+ "feature_documents": "Almacenar documentos de garantía",+ "feature_reports": "Generar informes de garantía",+ "feature_tags": "Organizar con etiquetas",+ "feature_export": "Exportar datos de garantía",+ "support": "Soporte",+ "documentation": "Documentación",+ "github": "Repositorio GitHub",+ "license": "Licencia",+ "copyright": "Derechos de Autor",+ "developed_by": "Desarrollado por"+ }+}diff --git a/locales/fa/translation.json b/locales/fa/translation.jsonnew file mode 100644index 0000000..e646633--- /dev/null+++ b/locales/fa/translation.json@@ -0,0 +1,552 @@+{+ "app_title": "Warracker",+ "subtitle": "ردیاب گارانتی",+ "nav": {+ "home": "خانه",+ "status": "وضعیت",+ "settings": "تنظیمات",+ "about": "درباره"+ },+ "auth": {+ "login": "ورود",+ "logout": "خروج",+ "register": "ثبت نام",+ "username": "نام کاربری",+ "password": "رمز عبور",+ "email": "ایمیل",+ "first_name": "نام",+ "last_name": "نام خانوادگی",+ "forgot_password": "فراموشی رمز عبور؟",+ "reset_password": "بازنشانی رمز عبور",+ "confirm_password": "تأیید رمز عبور",+ "create_account_title": "ایجاد حساب کاربری",+ "first_name_optional": "نام (اختیاری)",+ "last_name_optional": "نام خانوادگی (اختیاری)",+ "username_hint": "نام کاربری باید منحصر به فرد باشد و برای ورود استفاده خواهد شد.",+ "email_address": "آدرس ایمیل",+ "toggle_password": "نمایش/پنهان کردن رمز عبور",+ "password_hint_simple": "رمز عبور باید حداقل 8 کاراکتر داشته باشد و شامل حروف بزرگ، حروف کوچک و اعداد باشد.",+ "password_requirements": "الزامات رمز عبور:",+ "req_length": "حداقل 8 کاراکتر",+ "req_uppercase": "حداقل 1 حرف بزرگ",+ "req_lowercase": "حداقل 1 حرف کوچک",+ "req_number": "حداقل 1 عدد",+ "req_special": "حداقل 1 کاراکتر خاص",+ "create_account": "ایجاد حساب",+ "already_have_account": "قبلاً حساب کاربری ساختهاید؟",+ "reset_password_title": "Warracker - بازنشانی رمز عبور",+ "reset_your_password": "رمز عبور خود را بازنشانی کنید",+ "reset_password_info": "آدرس ایمیل خود را در زیر وارد کنید تا لینک بازنشانی رمز عبور را برای شما ارسال کنیم.",+ "send_reset_link": "ارسال لینک بازنشانی",+ "back_to_login": "بازگشت به صفحه ورود",+ "set_new_password_title": "Warracker - تنظیم رمز عبور جدید",+ "set_new_password": "تنظیم رمز عبور جدید",+ "new_password": "رمز عبور جدید",+ "confirm_new_password": "تأیید رمز عبور جدید",+ "invalid_or_expired_link": "لینک نامعتبر یا منقضی شده",+ "invalid_link_info": "لینک بازنشانی رمز عبوری که کلیک کردهاید نامعتبر یا منقضی شده است.",+ "request_new_reset_link": "درخواست لینک بازنشانی جدید"+ },+ "warranties": {+ "title": "گارانتیهای شما",+ "title_global": "گارانتیهای همه کاربران",+ "add_new": "افزودن گارانتی جدید",+ "edit": "ویرایش گارانتی",+ "delete": "حذف گارانتی",+ "product_name": "نام محصول",+ "purchase_date": "تاریخ خرید",+ "warranty_duration": "مدت گارانتی",+ "years": "سال",+ "months": "ماه",+ "days": "روز",+ "vendor": "فروشنده",+ "serial_numbers": "شماره سریالها",+ "purchase_price": "قیمت خرید",+ "notes": "یادداشتها",+ "tags": "برچسبها",+ "status": "وضعیت",+ "expiration_date": "تاریخ انقضا",+ "active": "فعال",+ "expired": "منقضی شده",+ "expiring_soon": "به زودی منقضی میشود",+ "lifetime": "مادامالعمر",+ "no_warranties": "هنوز هیچ گارانتی وجود ندارد. برای شروع اولین گارانتی خود را اضافه کنید.",+ "search_placeholder": "جستجو بر اساس نام، فروشندگان، یادداشتها، برچسب یا شماره سریال...",+ "warranty_type": "نوع گارانتی",+ "other_document": "سند دیگر",+ "product": "محصول",+ "expiration": "انقضا",+ "actions": "اقدامات",+ "no_warranties_title": "هنوز هیچ گارانتی وجود ندارد",+ "no_warranties_desc": "اولین گارانتی خود را اضافه کنید تا شروع کنید",+ "add_warranty": "افزودن گارانتی",+ "warranty_entry_method": "روش ورود گارانتی",+ "warranty_duration_option": "مدت گارانتی",+ "exact_expiration_option": "تاریخ انقضای دقیق",+ "warranty_period": "دوره گارانتی",+ "expiration_date_label": "تاریخ انقضا",+ "currency": "ارز",+ "add_tags": "افزودن برچسب",+ "add_tags_desc": "برچسبها به شما کمک میکنند تا گارانتیهای خود را سازماندهی و فیلتر کنید",+ "save_changes": "ذخیره تغییرات",+ "confirm_delete": "تأیید حذف",+ "manage_tags": "مدیریت برچسبها",+ "add_tag": "افزودن برچسب",+ "unknown_status": "وضعیت نامشخص",+ "expiring_soon_days": "به زودی منقضی میشود ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} باقی مانده",+ "day_one": "روز",+ "day_other": "روز",+ "month_one": "ماه",+ "month_other": "ماه",+ "year_one": "سال",+ "year_other": "سال",+ "na": "N/A",+ "age": "سن",+ "warranty": "گارانتی",+ "warranty_ends": "پایان گارانتی",+ "price": "قیمت",+ "serial_number": "شماره سریال",+ "type": "نوع",+ "owner": "مالک",+ "product_website": "وبسایت محصول",+ "documents": "اسناد",+ "summary": "خلاصه",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "سال",+ "months_placeholder": "ماه",+ "days_placeholder": "روز",+ "add_any_notes_placeholder": "یادداشتهایی درباره این گارانتی اضافه کنید...",++ "product_url_optional": "URL محصول (اختیاری)",+ "enter_serial_number": "شماره سریال را وارد کنید",+ "vendor_optional": "فروشنده (اختیاری)",+ "vendor_placeholder": "مثلاً آمازون، بست بای و غیره",+ "lifetime_warranty": "گارانتی مادامالعمر",+ "warranty_type_optional": "نوع گارانتی (اختیاری)",+ "select_warranty_type": "نوع گارانتی را انتخاب کنید...",+ "standard": "استاندارد",+ "extended": "تمدید شده",+ "manufacturer": "سازنده",+ "third_party": "شخص ثالث",+ "store": "فروشگاه",+ "premium": "پریمیوم",+ "limited": "محدود",+ "full": "کامل",+ "parts_only": "فقط قطعات",+ "labor_only": "فقط نیروی کار",+ "international": "بینالمللی",+ "accidental_damage": "آسیب تصادفی",+ "other_custom": "سایر (سفارشی)",+ "enter_custom_warranty_type": "نوع گارانتی سفارشی را وارد کنید",+ "purchase_price_optional": "قیمت خرید (اختیاری)",+ "notes_optional": "یادداشتها (اختیاری)",+ "add_any_notes": "هرگونه یادداشتی در مورد این گارانتی اضافه کنید...",+ "product_photo_optional": "عکس محصول (اختیاری)",+ "choose_photo": "انتخاب عکس",+ "invoice_receipt": "فاکتور/رسید",+ "store_locally": "ذخیره محلی",+ "store_in_paperless": "ذخیره در Paperless-ngx",+ "choose_file": "انتخاب فایل",+ "browse_paperless": "مرور اسناد Paperless-ngx",+ "product_manual_optional": "دفترچه راهنمای محصول (اختیاری)",+ "files_zip_rar_optional": "فایلها (ZIP/RAR، اختیاری)",+ "search_or_add_new_tag": "جستجو یا افزودن برچسب جدید...",+ "product_information": "اطلاعات محصول",+ "product_url": "URL محصول",+ "warranty_details": "جزئیات گارانتی",+ "product_photo": "عکس محصول",+ "product_manual": "دفترچه راهنمای محصول",+ "files": "فایلها",+ "selected_tags": "برچسبهای انتخاب شده",+ "previous_tab": "قبلی",+ "next_tab": "بعدی",+ "delete_photo": "حذف عکس",+ "delete_invoice": "حذف فاکتور",+ "delete_manual": "حذف دفترچه راهنما",+ "delete_files": "حذف فایلها",+ "current_photo": "عکس فعلی:",+ "current_invoice": "فاکتور فعلی:",+ "current_manual": "دفترچه راهنمای فعلی:",+ "current_document": "سند فعلی:",+ "upload_new_photo_replace": "(برای جایگزینی عکس جدید آپلود کنید)",+ "no_photo_uploaded": "هیچ عکسی آپلود نشده است",+ "no_invoice_uploaded": "هیچ فاکتوری آپلود نشده است",+ "no_manual_uploaded": "هیچ دفترچه راهنمایی آپلود نشده است",+ "no_document_uploaded": "هیچ سند دیگری آپلود نشده است",+ "photo_will_be_deleted": "عکس هنگام ذخیره حذف خواهد شد",+ "invoice_will_be_deleted": "فاکتور هنگام ذخیره حذف خواهد شد",+ "manual_will_be_deleted": "دفترچه راهنما هنگام ذخیره حذف خواهد شد",+ "document_will_be_deleted": "سند دیگر هنگام ذخیره حذف خواهد شد",+ "confirm_delete_message": "آیا از حذف این گارانتی مطمئن هستید؟ این عمل قابل بازگشت نیست.",+ "new_tag_name": "نام برچسب جدید",+ "existing_tags": "برچسبهای موجود",+ "edit_warranty": "ویرایش گارانتی",+ "warranty_type_standard": "استاندارد",+ "warranty_type_extended": "تمدید شده",+ "warranty_type_manufacturer": "سازنده",+ "warranty_type_third_party": "شخص ثالث",+ "warranty_type_store": "فروشگاه",+ "warranty_type_premium": "پریمیوم",+ "warranty_type_limited": "محدود",+ "warranty_type_full": "کامل",+ "warranty_type_parts_only": "فقط قطعات",+ "warranty_type_labor_only": "فقط نیروی کار",+ "warranty_type_international": "بینالمللی",+ "warranty_type_accidental_damage": "آسیب تصادفی",+ "warranty_type_other": "سایر (سفارشی)",+ "warranty_type_custom_placeholder": "نوع گارانتی سفارشی را وارد کنید",+ "notes_placeholder": "یادداشتهای اضافی درباره این گارانتی...",+ "tags_help_text": "برچسبها به شما کمک میکنند گارانتیهایتان را سازماندهی و فیلتر کنید",+ "search_add_tag_placeholder": "جستجو یا افزودن برچسب جدید...",+ "upload_new_file_replace": "فایل جدید برای جایگزینی آپلود کنید",+ "current_other_document": "سند دیگر فعلی",+ "no_other_document_uploaded": "هیچ سند دیگری آپلود نشده است",+ "other_document_will_be_deleted": "سند دیگر هنگام ذخیره حذف خواهد شد",+ "files_optional": "فایلها (ZIP/RAR، اختیاری)",+ "invoice_receipt_short": "فاکتور",+ "product_manual_short": "دفترچه راهنما",+ "files_short": "فایلها",+ "enter_serial_number": "شماره سریال را وارد کنید",+ "add_serial_number": "شماره سریال دیگری اضافه کنید"+ },+ "settings": {+ "title": "تنظیمات",+ "account_settings": "تنظیمات حساب کاربری",+ "preferences": "ترجیحات",+ "language": "زبان",+ "select_language": "زبان را انتخاب کنید",+ "dark_mode": "حالت تاریک",+ "dark_mode_desc": "تغییر بین تم روشن و تاریک",+ "currency": "ارز",+ "timezone": "منطقه زمانی",+ "date_format": "فرمت تاریخ",+ "expiring_soon_days": "روزهای نزدیک به انقضا",+ "save_changes": "ذخیره تغییرات",+ "current_user": "در حال ویرایش پروفایل برای:",+ "your_email": "ایمیل شما:",+ "first_name": "نام",+ "last_name": "نام خانوادگی",+ "email": "ایمیل",+ "save_profile": "ذخیره تغییرات",+ "default_view": "نمای پیشفرض",+ "default_view_desc": "نمای مورد نظر خود را برای گارانتیها انتخاب کنید",+ "grid_view": "نمای شبکهای",+ "list_view": "نمای لیستی",+ "table_view": "نمای جدولی",+ "currency_symbol": "نماد ارز",+ "currency_symbol_desc": "نماد نمایش قیمتها را انتخاب کنید",+ "currency_position": "موقعیت ارز",+ "currency_position_desc": "انتخاب کنید که نماد ارز در سمت چپ یا راست اعداد نمایش داده شود",+ "expiring_soon_days_desc": "تعداد روزهای قبل از انقضا برای نمایش هشدارها",+ "date_format_desc": "نحوه نمایش تاریخها را انتخاب کنید",+ "save_preferences": "ذخیره ترجیحات",+ "notification_settings": "تنظیمات اعلان",+ "notification_channel": "کانال اعلان",+ "notification_channel_desc": "نحوه دریافت اعلانها را انتخاب کنید",+ "notification_disabled": "غیرفعال",+ "notification_email": "ایمیل",+ "notification_apprise": "Apprise",+ "notification_both": "هر دو",+ "email_settings": "تنظیمات ایمیل",+ "notification_frequency": "فرکانس اعلان",+ "notification_frequency_desc": "هر چند وقت یکبار اعلانهای ایمیل را دریافت کنید",+ "daily": "روزانه",+ "weekly": "هفتگی",+ "monthly": "ماهانه",+ "notification_time": "زمان اعلان",+ "timezone_desc": "منطقه زمانی محلی شما برای اعلانها",+ "apprise_settings": "تنظیمات Apprise",+ "apprise_frequency": "فرکانس اعلان Apprise",+ "apprise_frequency_desc": "هر چند وقت یکبار اعلانهای Apprise را دریافت کنید",+ "apprise_time": "زمان اعلان Apprise",+ "apprise_timezone": "منطقه زمانی Apprise",+ "apprise_timezone_desc": "منطقه زمانی محلی شما برای اعلانهای Apprise",+ "save_notification_settings": "ذخیره تنظیمات اعلان",+ "security": "امنیت",+ "change_password": "تغییر رمز عبور",+ "change_password_desc": "رمز عبور حساب خود را بهروز کنید",+ "change": "تغییر",+ "current_password": "رمز عبور فعلی",+ "new_password": "رمز عبور جدید",+ "confirm_password": "تأیید رمز عبور جدید",+ "update_password": "بهروزرسانی رمز عبور",+ "cancel": "لغو",+ "danger_zone": "منطقه خطر",+ "delete_account": "حذف حساب",+ "delete_account_desc": "حساب و تمام دادههای خود را برای همیشه حذف کنید",+ "admin_settings": "تنظیمات مدیر",+ "admin_actions": "اقدامات مدیر",+ "refresh_data": "تازهسازی دادهها",+ "check_admin_status": "بررسی وضعیت مدیر",+ "show_users_list": "نمایش لیست کاربران",+ "test_api": "تست API",+ "send_notifications": "ارسال اعلانهای گارانتی",+ "check_scheduler": "بررسی وضعیت زمانبندی",+ "site_settings": "تنظیمات سایت",+ "registration_enabled": "ثبتنام فعال است",+ "registration_enabled_desc": "به کاربران جدید اجازه ثبتنام دهید",+ "email_base_url": "URL پایه ایمیل",+ "global_view_enabled": "نمای جهانی فعال است",+ "global_view_admin_only": "نمای جهانی فقط برای مدیران",+ "save_site_settings": "ذخیره تنظیمات سایت",+ "oidc_configuration": "پیکربندی OIDC SSO",+ "enable_oidc": "فعال کردن OIDC SSO",+ "oidc_provider_name": "نام ارائهدهنده OIDC",+ "client_id": "شناسه مشتری",+ "client_secret": "راز مشتری",+ "issuer_url": "URL صادرکننده",+ "scope": "محدوده",+ "save_oidc_settings": "ذخیره تنظیمات OIDC",+ "oidc_sso_desc": "به کاربران اجازه دهید از طریق ارائهدهنده OIDC وارد شوند.",+ "oidc_only_mode": "حالت ورود فقط با OIDC",+ "oidc_only_mode_desc": "فرم ورود سنتی با نام کاربری/رمز عبور را پنهان کنید و فقط اجازه ورود با OIDC را بدهید. <strong>هشدار:</strong> قبل از فعال کردن این گزینه، از پیکربندی صحیح OIDC اطمینان حاصل کنید.",+ "oidc_provider_name_desc": "نام داخلی برای مشتری OIDC (مثلاً 'oidc').",+ "client_secret_desc": "مقدار حساس. در پایگاه داده ذخیره شده است. برای اعمال تغییرات، راهاندازی مجدد برنامه لازم است.",+ "issuer_url_desc": "URL پایه ارائهدهنده OIDC شما.",+ "scope_desc": "محدودههای OIDC با فاصله از هم جدا شدهاند.",+ "oidc_restart_message": "برای اعمال کامل تنظیمات OIDC، راهاندازی مجدد برنامه لازم است.",+ "api_token": "توکن API",+ "view_documents": "مشاهده اسناد در Warracker",+ "connection_testing": "تست اتصال",+ "apprise_notifications": "اعلانهای Apprise",+ "enable_apprise": "فعال کردن اعلانهای Apprise",+ "loading": "در حال بارگذاری...",+ "time_of_day_notification": "زمان دریافت اعلانها (در قالب 24 ساعته)",+ "paperless_ngx_settings": "تنظیمات Paperless-ngx",+ "paperless_ngx_about_title": "درباره ادغام Paperless-ngx:",+ "paperless_ngx_about_desc": "این ویژگی اختیاری به شما امکان میدهد اسناد گارانتی را به جای ذخیره محلی، در نمونه Paperless-ngx خود میزبان ذخیره کنید. در صورت فعال بودن، کاربران میتوانند انتخاب کنند که هر سند را کجا ذخیره کنند: محلی یا در Paperless-ngx.",+ "paperless_ngx_desc": "پیکربندی ادغام با سیستم مدیریت اسناد Paperless-ngx",+ "enable_paperless": "فعال کردن ادغام Paperless-ngx",+ "paperless_url": "URL Paperless-ngx",+ "paperless_url_desc": "URL پایه نمونه Paperless-ngx شما",+ "paperless_token": "توکن API",+ "paperless_token_desc": "توکن احراز هویت API Paperless-ngx شما",+ "paperless_token_desc_generate": "یک توکن API از نمونه Paperless-ngx خود ایجاد کنید (تنظیمات → توکنهای API).",+ "paperless_view_in_app": "مشاهده اسناد در برنامه",+ "paperless_view_in_app_desc": "اسناد را به جای برگه جدید، در داخل برنامه باز کنید",+ "debug_config": "پیکربندی اشکالزدایی",+ "test_upload": "تست آپلود",+ "save_paperless_settings": "ذخیره تنظیمات Paperless-ngx",+ "apprise_desc": "پیکربندی Apprise برای تحویل اعلان پیشرفته به چندین سرویس",+ "apprise_desc_system_wide": "فعال یا غیرفعال کردن اعلانهای Apprise در سطح سیستم",+ "apprise_not_available_title": "Apprise در دسترس نیست:",+ "apprise_not_available_desc": "کتابخانه اعلان Apprise نصب نشده یا در دسترس نیست. ویژگیهای اعلان غیرفعال هستند.",+ "apprise_url": "URL Apprise",+ "apprise_url_desc": "URL سرویس اعلان Apprise شما",+ "apprise_mode": "حالت اعلان",+ "apprise_mode_desc": "انتخاب کنید چه زمانی اعلانهای Apprise ارسال شوند",+ "apprise_mode_global": "خلاصه جهانی",+ "apprise_mode_individual": "برای هر کاربر",+ "test_paperless": "تست اتصال Paperless",+ "test_apprise": "تست اتصال Apprise",+ "apprise_warranty_scope": "محدوده گارانتی",+ "apprise_warranty_scope_desc": "انتخاب کنید کدام گارانتیها در اعلانها گنجانده شوند",+ "all_warranties": "همه گارانتیها",+ "personal_warranties": "فقط گارانتیهای شخصی",+ "all_users_warranties": "گارانتیهای همه کاربران",+ "admin_warranties_only": "فقط گارانتیهای مدیر",+ "apprise_notification_days": "روزهای اعلان",+ "apprise_notification_days_desc": "روزهای قبل از انقضا برای ارسال اعلانها (با کاما از هم جدا شده، به عنوان مثال، \"7,30\" برای 7 روز و 30 روز قبل)",+ "apprise_check_frequency": "فرکانس بررسی",+ "apprise_check_frequency_desc": "سیستم هر چند وقت یکبار گارانتیهای در حال انقضا را بررسی میکند (تنظیم جهانی)",+ "apprise_title_prefix": "پیشوند عنوان پیام",+ "apprise_title_prefix_desc": "پیشوند اضافه شده به عناوین اعلان (به عنوان مثال، \"[Warracker]\" منجر به \"[Warracker] گارانتیها به زودی منقضی میشوند\")",+ "apprise_test_url": "URL تست (اختیاری)",+ "apprise_test_url_desc": "اختیاری: URL فقط برای ارسال اعلانهای تست (در پیکربندی اصلی ذخیره نخواهد شد)",+ "save_apprise_settings": "ذخیره تنظیمات Apprise",+ "validate_urls": "اعتبارسنجی URLها",+ "send_expiration_notifications_now": "اکنون اعلانهای انقضا را ارسال کنید",+ "apprise_current_status": "وضعیت فعلی",+ "apprise_urls_configured": "URLهای پیکربندی شده:",+ "apprise_supported_services": "سرویسهای پشتیبانی شده",+ "apprise_supported_services_desc": "Apprise از بیش از 80 سرویس اعلان پشتیبانی میکند، از جمله: Discord، Slack، Telegram، ایمیل (Gmail، Outlook)، Webhooks، Microsoft Teams، Matrix، Pushover، Ntfy، Gotify و بسیاری دیگر.",+ "view_full_list_of_supported_services": "مشاهده لیست کامل سرویسهای پشتیبانی شده",+ "ownership_management": "مدیریت مالکیت",+ "transfer_ownership": "انتقال مالکیت",+ "warning_title": "هشدار:",+ "transfer_ownership_warning": "مالکیت برنامه را به کاربر مدیر دیگری منتقل کنید. این عمل غیرقابل بازگشت است.",+ "transfer_ownership_desc": "پس از انتقال مالکیت، شما به یک مدیر عادی تبدیل خواهید شد و مالک جدید کنترل نهایی برنامه را خواهد داشت.",+ "select_new_owner": "مالک جدید را انتخاب کنید (باید مدیر باشد)",+ "select_admin_user": "یک کاربر مدیر را انتخاب کنید...",+ "transfer_ownership_button": "انتقال مالکیت",+ "transfer_ownership_irreversible": "این عمل قابل بازگشت نیست.",+ "transfer_ownership_confirmation": "شما در حال انتقال مالکیت برنامه به",+ "after_this_transfer": "پس از این انتقال:",+ "transfer_ownership_consequence_1": "شما به یک مدیر عادی تبدیل خواهید شد",+ "transfer_ownership_consequence_2": "مالک جدید کنترل نهایی برنامه را خواهد داشت",+ "transfer_ownership_consequence_3": "فقط مالک جدید میتواند دوباره مالکیت را منتقل کند",+ "transfer_ownership_type_to_confirm": "برای تأیید، لطفاً \"TRANSFER\" را در قسمت زیر تایپ کنید:"+ },+ "actions": {+ "save": "ذخیره",+ "cancel": "لغو",+ "delete": "حذف",+ "edit": "ویرایش",+ "export": "صادرات",+ "import": "واردات",+ "refresh": "بازخوانی",+ "search": "جستجو",+ "clear": "پاک کردن",+ "upload": "آپلود",+ "download": "دانلود",+ "manage_tags": "مدیریت برچسبها",+ "close": "بستن",+ "save_changes": "ذخیره تغییرات"+ },+ "filters": {+ "all_status": "همه وضعیتها",+ "all_tags": "همه برچسبها",+ "all_vendors": "همه فروشندگان",+ "all_types": "همه انواع",+ "sort_by": "مرتبسازی بر اساس",+ "sort_expiration": "تاریخ انقضا",+ "sort_purchase": "تاریخ خرید",+ "sort_age": "سن",+ "sort_name": "نام محصول",+ "sort_vendor": "فروشنده",+ "sort_warranty_type": "نوع گارانتی",+ "status": "وضعیت",+ "tags": "برچسبها",+ "vendor": "فروشنده",+ "warranty_type": "نوع گارانتی",+ "view": "نما",+ "scope": "محدوده"+ },+ "messages": {+ "success": "موفقیت",+ "error": "خطا",+ "warning": "هشدار",+ "loading": "در حال بارگذاری...",+ "saved": "تغییرات با موفقیت ذخیره شد",+ "deleted": "مورد با موفقیت حذف شد",+ "confirm_delete": "آیا از حذف این مورد اطمینان دارید؟",+ "no_results": "هیچ نتیجهای یافت نشد",+ "file_too_large": "فایل بیش از حد بزرگ است",+ "invalid_file_type": "نوع فایل نامعتبر است",+ "fill_first_last_name": "لطفاً نام و نام خانوادگی را پر کنید",+ "email_cannot_be_empty": "آدرس ایمیل نمیتواند خالی باشد.",+ "enter_valid_email": "لطفاً آدرس ایمیل معتبر وارد کنید.",+ "profile_updated_successfully": "پروفایل با موفقیت بهروزرسانی شد",+ "preferences_saved_successfully": "تنظیمات با موفقیت ذخیره شد.",+ "fill_password_fields": "لطفاً همه فیلدهای رمز عبور را پر کنید",+ "passwords_do_not_match": "رمزهای عبور جدید مطابقت ندارند",+ "password_min_length": "رمز عبور باید حداقل ۸ کاراکتر باشد",+ "type_delete_to_confirm": "لطفاً DELETE را تایپ کنید تا تأیید شود",+ "account_deleted_successfully": "حساب کاربری با موفقیت حذف شد",+ "account_cannot_delete_offline": "حساب کاربری در حالت آفلاین قابل حذف نیست",+ "failed_delete_account": "حذف حساب کاربری ناموفق بود. دوباره تلاش کنید.",+ "user_updated_successfully": "کاربر با موفقیت بهروزرسانی شد",+ "user_deleted_successfully": "کاربر با موفقیت حذف شد",+ "user_id_missing": "شناسه کاربر موجود نیست",+ "failed_load_users": "بارگذاری کاربران ناموفق بود",+ "error_loading_users": "خطا در بارگذاری کاربران",+ "select_user_transfer_ownership": "لطفاً کاربری را برای انتقال مالکیت انتخاب کنید",+ "ownership_transferred_successfully": "مالکیت با موفقیت منتقل شد! در حال بازخوانی صفحه...",+ "failed_load_site_settings": "بارگذاری تنظیمات سایت ناموفق بود. دوباره تلاش کنید.",+ "invalid_email_base_url": "فرمت URL پایه ایمیل نامعتبر است. باید با http:// یا https:// شروع شود",+ "no_site_settings_to_save": "تنظیمات سایتی برای ذخیره وجود ندارد.",+ "site_settings_saved_successfully": "تنظیمات سایت با موفقیت ذخیره شد",+ "failed_save_site_settings": "ذخیره تنظیمات سایت ناموفق بود",+ "oidc_settings_saved_successfully": "تنظیمات OIDC با موفقیت ذخیره شد.",+ "failed_save_oidc_settings": "ذخیره تنظیمات OIDC ناموفق بود.",+ "api_endpoint_accessible": "نقطه پایانی API قابل دسترس است",+ "api_endpoint_not_accessible": "نقطه پایانی API قابل دسترس نیست. وضعیت: ",+ "only_admins_send_notifications": "فقط مدیران میتوانند اعلانهای گارانتی ارسال کنند",+ "notifications_triggered_successfully": "اعلانها با موفقیت فعال شد",+ "notification_settings_saved_successfully": "تنظیمات اعلان با موفقیت ذخیره شد",+ "apprise_settings_saved_successfully": "تنظیمات Apprise با موفقیت ذخیره شد",+ "test_notification_sent_successfully": "اعلان آزمایشی با موفقیت ارسال شد",+ "no_urls_to_validate": "URL برای اعتبارسنجی وجود ندارد",+ "paperless_settings_saved_successfully": "تنظیمات Paperless-ngx با موفقیت ذخیره شد!",+ "enter_valid_paperless_url": "لطفاً URL معتبر وارد کنید (مثال: https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "لطفاً ابتدا URL Paperless-ngx وارد کنید",+ "paperless_connection_test_successful": "آزمایش اتصال Paperless-ngx موفق بود!",+ "paperless_connection_test_failed": "آزمایش اتصال Paperless-ngx ناموفق بود",+ "enter_api_token_test_connection": "لطفاً یک توکن API برای آزمایش اتصال وارد کنید",+ "failed_load_user_data": "بارگذاری دادههای کاربر ناموفق بود. دوباره تلاش کنید.",+ "could_not_connect_user_data": "اتصال برای دریافت دادههای کاربر ممکن نیست. نمایش اطلاعات حافظه موقت.",+ "preferences_saved_locally_failed_sync": "تنظیمات محلی ذخیره شد، اما همگامسازی با سرور ناموفق بود: ",+ "preferences_saved_locally": "تنظیمات محلی ذخیره شد.",+ "correct_errors_in_tab": "لطفاً خطاهای موجود در تب برجسته شده را قبل از ادامه تصحیح کنید.",+ "please_fill_out_this_field": "لطفاً این فیلد را پر کنید."+ },+ "languages": {+ "en": "انگلیسی",+ "fr": "فرانسوی",+ "es": "اسپانیایی",+ "de": "آلمانی",+ "it": "ایتالیایی",+ "cs": "چکی",+ "nl": "هلندی",+ "hi": "هندی",+ "fa": "فارسی",+ "ar": "عربی",+ "ru": "روسی",+ "uk": "اوکراینی",+ "zh_CN": "چینی ساده شده",+ "zh_HK": "چینی سنتی",+ "ja": "ژاپنی",+ "pt": "پرتغالی",+ "ko": "کرهای"+ },+ "status": {+ "title": "وضعیت سیستم",+ "dashboard_title": "داشبورد وضعیت گارانتی",+ "global_dashboard_title": "داشبورد جهانی وضعیت گارانتی",+ "overview": "نمای کلی",+ "statistics": "آمار",+ "total_warranties": "کل گارانتیها",+ "active_warranties": "گارانتیهای فعال",+ "expiring_soon": "به زودی منقضی میشود",+ "expired_warranties": "گارانتیهای منقضی شده",+ "warranty_distribution": "توزیع گارانتی",+ "expiration_timeline": "جدول زمانی انقضا",+ "recent_activity": "فعالیتهای اخیر",+ "recent_expirations": "اخیراً منقضی شده یا به زودی منقضی میشود",+ "recent_expirations_empty": "هیچ گارانتی اخیراً منقضی شده یا به زودی منقضی نمیشود.",+ "system_health": "سلامت سیستم",+ "database_status": "وضعیت پایگاه داده",+ "connected": "متصل",+ "version": "نسخه",+ "uptime": "مدت فعالیت"+ },+ "about": {+ "title": "درباره Warracker",+ "description": "یک سیستم جامع مدیریت گارانتی که برای کمک به شما در ردیابی، سازماندهی و مدیریت تمام گارانتیهای محصول خود در یک پلتفرم امن و کاربرپسند طراحی شده است.",+ "version": "نسخه",+ "update_status": "وضعیت بهروزرسانی",+ "checking_updates": "در حال بررسی برای بهروزرسانیها...",+ "view_release_notes": "مشاهده یادداشتهای انتشار",+ "project_info": "اطلاعات پروژه",+ "project_description": "Warracker یک سیستم مدیریت گارانتی منبع باز است که با فناوریهای وب مدرن ساخته شده است. این یک روش امن و بصری برای مدیریت گارانتیهای محصول، ردیابی تاریخهای انقضا و سازماندهی اسناد مهم فراهم میکند.",+ "github_repository": "مخزن GitHub",+ "releases": "انتشارها",+ "community_support": "جامعه و پشتیبانی",+ "community_description": "برای پشتیبانی، بحث و بهروزرسانی به جامعه ما بپیوندید. اشکالات را گزارش دهید، ویژگیها را درخواست کنید یا از سایر کاربران و مشارکتکنندگان کمک بگیرید.",+ "discord_community": "جامعه دیسکورد",+ "report_issues": "گزارش مشکلات",+ "developer_info": "اطلاعات توسعهدهنده",+ "developer_description": "Warracker توسط Sassanix توسعه و نگهداری میشود. این پروژه منبع باز است و از مشارکتهای جامعه استقبال میکند.",+ "sassanix": "Sassanix",+ "agpl_license": "مجوز AGPL-3.0",+ "support_project": "حمایت از پروژه",+ "support_description": "اگر Warracker را مفید میدانید، حمایت از توسعه آن را در نظر بگیرید!",+ "new_version_available": "نسخه جدید {{version}} در دسترس است!",+ "latest_version": "شما از آخرین نسخه استفاده میکنید",+ "update_check_failed": "بررسی برای بهروزرسانیها ناموفق بود",+ "features": "ویژگیها",+ "feature_track": "ردیابی گارانتیهای محصول",+ "feature_notifications": "دریافت اعلانهای انقضا",+ "feature_documents": "ذخیره اسناد گارانتی",+ "feature_reports": "تولید گزارشهای گارانتی",+ "feature_tags": "سازماندهی با برچسبها",+ "feature_export": "صادرات دادههای گارانتی",+ "support": "پشتیبانی",+ "documentation": "مستندات",+ "github": "مخزن GitHub",+ "license": "مجوز",+ "copyright": "حق نشر",+ "developed_by": "توسعه یافته توسط"+ }+}\ No newline at end of filediff --git a/locales/fr/LC_MESSAGES/messages.mo b/locales/fr/LC_MESSAGES/messages.monew file mode 100644index 0000000..e3e4851Binary files /dev/null and b/locales/fr/LC_MESSAGES/messages.mo differdiff --git a/locales/fr/LC_MESSAGES/messages.po b/locales/fr/LC_MESSAGES/messages.ponew file mode 100644index 0000000..ce8a988--- /dev/null+++ b/locales/fr/LC_MESSAGES/messages.po@@ -0,0 +1,177 @@+# French translations for Warracker+# Copyright (C) 2024 Warracker+# This file is distributed under the same license as the Warracker project.+#+msgid ""+msgstr ""+"Project-Id-Version: Warracker 1.0\n"+"Report-Msgid-Bugs-To: \n"+"POT-Creation-Date: 2025-06-29 12:36-0300\n"+"PO-Revision-Date: 2024-01-01 12:00+0000\n"+"Last-Translator: \n"+"Language: fr\n"+"Language-Team: French\n"+"Plural-Forms: nplurals=2; plural=(n > 1);\n"+"MIME-Version: 1.0\n"+"Content-Type: text/plain; charset=utf-8\n"+"Content-Transfer-Encoding: 8bit\n"+"Generated-By: Babel 2.17.0\n"++# Error messages+#: backend/localization.py:177+msgid "Validation error"+msgstr "Erreur de validation"++#: backend/localization.py:178+msgid "Authentication error"+msgstr "Erreur d'authentification"++#: backend/localization.py:179+msgid "Authorization error"+msgstr "Erreur d'autorisation"++#: backend/localization.py:180+msgid "Resource not found"+msgstr "Ressource introuvable"++#: backend/localization.py:181+msgid "Internal server error"+msgstr "Erreur interne du serveur"++#: backend/localization.py:182+msgid "File is too large"+msgstr "Le fichier est trop volumineux"++#: backend/localization.py:183+msgid "Invalid file type"+msgstr "Type de fichier invalide"++#: backend/localization.py:186+msgid "An error occurred"+msgstr "Une erreur s'est produite"++# Authentication+#~ msgid "Login"+#~ msgstr "Connexion"++#~ msgid "Logout"+#~ msgstr "Déconnexion"++#~ msgid "Register"+#~ msgstr "S'inscrire"++#~ msgid "Username"+#~ msgstr "Nom d'utilisateur"++#~ msgid "Password"+#~ msgstr "Mot de passe"++#~ msgid "Email"+#~ msgstr "E-mail"++#~ msgid "First Name"+#~ msgstr "Prénom"++#~ msgid "Last Name"+#~ msgstr "Nom"++# Navigation+#~ msgid "Home"+#~ msgstr "Accueil"++#~ msgid "Settings"+#~ msgstr "Paramètres"++#~ msgid "Status"+#~ msgstr "Statut"++#~ msgid "About"+#~ msgstr "À propos"++# Common actions+#~ msgid "Save"+#~ msgstr "Enregistrer"++#~ msgid "Cancel"+#~ msgstr "Annuler"++#~ msgid "Delete"+#~ msgstr "Supprimer"++#~ msgid "Edit"+#~ msgstr "Modifier"++#~ msgid "Search"+#~ msgstr "Rechercher"++#~ msgid "Export"+#~ msgstr "Exporter"++#~ msgid "Import"+#~ msgstr "Importer"++# Messages+#~ msgid "Success"+#~ msgstr "Succès"++#~ msgid "Error"+#~ msgstr "Erreur"++#~ msgid "Warning"+#~ msgstr "Avertissement"++#~ msgid "Loading..."+#~ msgstr "Chargement..."++#~ msgid "Saved successfully"+#~ msgstr "Enregistré avec succès"++#~ msgid "Deleted successfully"+#~ msgstr "Supprimé avec succès"++#~ msgid "Invalid request"+#~ msgstr "Demande invalide"++#~ msgid "Unauthorized"+#~ msgstr "Non autorisé"++#~ msgid "Not found"+#~ msgstr "Introuvable"++#~ msgid "Server error"+#~ msgstr "Erreur serveur"++# Warranties+#~ msgid "Warranties"+#~ msgstr "Garanties"++#~ msgid "Warranty"+#~ msgstr "Garantie"++#~ msgid "Product Name"+#~ msgstr "Nom du produit"++#~ msgid "Purchase Date"+#~ msgstr "Date d'achat"++#~ msgid "Warranty Duration"+#~ msgstr "Durée de garantie"++#~ msgid "Expiration Date"+#~ msgstr "Date d'expiration"++#~ msgid "Vendor"+#~ msgstr "Fournisseur"++#~ msgid "Active"+#~ msgstr "Actif"++#~ msgid "Expired"+#~ msgstr "Expiré"++#~ msgid "Expiring Soon"+#~ msgstr "Expire bientôt"++#~ msgid "Lifetime"+#~ msgstr "À vie"+diff --git a/locales/fr/translation.json b/locales/fr/translation.jsonnew file mode 100644index 0000000..18f1cf7--- /dev/null+++ b/locales/fr/translation.json@@ -0,0 +1,553 @@+{+ "app_title": "Warracker",+ "subtitle": "Suivi des Garanties",+ "nav": {+ "home": "Accueil",+ "status": "Statut",+ "settings": "Paramètres",+ "about": "À propos"+ },+ "auth": {+ "login": "Connexion",+ "logout": "Déconnexion",+ "register": "S'inscrire",+ "username": "Nom d'utilisateur",+ "password": "Mot de passe",+ "email": "E-mail",+ "first_name": "Prénom",+ "last_name": "Nom",+ "forgot_password": "Mot de passe oublié ?",+ "reset_password": "Réinitialiser le mot de passe",+ "confirm_password": "Confirmer le mot de passe",+ "create_account_title": "Créez votre compte",+ "first_name_optional": "Prénom (facultatif)",+ "last_name_optional": "Nom (facultatif)",+ "username_hint": "Le nom d'utilisateur doit être unique et sera utilisé pour la connexion.",+ "email_address": "Adresse e-mail",+ "toggle_password": "Afficher/Masquer le mot de passe",+ "password_hint_simple": "Le mot de passe doit comporter au moins 8 caractères et inclure des majuscules, des minuscules et des chiffres.",+ "password_requirements": "Exigences du mot de passe :",+ "req_length": "Au moins 8 caractères",+ "req_uppercase": "Au moins 1 majuscule",+ "req_lowercase": "Au moins 1 minuscule",+ "req_number": "Au moins 1 chiffre",+ "req_special": "Au moins 1 caractère spécial",+ "create_account": "Créer un compte",+ "already_have_account": "Vous avez déjà un compte ?",+ "reset_password_title": "Warracker - Réinitialiser le mot de passe",+ "reset_your_password": "Réinitialisez votre mot de passe",+ "reset_password_info": "Saisissez votre adresse e-mail ci-dessous et nous vous enverrons un lien pour réinitialiser votre mot de passe.",+ "send_reset_link": "Envoyer le lien de réinitialisation",+ "back_to_login": "Retour à la connexion",+ "set_new_password_title": "Warracker - Définir un nouveau mot de passe",+ "set_new_password": "Définir un nouveau mot de passe",+ "new_password": "Nouveau mot de passe",+ "confirm_new_password": "Confirmer le nouveau mot de passe",+ "invalid_or_expired_link": "Lien non valide ou expiré",+ "invalid_link_info": "Le lien de réinitialisation de mot de passe sur lequel vous avez cliqué n'est pas valide ou a expiré.",+ "request_new_reset_link": "Demander un nouveau lien de réinitialisation"+ },+ "warranties": {+ "title": "Vos Garanties",+ "title_global": "Garanties de Tous les Utilisateurs",+ "add_new": "Ajouter une Nouvelle Garantie",+ "edit": "Modifier la Garantie",+ "delete": "Supprimer la Garantie",+ "product_name": "Nom du Produit",+ "purchase_date": "Date d'Achat",+ "warranty_duration": "Durée de Garantie",+ "years": "Années",+ "months": "Mois",+ "days": "Jours",+ "vendor": "Fournisseur",+ "serial_numbers": "Numéros de Série",+ "purchase_price": "Prix d'Achat",+ "notes": "Notes",+ "tags": "Étiquettes",+ "status": "Statut",+ "expiration_date": "Date d'Expiration",+ "active": "Actif",+ "expired": "Expiré",+ "expiring_soon": "Expire Bientôt",+ "lifetime": "À Vie",+ "no_warranties": "Aucune garantie pour le moment. Ajoutez votre première garantie pour commencer.",+ "search_placeholder": "Rechercher par nom, fournisseurs, notes, étiquette ou numéro de série...",+ "warranty_type": "Type de Garantie",+ "other_document": "Autre Document",+ "product": "Produit",+ "expiration": "Expiration",+ "actions": "Actions",+ "no_warranties_title": "Aucune garantie pour le moment",+ "no_warranties_desc": "Ajoutez votre première garantie pour commencer",+ "add_warranty": "Ajouter une Garantie",+ "warranty_entry_method": "Méthode de Saisie de Garantie",+ "warranty_duration_option": "Durée de Garantie",+ "exact_expiration_option": "Date d'Expiration Exacte",+ "warranty_period": "Période de Garantie",+ "expiration_date_label": "Date d'Expiration",+ "currency": "Devise",+ "add_tags": "Ajouter des Étiquettes",+ "add_tags_desc": "Les étiquettes vous aident à organiser et filtrer vos garanties",+ "save_changes": "Enregistrer les Modifications",+ "confirm_delete": "Confirmer la Suppression",+ "manage_tags": "Gérer les Étiquettes",+ "add_tag": "Ajouter une Étiquette",+ "unknown_status": "Statut Inconnu",+ "expiring_soon_days": "Expire Bientôt ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} restants",+ "day_one": "jour",+ "day_other": "jours",+ "month_one": "mois",+ "month_other": "mois",+ "year_one": "an",+ "year_other": "ans",+ "na": "N/A",+ "age": "Âge",+ "warranty": "Garantie",+ "warranty_ends": "Fin de Garantie",+ "price": "Prix",+ "serial_number": "Numéro de Série",+ "vendor": "Fournisseur",+ "type": "Type",+ "owner": "Propriétaire",+ "product_website": "Site Web du Produit",+ "notes": "Notes",+ "documents": "Documents",+ "summary": "Résumé",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "Années",+ "months_placeholder": "Mois",+ "days_placeholder": "Jours",+ "add_any_notes_placeholder": "Ajouter des notes sur cette garantie...",+ "product_url_optional": "URL du produit (facultatif)",+ "enter_serial_number": "Entrez le numéro de série",+ "vendor_optional": "Fournisseur (facultatif)",+ "vendor_placeholder": "par exemple, Amazon, Best Buy, etc.",+ "lifetime_warranty": "Garantie à vie",+ "warranty_type_optional": "Type de garantie (facultatif)",+ "select_warranty_type": "Sélectionnez le type de garantie...",+ "standard": "Standard",+ "extended": "Étendue",+ "manufacturer": "Fabricant",+ "third_party": "Tiers",+ "store": "Magasin",+ "premium": "Premium",+ "limited": "Limitée",+ "full": "Complète",+ "parts_only": "Pièces uniquement",+ "labor_only": "Main-d'œuvre uniquement",+ "international": "Internationale",+ "accidental_damage": "Dommages accidentels",+ "other_custom": "Autre (personnalisé)",+ "enter_custom_warranty_type": "Entrez un type de garantie personnalisé",+ "purchase_price_optional": "Prix d'achat (facultatif)",+ "notes_optional": "Notes (facultatif)",+ "add_any_notes": "Ajoutez des notes sur cette garantie...",+ "product_photo_optional": "Photo du produit (facultatif)",+ "choose_photo": "Choisir une photo",+ "invoice_receipt": "Facture/Reçu",+ "store_locally": "Stocker localement",+ "store_in_paperless": "Stocker dans Paperless-ngx",+ "choose_file": "Choisir un fichier",+ "browse_paperless": "Parcourir les documents Paperless-ngx",+ "product_manual_optional": "Manuel du produit (facultatif)",+ "files_zip_rar_optional": "Fichiers (ZIP/RAR, facultatif)",+ "search_or_add_new_tag": "Rechercher ou ajouter une nouvelle étiquette...",+ "product_information": "Informations sur le produit",+ "product_url": "URL du produit",+ "warranty_details": "Détails de la garantie",+ "product_photo": "Photo du produit",+ "product_manual": "Manuel du produit",+ "files": "Fichiers",+ "selected_tags": "Étiquettes sélectionnées",+ "previous_tab": "Précédent",+ "next_tab": "Suivant",+ "delete_photo": "Supprimer la photo",+ "delete_invoice": "Supprimer la facture",+ "delete_manual": "Supprimer le manuel",+ "delete_files": "Supprimer les fichiers",+ "current_photo": "Photo actuelle :",+ "current_invoice": "Facture actuelle :",+ "current_manual": "Manuel actuel :",+ "current_document": "Document actuel :",+ "upload_new_photo_replace": "(Téléchargez une nouvelle photo pour remplacer)",+ "no_photo_uploaded": "Aucune photo téléchargée",+ "no_invoice_uploaded": "Aucune facture téléchargée",+ "no_manual_uploaded": "Aucun manuel téléchargé",+ "no_document_uploaded": "Aucun autre document téléchargé",+ "photo_will_be_deleted": "La photo sera supprimée lors de la sauvegarde",+ "invoice_will_be_deleted": "La facture sera supprimée lors de la sauvegarde",+ "manual_will_be_deleted": "Le manuel sera supprimé lors de la sauvegarde",+ "document_will_be_deleted": "L'autre document sera supprimé lors de la sauvegarde",+ "confirm_delete_message": "Êtes-vous sûr de vouloir supprimer cette garantie ? Cette action ne peut pas être annulée.",+ "new_tag_name": "Nouveau nom d'étiquette",+ "existing_tags": "Étiquettes existantes",+ "edit_warranty": "Modifier la Garantie",+ "warranty_type_standard": "Standard",+ "warranty_type_extended": "Étendue",+ "warranty_type_manufacturer": "Fabricant",+ "warranty_type_third_party": "Tiers",+ "warranty_type_store": "Magasin",+ "warranty_type_premium": "Premium",+ "warranty_type_limited": "Limitée",+ "warranty_type_full": "Complète",+ "warranty_type_parts_only": "Pièces uniquement",+ "warranty_type_labor_only": "Main-d'œuvre uniquement",+ "warranty_type_international": "Internationale",+ "warranty_type_accidental_damage": "Dommages accidentels",+ "warranty_type_other": "Autre (Personnalisé)",+ "warranty_type_custom_placeholder": "Entrez un type de garantie personnalisé",+ "notes_placeholder": "Notes supplémentaires sur cette garantie...",+ "tags_help_text": "Les étiquettes vous aident à organiser et filtrer vos garanties",+ "search_add_tag_placeholder": "Rechercher ou ajouter une nouvelle étiquette...",+ "upload_new_file_replace": "Télécharger un nouveau fichier pour remplacer",+ "current_other_document": "Document actuel",+ "no_other_document_uploaded": "Aucun autre document téléchargé",+ "other_document_will_be_deleted": "L'autre document sera supprimé lors de la sauvegarde",+ "files_optional": "Fichiers (ZIP/RAR, Optionnel)",+ "invoice_receipt_short": "Facture",+ "product_manual_short": "Manuel",+ "files_short": "Fichiers",+ "enter_serial_number": "Entrer le numéro de série",+ "add_serial_number": "Ajouter un autre numéro de série"+ },+ "settings": {+ "title": "Paramètres",+ "account_settings": "Paramètres du Compte",+ "preferences": "Préférences",+ "language": "Langue",+ "select_language": "Sélectionner la Langue",+ "dark_mode": "Mode Sombre",+ "dark_mode_desc": "Basculer entre le thème clair et sombre",+ "currency": "Devise",+ "timezone": "Fuseau Horaire",+ "date_format": "Format de Date",+ "expiring_soon_days": "Jours d'Expiration Proche",+ "save_changes": "Enregistrer les Modifications",+ "current_user": "Modification du Profil pour :",+ "your_email": "Votre e-mail :",+ "first_name": "Prénom",+ "last_name": "Nom de Famille",+ "email": "Email",+ "save_profile": "Enregistrer les Modifications",+ "default_view": "Vue par Défaut",+ "default_view_desc": "Choisissez votre vue préférée pour les garanties",+ "grid_view": "Vue Grille",+ "list_view": "Vue Liste",+ "table_view": "Vue Tableau",+ "currency_symbol": "Symbole de Devise",+ "currency_symbol_desc": "Choisissez le symbole à afficher pour les prix",+ "currency_position": "Position de la Devise",+ "currency_position_desc": "Choisissez si le symbole de devise apparaît à gauche ou à droite des nombres",+ "expiring_soon_days_desc": "Nombre de jours avant expiration pour afficher les avertissements",+ "date_format_desc": "Choisissez comment les dates sont affichées",+ "save_preferences": "Enregistrer les Préférences",+ "notification_settings": "Paramètres de Notification",+ "notification_channel": "Canal de Notification",+ "notification_channel_desc": "Choisissez comment vous voulez recevoir les notifications",+ "notification_disabled": "Désactivé",+ "notification_email": "Email",+ "notification_apprise": "Apprise",+ "notification_both": "Les Deux",+ "email_settings": "Paramètres Email",+ "notification_frequency": "Fréquence de Notification",+ "notification_frequency_desc": "À quelle fréquence recevoir les notifications par email",+ "daily": "Quotidien",+ "weekly": "Hebdomadaire",+ "monthly": "Mensuel",+ "notification_time": "Heure de Notification",+ "timezone_desc": "Votre fuseau horaire local pour les notifications",+ "apprise_settings": "Paramètres Apprise",+ "apprise_frequency": "Fréquence de Notification Apprise",+ "apprise_frequency_desc": "À quelle fréquence recevoir les notifications Apprise",+ "apprise_time": "Heure de Notification Apprise",+ "apprise_timezone": "Fuseau Horaire Apprise",+ "apprise_timezone_desc": "Votre fuseau horaire local pour les notifications Apprise",+ "save_notification_settings": "Enregistrer les Paramètres de Notification",+ "security": "Sécurité",+ "change_password": "Changer le Mot de Passe",+ "change_password_desc": "Mettre à jour le mot de passe de votre compte",+ "change": "Changer",+ "current_password": "Mot de Passe Actuel",+ "new_password": "Nouveau Mot de Passe",+ "confirm_password": "Confirmer le Nouveau Mot de Passe",+ "update_password": "Mettre à Jour le Mot de Passe",+ "cancel": "Annuler",+ "danger_zone": "Zone de Danger",+ "delete_account": "Supprimer le Compte",+ "delete_account_desc": "Supprimer définitivement votre compte et toutes les données",+ "admin_settings": "Paramètres Administrateur",+ "admin_actions": "Actions Administrateur",+ "refresh_data": "Actualiser les Données",+ "check_admin_status": "Vérifier le Statut Administrateur",+ "show_users_list": "Afficher la Liste des Utilisateurs",+ "test_api": "Tester l'API",+ "send_notifications": "Envoyer les Notifications de Garantie",+ "check_scheduler": "Vérifier le Statut du Planificateur",+ "site_settings": "Paramètres du Site",+ "registration_enabled": "Inscription Activée",+ "registration_enabled_desc": "Permettre aux nouveaux utilisateurs de s'inscrire",+ "email_base_url": "URL de Base Email",+ "global_view_enabled": "Vue Globale Activée",+ "global_view_admin_only": "Vue Globale Admin Seulement",+ "save_site_settings": "Enregistrer les Paramètres du Site",+ "oidc_configuration": "Configuration OIDC SSO",+ "enable_oidc": "Activer OIDC SSO",+ "oidc_provider_name": "Nom du Fournisseur OIDC",+ "client_id": "ID Client",+ "client_secret": "Secret Client",+ "issuer_url": "URL de l'Émetteur",+ "scope": "Portée",+ "save_oidc_settings": "Enregistrer les Paramètres OIDC",+ "oidc_sso_desc": "Permettre aux utilisateurs de se connecter via un fournisseur OIDC.",+ "oidc_only_mode": "Mode de connexion OIDC uniquement",+ "oidc_only_mode_desc": "Masquer le formulaire de connexion traditionnel nom d'utilisateur/mot de passe et n'autoriser que la connexion OIDC. <strong>Avertissement :</strong> Assurez-vous que l'OIDC est correctement configuré avant d'activer cette option.",+ "oidc_provider_name_desc": "Nom interne du client OIDC (par exemple, 'oidc').",+ "client_secret_desc": "Valeur sensible. Stockée dans la base de données. Un redémarrage de l'application est nécessaire pour que les modifications prennent effet.",+ "issuer_url_desc": "L'URL de base de votre fournisseur OIDC.",+ "scope_desc": "Portées OIDC séparées par des espaces.",+ "oidc_restart_message": "Un redémarrage de l'application est nécessaire pour que les paramètres OIDC prennent pleinement effet.",+ "api_token": "Jeton API",+ "view_documents": "Voir les Documents dans Warracker",+ "connection_testing": "Test de Connexion",+ "apprise_notifications": "Notifications Apprise",+ "enable_apprise": "Activer les Notifications Apprise",+ "loading": "Chargement...",+ "time_of_day_notification": "Heure de la journée pour recevoir les notifications (format 24h)",+ "paperless_ngx_settings": "Paramètres Paperless-ngx",+ "paperless_ngx_about_title": "À propos de l'intégration Paperless-ngx :",+ "paperless_ngx_about_desc": "Cette fonctionnalité optionnelle vous permet de stocker des documents de garantie dans votre instance Paperless-ngx auto-hébergée au lieu de les stocker localement. Lorsqu'elle est activée, les utilisateurs peuvent choisir où stocker chaque document : localement ou dans Paperless-ngx.",+ "paperless_ngx_desc": "Configurer l'intégration avec le système de gestion de documents Paperless-ngx",+ "enable_paperless": "Activer l'Intégration Paperless-ngx",+ "paperless_url": "URL Paperless-ngx",+ "paperless_url_desc": "URL de base de votre instance Paperless-ngx",+ "paperless_token": "Jeton API",+ "paperless_token_desc": "Votre jeton d'authentification API Paperless-ngx",+ "paperless_token_desc_generate": "Générez un jeton d'API à partir de votre instance Paperless-ngx (Paramètres → Jetons d'API).",+ "paperless_view_in_app": "Voir les documents dans l'app",+ "paperless_view_in_app_desc": "Ouvrir les documents dans l'application au lieu d'un nouvel onglet",+ "debug_config": "Configuration de débogage",+ "test_upload": "Test de téléversement",+ "save_paperless_settings": "Enregistrer les paramètres de Paperless-ngx",+ "apprise_desc": "Configurer Apprise pour la livraison avancée de notifications vers plusieurs services",+ "apprise_desc_system_wide": "Activer ou désactiver les notifications Apprise à l'échelle du système",+ "apprise_not_available_title": "Apprise non disponible :",+ "apprise_not_available_desc": "La bibliothèque de notifications Apprise n'est pas installée ou disponible. Les fonctionnalités de notification sont désactivées.",+ "apprise_url": "URL Apprise",+ "apprise_url_desc": "URL de votre service de notification Apprise",+ "apprise_mode": "Mode de Notification",+ "apprise_mode_desc": "Choisir quand envoyer les notifications Apprise",+ "apprise_mode_global": "Résumé global",+ "apprise_mode_individual": "Par utilisateur",+ "test_paperless": "Tester la Connexion Paperless",+ "test_apprise": "Tester la Connexion Apprise",+ "apprise_warranty_scope": "Portée des Garanties",+ "apprise_warranty_scope_desc": "Choisir quelles garanties inclure dans les notifications",+ "all_warranties": "Toutes les Garanties",+ "personal_warranties": "Garanties Personnelles Seulement",+ "all_users_warranties": "Garanties de tous les utilisateurs",+ "admin_warranties_only": "Garanties de l'administrateur uniquement",+ "apprise_notification_days": "Jours de notification",+ "apprise_notification_days_desc": "Jours avant l'expiration pour envoyer des notifications (séparés par des virgules, par exemple, \"7,30\" pour 7 jours et 30 jours avant)",+ "apprise_check_frequency": "Fréquence de vérification",+ "apprise_check_frequency_desc": "Fréquence à laquelle le système vérifie les garanties expirant (paramètre global)",+ "apprise_title_prefix": "Préfixe du titre du message",+ "apprise_title_prefix_desc": "Préfixe ajouté aux titres des notifications (par exemple, \"[Warracker]\" donne \"[Warracker] Garanties expirant bientôt\")",+ "apprise_test_url": "URL de test (facultatif)",+ "apprise_test_url_desc": "Facultatif : URL pour envoyer uniquement des notifications de test (ne sera pas enregistré dans la configuration principale)",+ "save_apprise_settings": "Enregistrer les paramètres Apprise",+ "validate_urls": "Valider les URL",+ "send_expiration_notifications_now": "Envoyer les notifications d'expiration maintenant",+ "apprise_current_status": "État actuel",+ "apprise_urls_configured": "URL configurées :",+ "apprise_supported_services": "Services pris en charge",+ "apprise_supported_services_desc": "Apprise prend en charge plus de 80 services de notification, notamment : Discord, Slack, Telegram, Email (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify, et bien d'autres.",+ "view_full_list_of_supported_services": "Voir la liste complète des services pris en charge",+ "ownership_management": "Gestion de la propriété",+ "transfer_ownership": "Transférer la propriété",+ "warning_title": "Avertissement :",+ "transfer_ownership_warning": "Transférer la propriété de l'application à un autre utilisateur administrateur. Cette action est irréversible.",+ "transfer_ownership_desc": "Une fois la propriété transférée, vous deviendrez un administrateur ordinaire et le nouveau propriétaire aura le contrôle ultime sur l'application.",+ "select_new_owner": "Sélectionner un nouveau propriétaire (doit être un administrateur)",+ "select_admin_user": "Sélectionner un utilisateur administrateur...",+ "transfer_ownership_button": "Transférer la propriété",+ "transfer_ownership_irreversible": "Cette action ne peut pas être annulée.",+ "transfer_ownership_confirmation": "Vous êtes sur le point de transférer la propriété de l'application à",+ "after_this_transfer": "Après ce transfert :",+ "transfer_ownership_consequence_1": "Vous deviendrez un administrateur ordinaire",+ "transfer_ownership_consequence_2": "Le nouveau propriétaire aura le contrôle ultime sur l'application",+ "transfer_ownership_consequence_3": "Seul le nouveau propriétaire peut à nouveau transférer la propriété",+ "transfer_ownership_type_to_confirm": "Pour confirmer, veuillez taper \"TRANSFER\" dans le champ ci-dessous :"+ },+ "actions": {+ "save": "Enregistrer",+ "cancel": "Annuler",+ "delete": "Supprimer",+ "edit": "Modifier",+ "export": "Exporter",+ "import": "Importer",+ "refresh": "Actualiser",+ "search": "Rechercher",+ "clear": "Effacer",+ "upload": "Téléverser",+ "download": "Télécharger",+ "manage_tags": "Gérer les Étiquettes",+ "close": "Fermer",+ "save_changes": "Enregistrer les Modifications"+ },+ "filters": {+ "all_status": "Tous les Statuts",+ "all_tags": "Toutes les Étiquettes",+ "all_vendors": "Tous les Fournisseurs",+ "all_types": "Tous les Types",+ "sort_by": "Trier par",+ "sort_expiration": "Date d'Expiration",+ "sort_purchase": "Date d'Achat",+ "sort_age": "Âge",+ "sort_name": "Nom du Produit",+ "sort_vendor": "Fournisseur",+ "sort_warranty_type": "Type de Garantie",+ "status": "Statut",+ "tags": "Étiquettes",+ "vendor": "Fournisseur",+ "warranty_type": "Type de Garantie",+ "view": "Vue",+ "scope": "Portée"+ },+ "messages": {+ "success": "Succès",+ "error": "Erreur",+ "warning": "Avertissement",+ "loading": "Chargement...",+ "saved": "Modifications enregistrées avec succès",+ "deleted": "Élément supprimé avec succès",+ "confirm_delete": "Êtes-vous sûr de vouloir supprimer cet élément ?",+ "no_results": "Aucun résultat trouvé",+ "file_too_large": "Le fichier est trop volumineux",+ "invalid_file_type": "Type de fichier invalide",+ "fill_first_last_name": "Veuillez remplir le prénom et le nom de famille",+ "email_cannot_be_empty": "L'adresse e-mail ne peut pas être vide.",+ "enter_valid_email": "Veuillez saisir une adresse e-mail valide.",+ "profile_updated_successfully": "Profil mis à jour avec succès",+ "preferences_saved_successfully": "Préférences enregistrées avec succès.",+ "fill_password_fields": "Veuillez remplir tous les champs de mot de passe",+ "passwords_do_not_match": "Les nouveaux mots de passe ne correspondent pas",+ "password_min_length": "Le mot de passe doit comporter au moins 8 caractères",+ "type_delete_to_confirm": "Veuillez taper DELETE pour confirmer",+ "account_deleted_successfully": "Compte supprimé avec succès",+ "account_cannot_delete_offline": "Le compte ne peut pas être supprimé en mode hors ligne",+ "failed_delete_account": "Échec de la suppression du compte. Veuillez réessayer.",+ "user_updated_successfully": "Utilisateur mis à jour avec succès",+ "user_deleted_successfully": "Utilisateur supprimé avec succès",+ "user_id_missing": "ID utilisateur manquant",+ "failed_load_users": "Échec du chargement des utilisateurs",+ "error_loading_users": "Erreur lors du chargement des utilisateurs",+ "select_user_transfer_ownership": "Veuillez sélectionner un utilisateur à qui transférer la propriété",+ "ownership_transferred_successfully": "Propriété transférée avec succès ! Actualisation de la page...",+ "failed_load_site_settings": "Échec du chargement des paramètres du site. Veuillez réessayer.",+ "invalid_email_base_url": "Format d'URL de base d'e-mail invalide. Doit commencer par http:// ou https://",+ "no_site_settings_to_save": "Aucun paramètre de site à enregistrer.",+ "site_settings_saved_successfully": "Paramètres du site enregistrés avec succès",+ "failed_save_site_settings": "Échec de l'enregistrement des paramètres du site",+ "oidc_settings_saved_successfully": "Paramètres OIDC enregistrés avec succès.",+ "failed_save_oidc_settings": "Échec de l'enregistrement des paramètres OIDC.",+ "api_endpoint_accessible": "Le point de terminaison API est accessible",+ "api_endpoint_not_accessible": "Le point de terminaison API n'est pas accessible. Statut : ",+ "only_admins_send_notifications": "Seuls les administrateurs peuvent envoyer des notifications de garantie",+ "notifications_triggered_successfully": "Notifications déclenchées avec succès",+ "notification_settings_saved_successfully": "Paramètres de notification enregistrés avec succès",+ "apprise_settings_saved_successfully": "Paramètres Apprise enregistrés avec succès",+ "test_notification_sent_successfully": "Notification de test envoyée avec succès",+ "no_urls_to_validate": "Aucune URL à valider",+ "paperless_settings_saved_successfully": "Paramètres Paperless-ngx enregistrés avec succès !",+ "enter_valid_paperless_url": "Veuillez saisir une URL valide (ex. https://paperless.votredomaine.com)",+ "enter_paperless_url_first": "Veuillez d'abord saisir une URL Paperless-ngx",+ "paperless_connection_test_successful": "Test de connexion Paperless-ngx réussi !",+ "paperless_connection_test_failed": "Test de connexion Paperless-ngx échoué",+ "enter_api_token_test_connection": "Veuillez saisir un jeton API pour tester la connexion",+ "failed_load_user_data": "Échec du chargement des données utilisateur. Veuillez réessayer.",+ "could_not_connect_user_data": "Impossible de se connecter pour récupérer les données utilisateur. Affichage des informations en cache.",+ "preferences_saved_locally_failed_sync": "Préférences enregistrées localement, mais échec de la synchronisation avec le serveur : ",+ "preferences_saved_locally": "Préférences enregistrées localement.",+ "correct_errors_in_tab": "Veuillez corriger les erreurs dans l'onglet mis en évidence avant de continuer.",+ "please_fill_out_this_field": "Veuillez remplir ce champ."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "État du Système",+ "dashboard_title": "Tableau de Bord des Garanties",+ "global_dashboard_title": "Tableau de Bord Global des Garanties",+ "overview": "Aperçu",+ "statistics": "Statistiques",+ "total_warranties": "Total des Garanties",+ "active_warranties": "Garanties Actives",+ "expiring_soon": "Expire Bientôt",+ "expired_warranties": "Garanties Expirées",+ "warranty_distribution": "Répartition des Garanties",+ "expiration_timeline": "Chronologie d'Expiration",+ "recent_activity": "Activité Récente",+ "recent_expirations": "Récemment Expirées ou Expirant Bientôt",+ "recent_expirations_empty": "Aucune garantie récemment expirée ou expirant bientôt.",+ "system_health": "Santé du Système",+ "database_status": "État de la Base de Données",+ "connected": "Connecté",+ "version": "Version",+ "uptime": "Temps de Fonctionnement"+ },+ "about": {+ "title": "À Propos de Warracker",+ "description": "Un système complet de gestion de garanties conçu pour vous aider à suivre, organiser et gérer toutes vos garanties de produits sur une plateforme sécurisée et conviviale.",+ "version": "Version",+ "update_status": "État des Mises à Jour",+ "checking_updates": "Vérification des mises à jour...",+ "view_release_notes": "Voir les Notes de Version",+ "project_info": "Informations du Projet",+ "project_description": "Warracker est un système de gestion de garanties open-source construit avec des technologies web modernes. Il fournit un moyen sécurisé et intuitif de gérer les garanties de produits, suivre les dates d'expiration et organiser les documents importants.",+ "github_repository": "Dépôt GitHub",+ "releases": "Versions",+ "community_support": "Communauté et Support",+ "community_description": "Rejoignez notre communauté pour le support, les discussions et les mises à jour. Signalez des bugs, demandez des fonctionnalités ou obtenez de l'aide d'autres utilisateurs et contributeurs.",+ "discord_community": "Communauté Discord",+ "report_issues": "Signaler des Problèmes",+ "developer_info": "Informations du Développeur",+ "developer_description": "Warracker est développé et maintenu par Sassanix. Le projet est open-source et accueille les contributions de la communauté.",+ "sassanix": "Sassanix",+ "agpl_license": "Licence AGPL-3.0",+ "support_project": "Soutenir le Projet",+ "support_description": "Si vous trouvez Warracker utile, considérez soutenir son développement !",+ "new_version_available": "Nouvelle version {{version}} disponible !",+ "latest_version": "Vous utilisez la dernière version",+ "update_check_failed": "Échec de la vérification des mises à jour",+ "features": "Fonctionnalités",+ "feature_track": "Suivre les garanties de produits",+ "feature_notifications": "Recevoir des notifications d'expiration",+ "feature_documents": "Stocker les documents de garantie",+ "feature_reports": "Générer des rapports de garantie",+ "feature_tags": "Organiser avec des étiquettes",+ "feature_export": "Exporter les données de garantie",+ "support": "Support",+ "documentation": "Documentation",+ "github": "Dépôt GitHub",+ "license": "Licence",+ "copyright": "Droits d'Auteur",+ "developed_by": "Développé par"+ }+}\ No newline at end of filediff --git a/locales/hi/translation.json b/locales/hi/translation.jsonnew file mode 100644index 0000000..d5a7699--- /dev/null+++ b/locales/hi/translation.json@@ -0,0 +1,550 @@+{+ "app_title": "Warracker",+ "subtitle": "वारंटी ट्रैकर",+ "nav": {+ "home": "होम",+ "status": "स्थिति",+ "settings": "सेटिंग्स",+ "about": "के बारे में"+ },+ "auth": {+ "login": "लॉगिन",+ "logout": "लॉगआउट",+ "register": "पंजीकरण",+ "username": "उपयोगकर्ता नाम",+ "password": "पासवर्ड",+ "email": "ईमेल",+ "first_name": "पहला नाम",+ "last_name": "अंतिम नाम",+ "forgot_password": "पासवर्ड भूल गए?",+ "reset_password": "पासवर्ड रीसेट करें",+ "confirm_password": "पासवर्ड की पुष्टि करें",+ "create_account_title": "अपना खाता बनाएं",+ "first_name_optional": "पहला नाम (वैकल्पिक)",+ "last_name_optional": "अंतिम नाम (वैकल्पिक)",+ "username_hint": "उपयोगकर्ता नाम अद्वितीय होना चाहिए और लॉगिन के लिए उपयोग किया जाएगा।",+ "email_address": "ईमेल पता",+ "toggle_password": "पासवर्ड दिखाएं/छिपाएं",+ "password_hint_simple": "पासवर्ड में कम से कम 8 अक्षर होने चाहिए और इसमें अपरकेस, लोअरकेस और संख्याएं शामिल होनी चाहिए।",+ "password_requirements": "पासवर्ड आवश्यकताएँ:",+ "req_length": "कम से कम 8 अक्षर",+ "req_uppercase": "कम से कम 1 अपरकेस अक्षर",+ "req_lowercase": "कम से कम 1 लोअरकेस अक्षर",+ "req_number": "कम से कम 1 संख्या",+ "req_special": "कम से कम 1 विशेष वर्ण",+ "create_account": "खाता बनाएं",+ "already_have_account": "क्या आपके पास पहले से एक खाता है?",+ "reset_password_title": "Warracker - पासवर्ड रीसेट करें",+ "reset_your_password": "अपना पासवर्ड रीसेट करें",+ "reset_password_info": "नीचे अपना ईमेल पता दर्ज करें और हम आपको अपना पासवर्ड रीसेट करने के लिए एक लिंक भेजेंगे।",+ "send_reset_link": "रीसेट लिंक भेजें",+ "back_to_login": "लॉगिन पर वापस जाएं",+ "set_new_password_title": "Warracker - नया पासवर्ड सेट करें",+ "set_new_password": "नया पासवर्ड सेट करें",+ "new_password": "नया पासवर्ड",+ "confirm_new_password": "नए पासवर्ड की पुष्टि करें",+ "invalid_or_expired_link": "अमान्य या समाप्त हो चुका लिंक",+ "invalid_link_info": "आपके द्वारा क्लिक किया गया पासवर्ड रीसेट लिंक अमान्य है या समाप्त हो गया है।",+ "request_new_reset_link": "नया रीसेट लिंक अनुरोध करें"+ },+ "warranties": {+ "title": "आपकी वारंटी",+ "title_global": "सभी उपयोगकर्ताओं की वारंटी",+ "add_new": "नई वारंटी जोड़ें",+ "edit": "वारंटी संपादित करें",+ "delete": "वारंटी हटाएं",+ "product_name": "उत्पाद का नाम",+ "purchase_date": "खरीद की तारीख",+ "warranty_duration": "वारंटी अवधि",+ "years": "वर्ष",+ "months": "महीने",+ "days": "दिन",+ "vendor": "विक्रेता",+ "serial_numbers": "सीरियल नंबर",+ "purchase_price": "खरीद मूल्य",+ "notes": "नोट्स",+ "tags": "टैग",+ "status": "स्थिति",+ "expiration_date": "समाप्ति तिथि",+ "active": "सक्रिय",+ "expired": "समाप्त",+ "expiring_soon": "जल्द समाप्त होने वाली",+ "lifetime": "आजीवन",+ "no_warranties": "अभी तक कोई वारंटी नहीं। शुरू करने के लिए अपनी पहली वारंटी जोड़ें।",+ "search_placeholder": "नाम, विक्रेता, नोट्स, टैग या सीरियल नंबर से खोजें...",+ "warranty_type": "वारंटी प्रकार",+ "other_document": "अन्य दस्तावेज़",+ "product": "उत्पाद",+ "expiration": "समाप्ति",+ "actions": "कार्य",+ "no_warranties_title": "अभी तक कोई वारंटी नहीं",+ "no_warranties_desc": "शुरू करने के लिए अपनी पहली वारंटी जोड़ें",+ "add_warranty": "वारंटी जोड़ें",+ "warranty_entry_method": "वारंटी प्रविष्टि विधि",+ "warranty_duration_option": "वारंटी अवधि",+ "exact_expiration_option": "सटीक समाप्ति तिथि",+ "warranty_period": "वारंटी अवधि",+ "expiration_date_label": "समाप्ति तिथि",+ "currency": "मुद्रा",+ "add_tags": "टैग जोड़ें",+ "add_tags_desc": "टैग आपकी वारंटी को व्यवस्थित और फ़िल्टर करने में मदद करते हैं",+ "save_changes": "परिवर्तन सहेजें",+ "confirm_delete": "हटाने की पुष्टि करें",+ "manage_tags": "टैग प्रबंधित करें",+ "add_tag": "टैग जोड़ें",+ "unknown_status": "अज्ञात स्थिति",+ "expiring_soon_days": "जल्द समाप्त होने वाली ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} शेष",+ "day_one": "दिन",+ "day_other": "दिन",+ "month_one": "महीना",+ "month_other": "महीने",+ "year_one": "साल",+ "year_other": "साल",+ "na": "लागू नहीं",+ "age": "आयु",+ "warranty": "वारंटी",+ "warranty_ends": "वारंटी समाप्त",+ "price": "कीमत",+ "serial_number": "सीरियल नंबर",+ "type": "प्रकार",+ "owner": "स्वामी",+ "product_website": "उत्पाद वेबसाइट",+ "documents": "दस्तावेज़",+ "summary": "सारांश",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "वर्ष",+ "months_placeholder": "महीने",+ "days_placeholder": "दिन",+ "add_any_notes_placeholder": "इस वारंटी के बारे में कोई नोट्स जोड़ें...",+ "product_url_optional": "उत्पाद URL (वैकल्पिक)",+ "enter_serial_number": "सीरियल नंबर दर्ज करें",+ "vendor_optional": "विक्रेता (वैकल्पिक)",+ "vendor_placeholder": "जैसे Amazon, Best Buy, आदि।",+ "lifetime_warranty": "आजीवन वारंटी",+ "warranty_type_optional": "वारंटी प्रकार (वैकल्पिक)",+ "select_warranty_type": "वारंटी प्रकार चुनें...",+ "standard": "मानक",+ "extended": "विस्तारित",+ "manufacturer": "निर्माता",+ "third_party": "तृतीय पक्ष",+ "store": "स्टोर",+ "premium": "प्रीमियम",+ "limited": "सीमित",+ "full": "पूर्ण",+ "parts_only": "केवल पुर्जे",+ "labor_only": "केवल श्रम",+ "international": "अंतर्राष्ट्रीय",+ "accidental_damage": "आकस्मिक क्षति",+ "other_custom": "अन्य (कस्टम)",+ "enter_custom_warranty_type": "कस्टम वारंटी प्रकार दर्ज करें",+ "purchase_price_optional": "खरीद मूल्य (वैकल्पिक)",+ "notes_optional": "नोट्स (वैकल्पिक)",+ "add_any_notes": "इस वारंटी के बारे में कोई नोट्स जोड़ें...",+ "product_photo_optional": "उत्पाद फोटो (वैकल्पिक)",+ "choose_photo": "फोटो चुनें",+ "invoice_receipt": "चालान/रसीद",+ "store_locally": "स्थानीय रूप से स्टोर करें",+ "store_in_paperless": "Paperless-ngx में स्टोर करें",+ "choose_file": "फ़ाइल चुनें",+ "browse_paperless": "Paperless-ngx दस्तावेज़ ब्राउज़ करें",+ "product_manual_optional": "उत्पाद मैनुअल (वैकल्पिक)",+ "files_zip_rar_optional": "फाइलें (ZIP/RAR, वैकल्पिक)",+ "search_or_add_new_tag": "खोजें या नया टैग जोड़ें...",+ "product_information": "उत्पाद जानकारी",+ "product_url": "उत्पाद URL",+ "warranty_details": "वारंटी विवरण",+ "product_photo": "उत्पाद फोटो",+ "product_manual": "उत्पाद मैनुअल",+ "files": "फाइलें",+ "selected_tags": "चयनित टैग",+ "previous_tab": "पिछला",+ "next_tab": "अगला",+ "delete_photo": "फोटो हटाएं",+ "delete_invoice": "चालान हटाएं",+ "delete_manual": "मैनुअल हटाएं",+ "delete_files": "फाइलें हटाएं",+ "current_photo": "वर्तमान फोटो:",+ "current_invoice": "वर्तमान चालान:",+ "current_manual": "वर्तमान मैनुअल:",+ "current_document": "वर्तमान दस्तावेज़:",+ "upload_new_photo_replace": "(बदलने के लिए नई फोटो अपलोड करें)",+ "no_photo_uploaded": "कोई फोटो अपलोड नहीं की गई",+ "no_invoice_uploaded": "कोई चालान अपलोड नहीं किया गया",+ "no_manual_uploaded": "कोई मैनुअल अपलोड नहीं किया गया",+ "no_document_uploaded": "कोई अन्य दस्तावेज़ अपलोड नहीं किया गया",+ "photo_will_be_deleted": "सेव करने पर फोटो हटा दी जाएगी",+ "invoice_will_be_deleted": "सेव करने पर चालान हटा दिया जाएगा",+ "manual_will_be_deleted": "सेव करने पर मैनुअल हटा दिया जाएगा",+ "document_will_be_deleted": "सेव करने पर अन्य दस्तावेज़ हटा दिया जाएगा",+ "confirm_delete_message": "क्या आप वाकई इस वारंटी को हटाना चाहते हैं? यह क्रिया पूर्ववत नहीं की जा सकती।",+ "new_tag_name": "नया टैग नाम",+ "existing_tags": "मौजूदा टैग",+ "edit_warranty": "वारंटी संपादित करें",+ "warranty_type_standard": "मानक",+ "warranty_type_extended": "विस्तारित",+ "warranty_type_manufacturer": "निर्माता",+ "warranty_type_third_party": "तृतीय पक्ष",+ "warranty_type_store": "स्टोर",+ "warranty_type_premium": "प्रीमियम",+ "warranty_type_limited": "सीमित",+ "warranty_type_full": "पूर्ण",+ "warranty_type_parts_only": "केवल पुर्जे",+ "warranty_type_labor_only": "केवल श्रम",+ "warranty_type_international": "अंतर्राष्ट्रीय",+ "warranty_type_accidental_damage": "आकस्मिक क्षति",+ "warranty_type_other": "अन्य (कस्टम)",+ "warranty_type_custom_placeholder": "कस्टम वारंटी प्रकार दर्ज करें",+ "notes_placeholder": "इस वारंटी के बारे में अतिरिक्त नोट्स...",+ "tags_help_text": "टैग आपको अपनी वारंटी को व्यवस्थित और फ़िल्टर करने में मदद करते हैं",+ "search_add_tag_placeholder": "खोजें या नया टैग जोड़ें...",+ "upload_new_file_replace": "बदलने के लिए नई फ़ाइल अपलोड करें",+ "current_other_document": "वर्तमान अन्य दस्तावेज़",+ "no_other_document_uploaded": "कोई अन्य दस्तावेज़ अपलोड नहीं किया गया",+ "other_document_will_be_deleted": "अन्य दस्तावेज़ सेव करने पर हटा दिया जाएगा",+ "files_optional": "फाइलें (ZIP/RAR, वैकल्पिक)",+ "invoice_receipt_short": "चालान",+ "product_manual_short": "मैनुअल",+ "files_short": "फाइलें",+ "enter_serial_number": "सीरियल नंबर दर्ज करें",+ "add_serial_number": "अन्य सीरियल नंबर जोड़ें"+ },+ "settings": {+ "title": "सेटिंग्स",+ "account_settings": "खाता सेटिंग्स",+ "preferences": "प्राथमिकताएं",+ "language": "भाषा",+ "select_language": "अपनी पसंदीदा भाषा चुनें",+ "dark_mode": "डार्क मोड",+ "dark_mode_desc": "लाइट और डार्क थीम के बीच स्विच करें",+ "currency": "मुद्रा",+ "timezone": "समय क्षेत्र",+ "date_format": "दिनांक प्रारूप",+ "expiring_soon_days": "जल्द समाप्त होने के दिन",+ "save_changes": "परिवर्तन सहेजें",+ "current_user": "प्रोफ़ाइल संपादित करना:",+ "your_email": "आपका ईमेल:",+ "first_name": "पहला नाम",+ "last_name": "अंतिम नाम",+ "email": "ईमेल",+ "save_profile": "प्रोफ़ाइल सहेजें",+ "default_view": "डिफ़ॉल्ट दृश्य",+ "default_view_desc": "वारंटी के लिए अपना पसंदीदा दृश्य चुनें",+ "grid_view": "ग्रिड दृश्य",+ "list_view": "सूची दृश्य",+ "table_view": "तालिका दृश्य",+ "currency_symbol": "मुद्रा चिह्न",+ "currency_symbol_desc": "कीमतों के प्रदर्शन के लिए चिह्न चुनें",+ "currency_position": "मुद्रा स्थिति",+ "currency_position_desc": "चुनें कि मुद्रा चिह्न संख्याओं के बाएं या दाएं दिखाई दे",+ "expiring_soon_days_desc": "वारंटी समाप्ति से पहले के दिनों की संख्या \"जल्द समाप्त होने वाली\" के रूप में चिह्नित करने के लिए",+ "date_format_desc": "चुनें कि दिनांक कैसे प्रदर्शित हों",+ "save_preferences": "प्राथमिकताएं सहेजें",+ "notification_settings": "नोटिफिकेशन सेटिंग्स",+ "notification_channel": "नोटिफिकेशन चैनल",+ "notification_channel_desc": "चुनें कि आप नोटिफिकेशन कैसे प्राप्त करना चाहते हैं",+ "notification_disabled": "अक्षम",+ "notification_email": "ईमेल",+ "notification_apprise": "Apprise",+ "notification_both": "दोनों",+ "email_settings": "ईमेल सेटिंग्स",+ "notification_frequency": "नोटिफिकेशन आवृत्ति",+ "notification_frequency_desc": "ईमेल नोटिफिकेशन कितनी बार प्राप्त करें",+ "daily": "दैनिक",+ "weekly": "साप्ताहिक",+ "monthly": "मासिक",+ "notification_time": "नोटिफिकेशन समय",+ "timezone_desc": "नोटिफिकेशन के लिए आपका स्थानीय समय क्षेत्र",+ "apprise_settings": "Apprise सेटिंग्स",+ "apprise_frequency": "Apprise नोटिफिकेशन आवृत्ति",+ "apprise_frequency_desc": "Apprise नोटिफिकेशन कितनी बार प्राप्त करें",+ "apprise_time": "Apprise नोटिफिकेशन समय",+ "apprise_timezone": "Apprise समय क्षेत्र",+ "apprise_timezone_desc": "Apprise नोटिफिकेशन के लिए आपका स्थानीय समय क्षेत्र",+ "save_notification_settings": "नोटिफिकेशन सेटिंग्स सहेजें",+ "security": "सुरक्षा",+ "change_password": "पासवर्ड बदलें",+ "change_password_desc": "अपना पासवर्ड अपडेट करें",+ "change": "बदलें",+ "current_password": "वर्तमान पासवर्ड",+ "new_password": "नया पासवर्ड",+ "confirm_password": "पासवर्ड की पुष्टि करें",+ "update_password": "पासवर्ड अपडेट करें",+ "cancel": "रद्द करें",+ "danger_zone": "खतरा क्षेत्र",+ "delete_account": "खाता हटाएं",+ "delete_account_desc": "अपना खाता और सभी डेटा स्थायी रूप से हटाएं",+ "admin_settings": "व्यवस्थापक सेटिंग्स",+ "admin_actions": "व्यवस्थापक कार्य",+ "refresh_data": "डेटा रीफ्रेश करें",+ "check_admin_status": "व्यवस्थापक स्थिति जांचें",+ "show_users_list": "उपयोगकर्ता सूची दिखाएं",+ "test_api": "API परीक्षण करें",+ "send_notifications": "वारंटी सूचनाएं भेजें",+ "check_scheduler": "शेड्यूलर स्थिति जांचें",+ "site_settings": "साइट सेटिंग्स",+ "registration_enabled": "पंजीकरण सक्षम",+ "registration_enabled_desc": "नए उपयोगकर्ताओं को पंजीकरण करने की अनुमति दें",+ "email_base_url": "ईमेल बेस यूआरएल",+ "global_view_enabled": "वैश्विक दृश्य सक्षम",+ "global_view_admin_only": "वैश्विक दृश्य केवल व्यवस्थापक के लिए",+ "save_site_settings": "साइट सेटिंग्स सहेजें",+ "oidc_configuration": "ओआईडीसी एसएसओ कॉन्फ़िगरेशन",+ "enable_oidc": "ओआईडीसी एसएसओ सक्षम करें",+ "oidc_provider_name": "ओआईडीसी प्रदाता का नाम",+ "client_id": "क्लाइंट आईडी",+ "client_secret": "क्लाइंट सीक्रेट",+ "issuer_url": "जारीकर्ता यूआरएल",+ "scope": "स्कोप",+ "save_oidc_settings": "ओआईडीसी सेटिंग्स सहेजें",+ "oidc_sso_desc": "उपयोगकर्ताओं को एक OIDC प्रदाता के माध्यम से लॉगिन करने की अनुमति दें।",+ "oidc_only_mode": "केवल-OIDC लॉगिन मोड",+ "oidc_only_mode_desc": "पारंपरिक उपयोगकर्ता नाम/पासवर्ड लॉगिन फ़ॉर्म छिपाएं और केवल OIDC लॉगिन की अनुमति दें। <strong>चेतावनी:</strong> इस विकल्प को सक्षम करने से पहले सुनिश्चित करें कि OIDC ठीक से कॉन्फ़िगर किया गया है।",+ "oidc_provider_name_desc": "OIDC क्लाइंट के लिए आंतरिक नाम (जैसे, 'oidc')।",+ "client_secret_desc": "संवेदनशील मान। डेटाबेस में संग्रहीत। परिवर्तनों को प्रभावी होने के लिए एप्लिकेशन को पुनरारंभ करना आवश्यक है।",+ "issuer_url_desc": "आपके OIDC प्रदाता का आधार URL।",+ "scope_desc": "अंतरिक्ष-पृथक्कृत OIDC स्कोप।",+ "oidc_restart_message": "OIDC सेटिंग्स को पूरी तरह से प्रभावी होने के लिए एप्लिकेशन को पुनरारंभ करना आवश्यक है।",+ "api_token": "एपीआई टोकन",+ "view_documents": "Warracker में दस्तावेज़ देखें",+ "connection_testing": "कनेक्शन परीक्षण",+ "apprise_notifications": "Apprise नोटिफिकेशन",+ "enable_apprise": "Apprise नोटिफिकेशन सक्षम करें",+ "loading": "लोड हो रहा है...",+ "time_of_day_notification": "नोटिफिकेशन प्राप्त करने का दिन का समय (24-घंटे प्रारूप में)",+ "paperless_ngx_settings": "Paperless-ngx सेटिंग्स",+ "paperless_ngx_about_title": "Paperless-ngx एकीकरण के बारे में:",+ "paperless_ngx_about_desc": "यह वैकल्पिक सुविधा आपको वारंटी दस्तावेज़ों को स्थानीय रूप से संग्रहीत करने के बजाय आपके स्व-होस्ट किए गए Paperless-ngx इंस्टेंस में संग्रहीत करने की अनुमति देती है। सक्षम होने पर, उपयोगकर्ता प्रत्येक दस्तावेज़ को कहाँ संग्रहीत करना है, यह चुन सकते हैं: स्थानीय रूप से या Paperless-ngx में।",+ "paperless_ngx_desc": "Paperless-ngx दस्तावेज़ प्रबंधन प्रणाली के साथ एकीकरण कॉन्फ़िगर करें",+ "enable_paperless": "Paperless-ngx एकीकरण सक्षम करें",+ "paperless_url": "Paperless-ngx यूआरएल",+ "paperless_token": "एपीआई टोकन",+ "paperless_token_desc": "आपका Paperless-ngx एपीआई प्रमाणीकरण टोकन",+ "paperless_token_desc_generate": "अपने Paperless-ngx इंस्टेंस से एक API टोकन उत्पन्न करें (सेटिंग्स → API टोकन)।",+ "paperless_view_in_app": "ऐप में दस्तावेज़ देखें",+ "paperless_view_in_app_desc": "दस्तावेज़ों को नए टैब के बजाय ऐप के भीतर खोलें",+ "debug_config": "डीबग कॉन्फ़िग",+ "test_upload": "अपलोड का परीक्षण करें",+ "save_paperless_settings": "Paperless-ngx सेटिंग्स सहेजें",+ "apprise_desc": "कई सेवाओं के लिए उन्नत अधिसूचना वितरण के लिए Apprise कॉन्फ़िगर करें",+ "apprise_desc_system_wide": "सिस्टम-व्यापी Apprise सूचनाएं सक्षम या अक्षम करें",+ "apprise_not_available_title": "Apprise उपलब्ध नहीं है:",+ "apprise_not_available_desc": "Apprise अधिसूचना पुस्तकालय स्थापित या उपलब्ध नहीं है। अधिसूचना सुविधाएँ अक्षम हैं।",+ "apprise_url": "Apprise यूआरएल",+ "apprise_url_desc": "आपकी Apprise अधिसूचना सेवा यूआरएल",+ "apprise_mode": "अधिसूचना मोड",+ "apprise_mode_desc": "Apprise सूचनाएं कब भेजनी हैं, यह चुनें",+ "apprise_mode_global": "वैश्विक सारांश",+ "apprise_mode_individual": "प्रति उपयोगकर्ता",+ "test_paperless": "पेपरलेस कनेक्शन का परीक्षण करें",+ "test_apprise": "Apprise कनेक्शन का परीक्षण करें",+ "apprise_warranty_scope": "वारंटी स्कोप",+ "apprise_warranty_scope_desc": "सूचनाओं में कौन सी वारंटी शामिल करनी हैं, यह चुनें",+ "all_warranties": "सभी वारंटी",+ "personal_warranties": "केवल व्यक्तिगत वारंटी",+ "all_users_warranties": "सभी उपयोगकर्ताओं की वारंटी",+ "admin_warranties_only": "केवल व्यवस्थापक की वारंटी",+ "apprise_notification_days": "अधिसूचना दिन",+ "apprise_notification_days_desc": "समाप्ति से पहले सूचनाएं भेजने के लिए दिन (अल्पविराम से अलग, जैसे, 7 और 30 दिन पहले के लिए \"7,30\")",+ "apprise_check_frequency": "आवृत्ति जांचें",+ "apprise_check_frequency_desc": "सिस्टम कितनी बार समाप्त हो रही वारंटी की जांच करता है (वैश्विक सेटिंग)",+ "apprise_title_prefix": "संदेश शीर्षक उपसर्ग",+ "apprise_title_prefix_desc": "अधिसूचना शीर्षकों में जोड़ा गया उपसर्ग (जैसे, \"[Warracker]\" का परिणाम \"[Warracker] वारंटी जल्द ही समाप्त हो रही है\")",+ "apprise_test_url": "परीक्षण URL (वैकल्पिक)",+ "apprise_test_url_desc": "वैकल्पिक: केवल परीक्षण सूचनाएं भेजने के लिए URL (मुख्य कॉन्फ़िगरेशन में सहेजा नहीं जाएगा)",+ "save_apprise_settings": "Apprise सेटिंग्स सहेजें",+ "validate_urls": "URL मान्य करें",+ "send_expiration_notifications_now": "अब समाप्ति सूचनाएं भेजें",+ "apprise_current_status": "वर्तमान स्थिति",+ "apprise_urls_configured": "कॉन्फ़िगर किए गए URL:",+ "apprise_supported_services": "समर्थित सेवाएं",+ "apprise_supported_services_desc": "Apprise 80+ अधिसूचना सेवाओं का समर्थन करता है जिनमें शामिल हैं: Discord, Slack, Telegram, Email (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify, और बहुत कुछ।",+ "view_full_list_of_supported_services": "समर्थित सेवाओं की पूरी सूची देखें",+ "ownership_management": "स्वामित्व प्रबंधन",+ "transfer_ownership": "स्वामित्व स्थानांतरित करें",+ "warning_title": "चेतावनी:",+ "transfer_ownership_warning": "एप्लिकेशन का स्वामित्व किसी अन्य व्यवस्थापक उपयोगकर्ता को स्थानांतरित करें। यह क्रिया अपरिवर्तनीय है।",+ "transfer_ownership_desc": "एक बार स्वामित्व स्थानांतरित हो जाने के बाद, आप एक नियमित व्यवस्थापक बन जाएंगे और नए मालिक का एप्लिकेशन पर अंतिम नियंत्रण होगा।",+ "select_new_owner": "नया स्वामी चुनें (एक व्यवस्थापक होना चाहिए)",+ "select_admin_user": "एक व्यवस्थापक उपयोगकर्ता चुनें...",+ "transfer_ownership_button": "स्वामित्व स्थानांतरित करें",+ "transfer_ownership_irreversible": "यह क्रिया पूर्ववत नहीं की जा सकती।",+ "transfer_ownership_confirmation": "आप एप्लिकेशन का स्वामित्व स्थानांतरित करने वाले हैं",+ "after_this_transfer": "इस स्थानांतरण के बाद:",+ "transfer_ownership_consequence_1": "आप एक नियमित व्यवस्थापक बन जाएंगे",+ "transfer_ownership_consequence_2": "नए मालिक का एप्लिकेशन पर अंतिम नियंत्रण होगा",+ "transfer_ownership_consequence_3": "केवल नया मालिक ही फिर से स्वामित्व स्थानांतरित कर सकता है",+ "transfer_ownership_type_to_confirm": "पुष्टि करने के लिए, कृपया नीचे दिए गए फ़ील्ड में \"TRANSFER\" टाइप करें:"+ },+ "actions": {+ "save": "सहेजें",+ "cancel": "रद्द करें",+ "delete": "हटाएं",+ "edit": "संपादित करें",+ "export": "निर्यात",+ "import": "आयात",+ "refresh": "रीफ्रेश",+ "search": "खोजें",+ "clear": "साफ़ करें",+ "upload": "अपलोड",+ "download": "डाउनलोड",+ "manage_tags": "टैग प्रबंधित करें",+ "close": "बंद करें",+ "save_changes": "परिवर्तन सहेजें"+ },+ "filters": {+ "all_status": "सभी स्थितियाँ",+ "all_tags": "सभी टैग",+ "all_vendors": "सभी विक्रेता",+ "all_types": "सभी प्रकार",+ "sort_by": "इसके अनुसार क्रमबद्ध करें",+ "sort_expiration": "समाप्ति तिथि",+ "sort_purchase": "खरीद की तारीख",+ "sort_age": "आयु",+ "sort_name": "उत्पाद का नाम",+ "sort_vendor": "विक्रेता",+ "sort_warranty_type": "वारंटी प्रकार",+ "status": "स्थिति",+ "tags": "टैग",+ "vendor": "विक्रेता",+ "warranty_type": "वारंटी प्रकार",+ "view": "दृश्य",+ "scope": "दायरा"+ },+ "messages": {+ "success": "सफलता",+ "error": "त्रुटि",+ "warning": "चेतावनी",+ "loading": "लोड हो रहा है...",+ "saved": "परिवर्तन सफलतापूर्वक सहेजे गए",+ "deleted": "आइटम सफलतापूर्वक हटा दिया गया",+ "confirm_delete": "क्या आप वाकई इस आइटम को हटाना चाहते हैं?",+ "no_results": "कोई परिणाम नहीं मिला",+ "file_too_large": "फ़ाइल बहुत बड़ी है",+ "invalid_file_type": "अमान्य फ़ाइल प्रकार",+ "fill_first_last_name": "कृपया नाम और उपनाम भरें",+ "email_cannot_be_empty": "ईमेल पता खाली नहीं हो सकता।",+ "enter_valid_email": "कृपया एक वैध ईमेल पता दर्ज करें।",+ "profile_updated_successfully": "प्रोफ़ाइल सफलतापूर्वक अपडेट की गई",+ "preferences_saved_successfully": "प्राथमिकताएं सफलतापूर्वक सहेजी गईं।",+ "fill_password_fields": "कृपया सभी पासवर्ड फ़ील्ड भरें",+ "passwords_do_not_match": "नए पासवर्ड मेल नहीं खाते",+ "password_min_length": "पासवर्ड कम से कम 8 अक्षर लंबा होना चाहिए",+ "type_delete_to_confirm": "पुष्टि के लिए कृपया DELETE टाइप करें",+ "account_deleted_successfully": "खाता सफलतापूर्वक हटा दिया गया",+ "account_cannot_delete_offline": "ऑफ़लाइन मोड में खाता हटाया नहीं जा सकता",+ "failed_delete_account": "खाता हटाने में विफल। कृपया फिर से कोशिश करें।",+ "user_updated_successfully": "उपयोगकर्ता सफलतापूर्वक अपडेट किया गया",+ "user_deleted_successfully": "उपयोगकर्ता सफलतापूर्वक हटा दिया गया",+ "user_id_missing": "उपयोगकर्ता ID गायब है",+ "failed_load_users": "उपयोगकर्ता लोड करने में विफल",+ "error_loading_users": "उपयोगकर्ता लोड करने में त्रुटि",+ "select_user_transfer_ownership": "स्वामित्व स्थानांतरित करने के लिए कृपया एक उपयोगकर्ता चुनें",+ "ownership_transferred_successfully": "स्वामित्व सफलतापूर्वक स्थानांतरित! पृष्ठ को रीफ्रेश कर रहा है...",+ "failed_load_site_settings": "साइट सेटिंग्स लोड करने में विफल। कृपया फिर से कोशिश करें।",+ "invalid_email_base_url": "अमान्य ईमेल बेस URL प्रारूप। यह http:// या https:// से शुरू होना चाहिए",+ "no_site_settings_to_save": "सहेजने के लिए कोई साइट सेटिंग्स नहीं।",+ "site_settings_saved_successfully": "साइट सेटिंग्स सफलतापूर्वक सहेजी गईं",+ "failed_save_site_settings": "साइट सेटिंग्स सहेजने में विफल",+ "oidc_settings_saved_successfully": "OIDC सेटिंग्स सफलतापूर्वक सहेजी गईं।",+ "failed_save_oidc_settings": "OIDC सेटिंग्स सहेजने में विफल।",+ "api_endpoint_accessible": "API एंडपॉइंट पहुंच योग्य है",+ "api_endpoint_not_accessible": "API एंडपॉइंट पहुंच योग्य नहीं है। स्थिति: ",+ "only_admins_send_notifications": "केवल व्यवस्थापक वारंटी सूचनाएं भेज सकते हैं",+ "notifications_triggered_successfully": "सूचनाएं सफलतापूर्वक ट्रिगर की गईं",+ "notification_settings_saved_successfully": "सूचना सेटिंग्स सफलतापूर्वक सहेजी गईं",+ "apprise_settings_saved_successfully": "Apprise सेटिंग्स सफलतापूर्वक सहेजी गईं",+ "test_notification_sent_successfully": "परीक्षण सूचना सफलतापूर्वक भेजी गई",+ "no_urls_to_validate": "सत्यापित करने के लिए कोई URL नहीं",+ "paperless_settings_saved_successfully": "Paperless-ngx सेटिंग्स सफलतापूर्वक सहेजी गईं!",+ "enter_valid_paperless_url": "कृपया एक वैध URL दर्ज करें (उदा: https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "कृपया पहले Paperless-ngx URL दर्ज करें",+ "paperless_connection_test_successful": "Paperless-ngx कनेक्शन टेस्ट सफल!",+ "paperless_connection_test_failed": "Paperless-ngx कनेक्शन टेस्ट विफल",+ "enter_api_token_test_connection": "कनेक्शन टेस्ट करने के लिए कृपया API टोकन दर्ज करें",+ "failed_load_user_data": "उपयोगकर्ता डेटा लोड करने में विफल। कृपया फिर से कोशिश करें।",+ "could_not_connect_user_data": "उपयोगकर्ता डेटा प्राप्त करने के लिए कनेक्ट नहीं हो सका। कैश्ड जानकारी प्रदर्शित कर रहा है।",+ "preferences_saved_locally_failed_sync": "प्राथमिकताएं स्थानीय रूप से सहेजी गईं, लेकिन सर्वर के साथ सिंक करने में विफल: ",+ "preferences_saved_locally": "प्राथमिकताएं स्थानीय रूप से सहेजी गईं।",+ "correct_errors_in_tab": "कृपया जारी रखने से पहले हाइलाइट किए गए टैब में त्रुटियों को सुधारें।",+ "please_fill_out_this_field": "कृपया इस फ़ील्ड को भरें।"+ },+ "languages": {+ "en": "अंग्रेज़ी",+ "fr": "फ़्रेंच",+ "es": "स्पेनिश",+ "de": "जर्मन",+ "it": "इतालवी",+ "cs": "चेक",+ "nl": "डच",+ "hi": "हिन्दी",+ "fa": "फ़ारसी",+ "ar": "अरबी",+ "ru": "रूसी",+ "uk": "यूक्रेनी",+ "zh_CN": "सरलीकृत चीनी",+ "zh_HK": "पारंपरिक चीनी",+ "ja": "जापानी",+ "pt": "पुर्तगाली",+ "ko": "कोरियाई"+ },+ "status": {+ "title": "सिस्टम स्थिति",+ "dashboard_title": "वारंटी स्थिति डैशबोर्ड",+ "global_dashboard_title": "वैश्विक वारंटी स्थिति डैशबोर्ड",+ "overview": "अवलोकन",+ "statistics": "आंकड़े",+ "total_warranties": "कुल वारंटी",+ "active_warranties": "सक्रिय वारंटी",+ "expiring_soon": "जल्द समाप्त होने वाली",+ "expired_warranties": "समाप्त हो चुकी वारंटी",+ "warranty_distribution": "वारंटी वितरण",+ "expiration_timeline": "समाप्ति समयरेखा",+ "recent_activity": "हाल की गतिविधि",+ "recent_expirations": "हाल ही में समाप्त या जल्द समाप्त होने वाली",+ "recent_expirations_empty": "कोई हाल ही में समाप्त या जल्द समाप्त होने वाली वारंटी नहीं।",+ "system_health": "सिस्टम स्वास्थ्य",+ "database_status": "डेटाबेस स्थिति",+ "connected": "जुड़ा हुआ",+ "version": "संस्करण",+ "uptime": "अपटाइम"+ },+ "about": {+ "title": "Warracker के बारे में",+ "description": "एक व्यापक वारंटी प्रबंधन प्रणाली जो आपको अपने सभी उत्पाद वारंटी को एक सुरक्षित, उपयोगकर्ता-अनुकूल मंच पर ट्रैक, व्यवस्थित और प्रबंधित करने में मदद करने के लिए डिज़ाइन की गई है।",+ "version": "संस्करण",+ "update_status": "अद्यतन स्थिति",+ "checking_updates": "अद्यतनों के लिए जाँच हो रही है...",+ "view_release_notes": "रिलीज नोट्स देखें",+ "project_info": "परियोजना की जानकारी",+ "project_description": "Warracker एक ओपन-सोर्स वारंटी प्रबंधन प्रणाली है जिसे आधुनिक वेब प्रौद्योगिकियों के साथ बनाया गया है। यह उत्पाद वारंटी का प्रबंधन करने, समाप्ति तिथियों को ट्रैक करने और महत्वपूर्ण दस्तावेजों को व्यवस्थित करने का एक सुरक्षित और सहज तरीका प्रदान करता है।",+ "github_repository": "GitHub रिपोजिटरी",+ "releases": "रिलीज",+ "community_support": "समुदाय और सहायता",+ "community_description": "समर्थन, चर्चाओं और अपडेट के लिए हमारे समुदाय में शामिल हों। बग की रिपोर्ट करें, सुविधाओं का अनुरोध करें, या अन्य उपयोगकर्ताओं और योगदानकर्ताओं से सहायता प्राप्त करें।",+ "discord_community": "डिस्कॉर्ड समुदाय",+ "report_issues": "समस्याओं की रिपोर्ट करें",+ "developer_info": "डेवलपर जानकारी",+ "developer_description": "Warracker को Sassanix द्वारा विकसित और बनाए रखा गया है। यह परियोजना ओपन-सोर्स है और समुदाय से योगदान का स्वागत करती है।",+ "sassanix": "Sassanix",+ "agpl_license": "AGPL-3.0 लाइसेंस",+ "support_project": "परियोजना का समर्थन करें",+ "support_description": "यदि आपको Warracker उपयोगी लगता है, तो इसके विकास का समर्थन करने पर विचार करें!",+ "new_version_available": "नया संस्करण {{version}} उपलब्ध है!",+ "latest_version": "आप नवीनतम संस्करण का उपयोग कर रहे हैं",+ "update_check_failed": "अद्यतनों के लिए जाँच करने में विफल",+ "features": "सुविधाएं",+ "feature_track": "उत्पाद वारंटी ट्रैक करें",+ "feature_notifications": "समाप्ति सूचनाएं प्राप्त करें",+ "feature_documents": "वारंटी दस्तावेज़ संग्रहीत करें",+ "feature_reports": "वारंटी रिपोर्ट तैयार करें",+ "feature_tags": "टैग के साथ व्यवस्थित करें",+ "feature_export": "वारंटी डेटा निर्यात करें",+ "support": "सहायता",+ "documentation": "दस्तावेज़ीकरण",+ "github": "GitHub",+ "license": "लाइसेंस",+ "copyright": "कॉपीराइट",+ "developed_by": "द्वारा विकसित"+ }+}\ No newline at end of filediff --git a/locales/it/translation.json b/locales/it/translation.jsonnew file mode 100644index 0000000..bd3f55d--- /dev/null+++ b/locales/it/translation.json@@ -0,0 +1,606 @@+{+ "app_title": "Warracker",+ "subtitle": "Gestore Garanzie",+ "nav": {+ "home": "Home",+ "status": "Stato",+ "settings": "Impostazioni",+ "about": "Informazioni"+ },+ "auth": {+ "login": "Accedi",+ "logout": "Esci",+ "register": "Registrati",+ "username": "Nome utente",+ "password": "Password",+ "email": "Email",+ "first_name": "Nome",+ "last_name": "Cognome",+ "forgot_password": "Password dimenticata?",+ "reset_password": "Reimposta password",+ "confirm_password": "Conferma password",+ "create_account_title": "Crea il tuo account",+ "first_name_optional": "Nome (opzionale)",+ "last_name_optional": "Cognome (opzionale)",+ "username_hint": "Il nome utente deve essere unico e verrà utilizzato per l'accesso.",+ "email_address": "Indirizzo email",+ "toggle_password": "Mostra/Nascondi password",+ "password_hint_simple": "La password deve contenere almeno 8 caratteri e includere lettere maiuscole, minuscole e numeri.",+ "password_requirements": "Requisiti della password:",+ "req_length": "Almeno 8 caratteri",+ "req_uppercase": "Almeno 1 lettera maiuscola",+ "req_lowercase": "Almeno 1 lettera minuscola",+ "req_number": "Almeno 1 numero",+ "req_special": "Almeno 1 carattere speciale",+ "create_account": "Crea account",+ "already_have_account": "Hai già un account?",+ "reset_password_title": "Warracker - Reimposta password",+ "reset_your_password": "Reimposta la tua password",+ "reset_password_info": "Inserisci il tuo indirizzo email qui sotto e ti invieremo un link per reimpostare la tua password.",+ "send_reset_link": "Invia link di ripristino",+ "back_to_login": "Torna al login",+ "set_new_password_title": "Warracker - Imposta nuova password",+ "set_new_password": "Imposta nuova password",+ "new_password": "Nuova password",+ "confirm_new_password": "Conferma nuova password",+ "invalid_or_expired_link": "Link non valido o scaduto",+ "invalid_link_info": "Il link per la reimpostazione della password che hai cliccato non è valido o è scaduto.",+ "request_new_reset_link": "Richiedi nuovo link di ripristino"+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية"+ },+ "status": {+ "title": "Stato del sistema",+ "dashboard_title": "Dashboard Stato Garanzie",+ "global_dashboard_title": "Dashboard Globale Stato Garanzie",+ "overview": "Panoramica",+ "statistics": "Statistiche",+ "total_warranties": "Garanzie totali",+ "active_warranties": "Garanzie attive",+ "expiring_soon": "In scadenza",+ "expired_warranties": "Garanzie scadute",+ "warranty_distribution": "Distribuzione garanzie",+ "expiration_timeline": "Timeline di scadenza",+ "recent_activity": "Attività recente",+ "recent_expirations": "Recentemente Scadute o In Scadenza",+ "recent_expirations_empty": "Nessuna garanzia recentemente scaduta o in scadenza.",+ "system_health": "Salute del sistema",+ "database_status": "Stato database",+ "connected": "Connesso",+ "version": "Versione",+ "uptime": "Tempo di attività"+ },+ "about": {+ "title": "Informazioni su Warracker",+ "description": "Un sistema completo di gestione garanzie progettato per aiutarti a tracciare, organizzare e gestire tutte le garanzie dei tuoi prodotti in un'unica piattaforma sicura e user-friendly.",+ "version": "Versione",+ "update_status": "Stato Aggiornamenti",+ "checking_updates": "Controllo aggiornamenti...",+ "view_release_notes": "Visualizza Note di Rilascio",+ "project_info": "Informazioni Progetto",+ "project_description": "Warracker è un sistema open-source di gestione garanzie costruito con tecnologie web moderne. Fornisce un modo sicuro e intuitivo per gestire garanzie prodotti, tracciare date di scadenza e organizzare documenti importanti.",+ "github_repository": "Repository GitHub",+ "releases": "Rilasci",+ "community_support": "Comunità e Supporto",+ "community_description": "Unisciti alla nostra comunità per supporto, discussioni e aggiornamenti. Segnala bug, richiedi funzionalità o ottieni aiuto da altri utenti e contributori.",+ "discord_community": "Comunità Discord",+ "report_issues": "Segnala Problemi",+ "developer_info": "Informazioni Sviluppatore",+ "developer_description": "Warracker è sviluppato e mantenuto da Sassanix. Il progetto è open-source e accoglie contributi dalla comunità.",+ "sassanix": "Sassanix",+ "agpl_license": "Licenza AGPL-3.0",+ "support_project": "Supporta il Progetto",+ "support_description": "Se trovi Warracker utile, considera di supportare il suo sviluppo!",+ "new_version_available": "Nuova versione {{version}} disponibile!",+ "latest_version": "Stai usando l'ultima versione",+ "update_check_failed": "Controllo aggiornamenti fallito",+ "features": "Caratteristiche",+ "feature_track": "Traccia garanzie prodotti",+ "feature_notifications": "Ricevi notifiche di scadenza",+ "feature_documents": "Archivia documenti garanzie",+ "feature_reports": "Genera report garanzie",+ "feature_tags": "Organizza con tag",+ "feature_export": "Esporta dati garanzie",+ "support": "Supporto",+ "documentation": "Documentazione",+ "github": "Repository GitHub",+ "license": "Licenza",+ "copyright": "Copyright",+ "developed_by": "Sviluppato da"+ },+ "settings": {+ "title": "Impostazioni",+ "general": "Generale",+ "profile": "Profilo",+ "preferences": "Preferenze",+ "language": "Lingua",+ "select_language": "Seleziona la tua lingua preferita",+ "dark_mode": "Modalità scura",+ "dark_mode_desc": "Passa tra tema chiaro e scuro",+ "default_view": "Vista predefinita",+ "default_view_desc": "Scegli la vista preferita per le garanzie",+ "grid_view": "Vista griglia",+ "list_view": "Vista elenco",+ "table_view": "Vista tabella",+ "currency_symbol": "Simbolo valuta",+ "currency_symbol_desc": "Scegli il simbolo per visualizzare i prezzi",+ "currency_position": "Posizione valuta",+ "currency_position_desc": "Scegli se il simbolo della valuta appare a sinistra o a destra dei numeri",+ "expiring_soon_days": "Giorni di scadenza prossima",+ "expiring_soon_days_desc": "Numero di giorni prima della scadenza della garanzia per contrassegnare come \"In scadenza\"",+ "date_format": "Formato data",+ "date_format_desc": "Scegli come vengono visualizzate le date",+ "notification_settings": "Impostazioni notifiche",+ "notification_channel": "Canale notifiche",+ "notification_channel_desc": "Scegli come ricevere le notifiche",+ "notification_disabled": "Disabilitato",+ "notification_email": "Email",+ "notification_apprise": "Apprise",+ "notification_both": "Entrambi",+ "email_settings": "Impostazioni email",+ "notification_frequency": "Frequenza notifiche",+ "notification_frequency_desc": "Quanto spesso ricevere notifiche email",+ "daily": "Giornaliero",+ "weekly": "Settimanale",+ "monthly": "Mensile",+ "notification_time": "Orario notifiche",+ "time_of_day_notification": "Orario del giorno per ricevere notifiche (in formato 24 ore)",+ "timezone": "Fuso orario",+ "timezone_desc": "Il tuo fuso orario locale per le notifiche",+ "apprise_settings": "Impostazioni Apprise",+ "apprise_frequency": "Frequenza notifiche Apprise",+ "apprise_frequency_desc": "Quanto spesso ricevere notifiche Apprise",+ "apprise_time": "Orario notifiche Apprise",+ "apprise_timezone": "Fuso orario Apprise",+ "apprise_timezone_desc": "Il tuo fuso orario locale per le notifiche Apprise",+ "paperless_settings": "Impostazioni Paperless-ngx",+ "paperless_desc": "Integrazione con Paperless-ngx per la gestione dei documenti",+ "enable_paperless": "Abilita Paperless-ngx",+ "paperless_url": "URL Paperless-ngx",+ "paperless_api_token": "Token API Paperless-ngx",+ "paperless_view_in_app": "Visualizza nell'app",+ "test_paperless": "Testa connessione",+ "apprise_notifications": "Notifiche Apprise",+ "apprise_desc": "Configura Apprise per le notifiche push",+ "apprise_notification_mode": "Modalità notifica",+ "apprise_warranty_scope": "Ambito garanzie",+ "apprise_url": "URL Apprise",+ "test_apprise": "Testa Apprise",+ "security": "Sicurezza",+ "change_password": "Cambia password",+ "change_password_desc": "Aggiorna la tua password",+ "current_password": "Password attuale",+ "new_password": "Nuova password",+ "confirm_password": "Conferma password",+ "admin_settings": "Impostazioni amministratore",+ "admin_actions": "Azioni amministratore",+ "refresh_data": "Aggiorna dati",+ "check_admin_status": "Controlla stato amministratore",+ "show_users_list": "Mostra elenco utenti",+ "test_api": "Testa API",+ "oidc_configuration": "Configurazione OIDC",+ "enable_oidc": "Abilita OIDC",+ "client_id": "ID cliente",+ "client_secret": "Segreto cliente",+ "issuer_url": "URL emittente",+ "scope": "Ambito",+ "save_preferences": "Salva preferenze",+ "account_settings": "Impostazioni Account",+ "current_user": "Modifica Profilo per:",+ "your_email": "La tua email:",+ "currency": "Valuta",+ "timezone": "Fuso Orario",+ "date_format": "Formato Data",+ "save_changes": "Salva Modifiche",+ "change": "Cambia",+ "update_password": "Aggiorna Password",+ "cancel": "Annulla",+ "danger_zone": "Zona Pericolosa",+ "delete_account": "Elimina Account",+ "delete_account_desc": "Elimina permanentemente il tuo account e tutti i dati",+ "send_notifications": "Invia Notifiche Garanzie",+ "check_scheduler": "Controlla Stato Scheduler",+ "site_settings": "Impostazioni Sito",+ "registration_enabled": "Registrazione Abilitata",+ "registration_enabled_desc": "Consenti ai nuovi utenti di registrarsi",+ "email_base_url": "URL Base Email",+ "global_view_enabled": "Vista Globale Abilitata",+ "global_view_admin_only": "Vista Globale Solo Admin",+ "save_site_settings": "Salva Impostazioni Sito",+ "oidc_provider_name": "Nome Provider OIDC",+ "save_oidc_settings": "Salva Impostazioni OIDC",+ "api_token": "Token API",+ "view_documents": "Visualizza Documenti in Warracker",+ "connection_testing": "Test Connessione",+ "enable_apprise": "Abilita Notifiche Apprise",+ "loading": "Caricamento...",+ "paperless_ngx_settings": "Impostazioni Paperless-ngx",+ "paperless_ngx_desc": "Configura integrazione con sistema di gestione documenti Paperless-ngx",+ "enable_paperless": "Abilita Integrazione Paperless-ngx",+ "paperless_url_desc": "URL base della tua istanza Paperless-ngx",+ "paperless_token": "Token API",+ "paperless_token_desc": "Il tuo token di autenticazione API Paperless-ngx",+ "paperless_view_in_app_desc": "Apri documenti nell'app invece che in una nuova scheda",+ "apprise_url_desc": "URL del tuo servizio di notifica Apprise",+ "apprise_mode": "Modalità Notifica",+ "apprise_mode_desc": "Scegli quando inviare notifiche Apprise",+ "apprise_warranty_scope_desc": "Scegli quali garanzie includere nelle notifiche",+ "all_warranties": "Tutte le Garanzie",+ "personal_warranties": "Solo Garanzie Personali",+ "save_notification_settings": "Salva Impostazioni Notifiche",+ "first_name": "Nome",+ "last_name": "Cognome",+ "email": "Email",+ "save_profile": "Salva profilo"+ },+ "warranties": {+ "title": "Garanzie",+ "title_global": "Garanzie di Tutti gli Utenti",+ "add_new": "Aggiungi Nuova Garanzia",+ "edit": "Modifica Garanzia",+ "delete": "Elimina Garanzia",+ "product_name": "Nome Prodotto",+ "purchase_date": "Data di Acquisto",+ "warranty_duration": "Durata Garanzia",+ "years": "Anni",+ "months": "Mesi",+ "days": "Giorni",+ "vendor": "Fornitore",+ "serial_numbers": "Numeri di Serie",+ "purchase_price": "Prezzo di Acquisto",+ "notes": "Note",+ "tags": "Tag",+ "status": "Stato",+ "expiration_date": "Data di Scadenza",+ "active": "Attiva",+ "expired": "Scaduta",+ "expiring_soon": "In Scadenza",+ "lifetime": "A vita",+ "no_warranties": "Nessuna garanzia ancora. Aggiungi la tua prima garanzia per iniziare.",+ "search_placeholder": "Cerca per nome, fornitore, note, tag o numero di serie...",+ "warranty_type": "Tipo di Garanzia",+ "other_document": "Altro Documento",+ "product": "Prodotto",+ "expiration": "Scadenza",+ "actions": "Azioni",+ "no_warranties_title": "Nessuna garanzia",+ "no_warranties_desc": "Non hai ancora garanzie. Aggiungi la tua prima garanzia!",+ "add_warranty": "Aggiungi garanzia",+ "warranty_entry_method": "Metodo inserimento garanzia",+ "warranty_duration_option": "Durata garanzia",+ "exact_expiration_option": "Data di scadenza esatta",+ "warranty_period": "Periodo di garanzia",+ "expiration_date_label": "Data di Scadenza",+ "currency": "Valuta",+ "add_tags": "Aggiungi Tag",+ "add_tags_desc": "I tag ti aiutano a organizzare e filtrare le tue garanzie",+ "save_changes": "Salva modifiche",+ "confirm_delete": "Conferma eliminazione",+ "manage_tags": "Gestisci tag",+ "add_tag": "Aggiungi tag",+ "unknown_status": "Stato sconosciuto",+ "expiring_soon_days": "In scadenza ({{days}} {{dayText}})",+ "days_remaining": "{{count}} giorni rimanenti",+ "day_one": "giorno",+ "day_other": "giorni",+ "month_one": "mese",+ "month_other": "mesi",+ "year_one": "anno",+ "year_other": "anni",+ "na": "N/D",+ "age": "Età",+ "warranty": "Garanzia",+ "warranty_ends": "Garanzia termina",+ "price": "Prezzo",+ "serial_number": "Numero di serie",+ "type": "Tipo",+ "owner": "Proprietario",+ "product_website": "Sito web prodotto",+ "notes": "Note",+ "existing_tags": "Tag Esistenti",+ "edit_warranty": "Modifica Garanzia",+ "warranty_type_standard": "Standard",+ "warranty_type_extended": "Estesa",+ "warranty_type_manufacturer": "Produttore",+ "warranty_type_third_party": "Terze Parti",+ "warranty_type_store": "Negozio",+ "warranty_type_premium": "Premium",+ "warranty_type_limited": "Limitata",+ "warranty_type_full": "Completa",+ "warranty_type_parts_only": "Solo Parti",+ "warranty_type_labor_only": "Solo Manodopera",+ "warranty_type_international": "Internazionale",+ "warranty_type_accidental_damage": "Danni Accidentali",+ "warranty_type_other": "Altro (Personalizzato)",+ "warranty_type_custom_placeholder": "Inserisci tipo di garanzia personalizzato",+ "notes_placeholder": "Note aggiuntive su questa garanzia...",+ "tags_help_text": "I tag ti aiutano a organizzare e filtrare le tue garanzie",+ "search_add_tag_placeholder": "Cerca o aggiungi nuovo tag...",+ "upload_new_file_replace": "Carica un nuovo file per sostituire",+ "current_other_document": "Documento attuale",+ "no_other_document_uploaded": "Nessun altro documento caricato",+ "other_document_will_be_deleted": "L'altro documento verrà eliminato al salvataggio",+ "files_optional": "File (ZIP/RAR, Opzionale)",+ "invoice_receipt_short": "Fattura",+ "product_manual_short": "Manuale",+ "files_short": "File",+ "summary": "Riepilogo",+ "product_url_optional": "URL Prodotto (Opzionale)",+ "enter_serial_number": "Inserisci numero di serie",+ "vendor_optional": "Fornitore (Opzionale)",+ "vendor_placeholder": "es. Amazon, Best Buy, ecc.",+ "lifetime_warranty": "Garanzia a Vita",+ "warranty_type_optional": "Tipo di Garanzia (Opzionale)",+ "select_warranty_type": "Seleziona tipo di garanzia...",+ "standard": "Standard",+ "extended": "Estesa",+ "manufacturer": "Produttore",+ "third_party": "Terze Parti",+ "store": "Negozio",+ "premium": "Premium",+ "limited": "Limitata",+ "full": "Completa",+ "parts_only": "Solo Parti",+ "labor_only": "Solo Manodopera",+ "international": "Internazionale",+ "accidental_damage": "Danni Accidentali",+ "other_custom": "Altro (Personalizzato)",+ "enter_custom_warranty_type": "Inserisci tipo di garanzia personalizzato",+ "purchase_price_optional": "Prezzo di Acquisto (Opzionale)",+ "notes_optional": "Note (Opzionali)",+ "add_any_notes": "Aggiungi note su questa garanzia...",+ "product_photo_optional": "Foto Prodotto (Opzionale)",+ "choose_photo": "Scegli Foto",+ "invoice_receipt": "Fattura/Ricevuta",+ "store_locally": "Memorizza Localmente",+ "store_in_paperless": "Memorizza in Paperless-ngx",+ "choose_file": "Scegli File",+ "browse_paperless": "Sfoglia Documenti Paperless-ngx",+ "product_manual_optional": "Manuale Prodotto (Opzionale)",+ "files_zip_rar_optional": "File (ZIP/RAR, Opzionale)",+ "search_or_add_tag": "Cerca o aggiungi nuovo tag...",+ "product_information": "Informazioni Prodotto",+ "product_url": "URL Prodotto",+ "warranty_details": "Dettagli Garanzia",+ "product_photo": "Foto Prodotto",+ "product_manual": "Manuale Prodotto",+ "files": "File",+ "documents": "Documenti",+ "selected_tags": "Tag Selezionati",+ "previous_tab": "Precedente",+ "next_tab": "Successivo",+ "delete_photo": "Elimina Foto",+ "delete_invoice": "Elimina Fattura",+ "delete_manual": "Elimina Manuale",+ "delete_files": "Elimina File",+ "current_photo": "Foto attuale:",+ "current_invoice": "Fattura attuale:",+ "current_manual": "Manuale attuale:",+ "current_document": "Documento attuale:",+ "upload_new_photo_replace": "(Carica una nuova foto per sostituire)",+ "no_photo_uploaded": "Nessuna foto caricata",+ "no_invoice_uploaded": "Nessuna fattura caricata",+ "no_manual_uploaded": "Nessun manuale caricato",+ "no_document_uploaded": "Nessun altro documento caricato",+ "photo_will_be_deleted": "La foto verrà eliminata al salvataggio",+ "invoice_will_be_deleted": "La fattura verrà eliminata al salvataggio",+ "manual_will_be_deleted": "Il manuale verrà eliminato al salvataggio",+ "document_will_be_deleted": "L'altro documento verrà eliminato al salvataggio",+ "confirm_delete_message": "Sei sicuro di voler eliminare questa garanzia? Questa azione non può essere annullata.",+ "new_tag_name": "Nuovo nome tag",+ "existing_tags": "Tag Esistenti",+ "edit_warranty": "Modifica Garanzia",+ "warranty_type_standard": "Standard",+ "warranty_type_extended": "Estesa",+ "warranty_type_manufacturer": "Produttore",+ "warranty_type_third_party": "Terze Parti",+ "warranty_type_store": "Negozio",+ "warranty_type_premium": "Premium",+ "warranty_type_limited": "Limitata",+ "warranty_type_full": "Completa",+ "parts_only": "Solo Parti",+ "labor_only": "Solo Manodopera",+ "international": "Internazionale",+ "accidental_damage": "Danni Accidentali",+ "warranty_type_other": "Altro (Personalizzato)",+ "warranty_type_custom_placeholder": "Inserisci tipo di garanzia personalizzato",+ "notes_placeholder": "Note aggiuntive su questa garanzia...",+ "tags_help_text": "I tag ti aiutano a organizzare e filtrare le tue garanzie",+ "search_add_tag_placeholder": "Cerca o aggiungi nuovo tag...",+ "upload_new_file_replace": "Carica un nuovo file per sostituire",+ "current_other_document": "Documento attuale",+ "no_other_document_uploaded": "Nessun altro documento caricato",+ "other_document_will_be_deleted": "L'altro documento verrà eliminato al salvataggio",+ "files_optional": "File (ZIP/RAR, Opzionale)",+ "invoice_receipt_short": "Fattura",+ "product_manual_short": "Manuale",+ "files_short": "File",+ "enter_serial_number": "Inserisci numero di serie",+ "add_serial_number": "Aggiungi un altro numero di serie",+ "years_placeholder": "Anni",+ "months_placeholder": "Mesi",+ "days_placeholder": "Giorni",+ "add_any_notes_placeholder": "Aggiungi note su questa garanzia..."+ },+ "actions": {+ "save": "Salva",+ "cancel": "Annulla",+ "delete": "Elimina",+ "edit": "Modifica",+ "export": "Esporta",+ "import": "Importa",+ "refresh": "Aggiorna",+ "search": "Cerca",+ "clear": "Cancella",+ "upload": "Carica",+ "download": "Scarica",+ "manage_tags": "Gestisci Tag",+ "close": "Chiudi",+ "save_changes": "Salva Modifiche"+ },+ "filters": {+ "all_status": "Tutti gli Stati",+ "all_tags": "Tutti i Tag",+ "all_vendors": "Tutti i Fornitori",+ "all_types": "Tutti i Tipi",+ "sort_by": "Ordina Per",+ "sort_expiration": "Data di Scadenza",+ "sort_purchase": "Data di Acquisto",+ "sort_age": "Età",+ "sort_name": "Nome Prodotto",+ "sort_vendor": "Fornitore",+ "sort_warranty_type": "Tipo Garanzia",+ "status": "Stato",+ "tags": "Tag",+ "vendor": "Fornitore",+ "warranty_type": "Tipo garanzia",+ "view": "Vista",+ "scope": "Ambito"+ },+ "messages": {+ "success": "Successo",+ "error": "Errore",+ "warning": "Avviso",+ "loading": "Caricamento...",+ "saved": "Modifiche salvate con successo",+ "deleted": "Elemento eliminato con successo",+ "confirm_delete": "Sei sicuro di voler eliminare questo elemento?",+ "no_results": "Nessun risultato trovato",+ "file_too_large": "File troppo grande",+ "invalid_file_type": "Tipo di file non valido",+ "fill_first_last_name": "Si prega di compilare Nome e Cognome",+ "email_cannot_be_empty": "L'indirizzo email non può essere vuoto.",+ "enter_valid_email": "Si prega di inserire un indirizzo email valido.",+ "profile_updated_successfully": "Profilo aggiornato con successo",+ "preferences_saved_successfully": "Preferenze salvate con successo.",+ "fill_password_fields": "Si prega di compilare tutti i campi password",+ "passwords_do_not_match": "Le nuove password non corrispondono",+ "password_min_length": "La password deve essere lunga almeno 8 caratteri",+ "type_delete_to_confirm": "Si prega di digitare DELETE per confermare",+ "account_deleted_successfully": "Account eliminato con successo",+ "account_cannot_delete_offline": "L'account non può essere eliminato in modalità offline",+ "failed_delete_account": "Impossibile eliminare l'account. Si prega di riprovare.",+ "user_updated_successfully": "Utente aggiornato con successo",+ "user_deleted_successfully": "Utente eliminato con successo",+ "user_id_missing": "ID utente mancante",+ "failed_load_users": "Impossibile caricare gli utenti",+ "error_loading_users": "Errore nel caricamento degli utenti",+ "select_user_transfer_ownership": "Si prega di selezionare un utente a cui trasferire la proprietà",+ "ownership_transferred_successfully": "Proprietà trasferita con successo! Aggiornamento della pagina...",+ "failed_load_site_settings": "Impossibile caricare le impostazioni del sito. Si prega di riprovare.",+ "invalid_email_base_url": "Formato URL base email non valido. Dovrebbe iniziare con http:// o https://",+ "no_site_settings_to_save": "Nessuna impostazione del sito da salvare.",+ "site_settings_saved_successfully": "Impostazioni del sito salvate con successo",+ "failed_save_site_settings": "Impossibile salvare le impostazioni del sito",+ "oidc_settings_saved_successfully": "Impostazioni OIDC salvate con successo.",+ "failed_save_oidc_settings": "Impossibile salvare le impostazioni OIDC.",+ "api_endpoint_accessible": "L'endpoint API è accessibile",+ "api_endpoint_not_accessible": "L'endpoint API non è accessibile. Stato: ",+ "only_admins_send_notifications": "Solo gli amministratori possono inviare notifiche di garanzia",+ "notifications_triggered_successfully": "Notifiche attivate con successo",+ "notification_settings_saved_successfully": "Impostazioni di notifica salvate con successo",+ "apprise_settings_saved_successfully": "Impostazioni Apprise salvate con successo",+ "test_notification_sent_successfully": "Notifica di test inviata con successo",+ "no_urls_to_validate": "Nessun URL da validare",+ "paperless_settings_saved_successfully": "Impostazioni Paperless-ngx salvate con successo!",+ "enter_valid_paperless_url": "Si prega di inserire un URL valido (es. https://paperless.tuodominio.com)",+ "enter_paperless_url_first": "Si prega di inserire prima un URL Paperless-ngx",+ "paperless_connection_test_successful": "Test di connessione Paperless-ngx riuscito!",+ "paperless_connection_test_failed": "Test di connessione Paperless-ngx fallito",+ "enter_api_token_test_connection": "Si prega di inserire un token API per testare la connessione",+ "failed_load_user_data": "Impossibile caricare i dati utente. Si prega di riprovare.",+ "could_not_connect_user_data": "Impossibile connettersi per recuperare i dati utente. Visualizzazione delle informazioni in cache.",+ "preferences_saved_locally_failed_sync": "Preferenze salvate localmente, ma impossibile sincronizzare con il server: ",+ "preferences_saved_locally": "Preferenze salvate localmente.",+ "correct_errors_in_tab": "Si prega di correggere gli errori nella scheda evidenziata prima di continuare.",+ "please_fill_out_this_field": "Si prega di compilare questo campo."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "Stato del Sistema",+ "dashboard_title": "Dashboard Stato Garanzie",+ "global_dashboard_title": "Dashboard Globale Stato Garanzie",+ "overview": "Panoramica",+ "statistics": "Statistiche",+ "total_warranties": "Garanzie Totali",+ "active_warranties": "Garanzie Attive",+ "expiring_soon": "In Scadenza",+ "expired_warranties": "Garanzie Scadute",+ "warranty_distribution": "Distribuzione Garanzie",+ "expiration_timeline": "Timeline Scadenze",+ "recent_activity": "Attività Recente",+ "recent_expirations": "Recentemente Scadute o In Scadenza",+ "recent_expirations_empty": "Nessuna garanzia recentemente scaduta o in scadenza.",+ "system_health": "Salute del Sistema",+ "database_status": "Stato Database",+ "connected": "Connesso",+ "version": "Versione",+ "uptime": "Tempo di Attività"+ },+ "about": {+ "title": "Informazioni su Warracker",+ "description": "Un sistema completo di gestione garanzie progettato per aiutarti a tracciare, organizzare e gestire tutte le garanzie dei tuoi prodotti in un'unica piattaforma sicura e facile da usare.",+ "version": "Versione",+ "update_status": "Stato Aggiornamenti",+ "checking_updates": "Controllo aggiornamenti...",+ "view_release_notes": "Visualizza Note di Rilascio",+ "project_info": "Informazioni Progetto",+ "project_description": "Warracker è un sistema di gestione garanzie open-source costruito con tecnologie web moderne. Fornisce un modo sicuro e intuitivo per gestire le garanzie dei prodotti, tracciare le date di scadenza e organizzare documenti importanti.",+ "github_repository": "Repository GitHub",+ "releases": "Rilasci",+ "community_support": "Comunità e Supporto",+ "community_description": "Unisciti alla nostra comunità per supporto, discussioni e aggiornamenti. Segnala bug, richiedi funzionalità o ottieni aiuto da altri utenti e contributori.",+ "discord_community": "Comunità Discord",+ "report_issues": "Segnala Problemi",+ "developer_info": "Informazioni Sviluppatore",+ "developer_description": "Warracker è sviluppato e mantenuto da Sassanix. Il progetto è open-source e accoglie contributi dalla comunità.",+ "sassanix": "Sassanix",+ "agpl_license": "Licenza AGPL-3.0",+ "support_project": "Supporta il Progetto",+ "support_description": "Se trovi Warracker utile, considera di supportare il suo sviluppo!",+ "new_version_available": "Nuova versione {{version}} disponibile!",+ "latest_version": "Stai usando l'ultima versione",+ "update_check_failed": "Controllo aggiornamenti fallito",+ "features": "Caratteristiche",+ "feature_track": "Traccia garanzie prodotti",+ "feature_notifications": "Ricevi notifiche di scadenza",+ "feature_documents": "Archivia documenti garanzia",+ "feature_reports": "Genera report garanzie",+ "feature_tags": "Organizza con tag",+ "feature_export": "Esporta dati garanzie",+ "support": "Supporto",+ "documentation": "Documentazione",+ "github": "Repository GitHub",+ "license": "Licenza",+ "copyright": "Copyright",+ "developed_by": "Sviluppato da"+ }+}diff --git a/locales/ja/translation.json b/locales/ja/translation.jsonnew file mode 100644index 0000000..abb07eb--- /dev/null+++ b/locales/ja/translation.json@@ -0,0 +1,551 @@+{+ "app_title": "Warracker",+ "subtitle": "保証トラッカー",+ "nav": {+ "home": "ホーム",+ "status": "ステータス",+ "settings": "設定",+ "about": "概要"+ },+ "auth": {+ "login": "ログイン",+ "logout": "ログアウト",+ "register": "登録",+ "username": "ユーザー名",+ "password": "パスワード",+ "email": "Eメール",+ "first_name": "名",+ "last_name": "姓",+ "forgot_password": "パスワードをお忘れですか?",+ "reset_password": "パスワードをリセット",+ "confirm_password": "パスワードを確認",+ "create_account_title": "アカウントを作成",+ "first_name_optional": "名(任意)",+ "last_name_optional": "姓(任意)",+ "username_hint": "ユーザー名は一意である必要があり、ログインに使用されます。",+ "email_address": "メールアドレス",+ "toggle_password": "パスワードの表示/非表示",+ "password_hint_simple": "パスワードは8文字以上で、大文字、小文字、数字を含む必要があります。",+ "password_requirements": "パスワードの要件:",+ "req_length": "8文字以上",+ "req_uppercase": "大文字1文字以上",+ "req_lowercase": "小文字1文字以上",+ "req_number": "数字1文字以上",+ "req_special": "特殊文字1文字以上",+ "create_account": "アカウントを作成",+ "already_have_account": "すでにアカウントをお持ちですか?",+ "reset_password_title": "Warracker - パスワードをリセット",+ "reset_your_password": "パスワードをリセット",+ "reset_password_info": "以下にメールアドレスを入力してください。パスワードをリセットするためのリンクを送信します。",+ "send_reset_link": "リセットリンクを送信",+ "back_to_login": "ログインに戻る",+ "set_new_password_title": "Warracker - 新しいパスワードを設定",+ "set_new_password": "新しいパスワードを設定",+ "new_password": "新しいパスワード",+ "confirm_new_password": "新しいパスワードを確認",+ "invalid_or_expired_link": "無効または期限切れのリンク",+ "invalid_link_info": "クリックしたパスワードリセットリンクは無効または期限切れです。",+ "request_new_reset_link": "新しいリセットリンクをリクエスト"+ },+ "warranties": {+ "title": "あなたの保証",+ "title_global": "すべてのユーザーの保証",+ "add_new": "新しい保証を追加",+ "edit": "保証を編集",+ "delete": "保証を削除",+ "product_name": "製品名",+ "purchase_date": "購入日",+ "warranty_duration": "保証期間",+ "years": "年",+ "months": "月",+ "days": "日",+ "vendor": "ベンダー",+ "serial_numbers": "シリアル番号",+ "purchase_price": "購入価格",+ "notes": "メモ",+ "tags": "タグ",+ "status": "ステータス",+ "expiration_date": "有効期限",+ "active": "有効",+ "expired": "期限切れ",+ "expiring_soon": "まもなく期限切れ",+ "lifetime": "生涯",+ "no_warranties": "まだ保証はありません。最初の保証を追加して始めましょう。",+ "search_placeholder": "名前、ベンダー、メモ、タグ、またはシリアル番号で検索...",+ "warranty_type": "保証タイプ",+ "other_document": "その他のドキュメント",+ "product": "製品",+ "expiration": "有効期限",+ "actions": "アクション",+ "no_warranties_title": "まだ保証はありません",+ "no_warranties_desc": "最初の保証を追加して始めましょう",+ "add_warranty": "保証を追加",+ "warranty_entry_method": "保証入力方法",+ "warranty_duration_option": "保証期間",+ "exact_expiration_option": "正確な有効期限",+ "warranty_period": "保証期間",+ "expiration_date_label": "有効期限",+ "currency": "通貨",+ "add_tags": "タグを追加",+ "add_tags_desc": "タグは保証の整理とフィルタリングに役立ちます",+ "save_changes": "変更を保存",+ "confirm_delete": "削除の確認",+ "manage_tags": "タグを管理",+ "add_tag": "タグを追加",+ "unknown_status": "不明なステータス",+ "expiring_soon_days": "まもなく期限切れ({{days}} {{dayText}})",+ "days_remaining": "残り {{days}} {{dayText}}",+ "day_one": "日",+ "day_other": "日",+ "month_one": "月",+ "month_other": "月",+ "year_one": "年",+ "year_other": "年",+ "na": "N/A",+ "age": "経過期間",+ "warranty": "保証",+ "warranty_ends": "保証終了日",+ "price": "価格",+ "serial_number": "シリアル番号",+ "vendor": "ベンダー",+ "type": "タイプ",+ "owner": "所有者",+ "product_website": "製品ウェブサイト",+ "documents": "ドキュメント",+ "summary": "概要",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "年",+ "months_placeholder": "月",+ "days_placeholder": "日",+ "add_any_notes_placeholder": "この保証に関するメモを追加...",+ "product_url_optional": "製品URL(オプション)",+ "enter_serial_number": "シリアル番号を入力",+ "vendor_optional": "ベンダー(オプション)",+ "vendor_placeholder": "例:Amazon、Best Buyなど",+ "lifetime_warranty": "生涯保証",+ "warranty_type_optional": "保証タイプ(オプション)",+ "select_warranty_type": "保証タイプを選択...",+ "standard": "標準",+ "extended": "延長",+ "manufacturer": "メーカー",+ "third_party": "サードパーティ",+ "store": "店舗",+ "premium": "プレミアム",+ "limited": "限定",+ "full": "完全",+ "parts_only": "部品のみ",+ "labor_only": "作業のみ",+ "international": "国際",+ "accidental_damage": "偶発的損害",+ "other_custom": "その他(カスタム)",+ "enter_custom_warranty_type": "カスタム保証タイプを入力",+ "purchase_price_optional": "購入価格(オプション)",+ "notes_optional": "メモ(オプション)",+ "add_any_notes": "この保証に関するメモを追加...",+ "product_photo_optional": "製品写真(オプション)",+ "choose_photo": "写真を選択",+ "invoice_receipt": "請求書/領収書",+ "store_locally": "ローカルに保存",+ "store_in_paperless": "Paperless-ngxに保存",+ "choose_file": "ファイルを選択",+ "browse_paperless": "Paperless-ngxドキュメントを閲覧",+ "product_manual_optional": "製品マニュアル(オプション)",+ "files_zip_rar_optional": "ファイル(ZIP/RAR、オプション)",+ "search_or_add_new_tag": "新しいタグを検索または追加...",+ "product_information": "製品情報",+ "product_url": "製品URL",+ "warranty_details": "保証の詳細",+ "product_photo": "製品写真",+ "product_manual": "製品マニュアル",+ "files": "ファイル",+ "selected_tags": "選択されたタグ",+ "previous_tab": "前へ",+ "next_tab": "次へ",+ "delete_photo": "写真を削除",+ "delete_invoice": "請求書を削除",+ "delete_manual": "マニュアルを削除",+ "delete_files": "ファイルを削除",+ "current_photo": "現在の写真:",+ "current_invoice": "現在の請求書:",+ "current_manual": "現在のマニュアル:",+ "current_document": "現在のドキュメント:",+ "upload_new_photo_replace": "(新しい写真をアップロードして置き換える)",+ "no_photo_uploaded": "写真がアップロードされていません",+ "no_invoice_uploaded": "請求書がアップロードされていません",+ "no_manual_uploaded": "マニュアルがアップロードされていません",+ "no_document_uploaded": "その他のドキュメントがアップロードされていません",+ "photo_will_be_deleted": "保存時に写真は削除されます",+ "invoice_will_be_deleted": "保存時に請求書は削除されます",+ "manual_will_be_deleted": "保存時にマニュアルは削除されます",+ "document_will_be_deleted": "保存時にその他のドキュメントは削除されます",+ "confirm_delete_message": "この保証を削除してもよろしいですか?この操作は元に戻せません。",+ "new_tag_name": "新しいタグ名",+ "existing_tags": "既存のタグ",+ "edit_warranty": "保証を編集",+ "warranty_type_standard": "標準",+ "warranty_type_extended": "延長",+ "warranty_type_manufacturer": "メーカー",+ "warranty_type_third_party": "サードパーティ",+ "warranty_type_store": "店舗",+ "warranty_type_premium": "プレミアム",+ "warranty_type_limited": "限定",+ "warranty_type_full": "完全",+ "warranty_type_parts_only": "部品のみ",+ "warranty_type_labor_only": "作業のみ",+ "warranty_type_international": "国際",+ "warranty_type_accidental_damage": "偶発的損害",+ "warranty_type_other": "その他(カスタム)",+ "warranty_type_custom_placeholder": "カスタム保証タイプを入力",+ "notes_placeholder": "この保証に関する追加のメモ...",+ "tags_help_text": "タグは保証の整理とフィルタリングに役立ちます",+ "search_add_tag_placeholder": "新しいタグを検索または追加...",+ "upload_new_file_replace": "新しいファイルをアップロードして置き換える",+ "current_other_document": "現在のその他のドキュメント",+ "no_other_document_uploaded": "その他のドキュメントがアップロードされていません",+ "other_document_will_be_deleted": "保存時にその他のドキュメントは削除されます",+ "files_optional": "ファイル(ZIP/RAR、オプション)",+ "invoice_receipt_short": "請求書",+ "product_manual_short": "マニュアル",+ "files_short": "ファイル",+ "enter_serial_number": "シリアル番号を入力",+ "add_serial_number": "別のシリアル番号を追加"+ },+ "settings": {+ "title": "設定",+ "account_settings": "アカウント設定",+ "preferences": "環境設定",+ "language": "言語",+ "select_language": "言語を選択",+ "dark_mode": "ダークモード",+ "dark_mode_desc": "ライトテーマとダークテーマを切り替える",+ "currency": "通貨",+ "timezone": "タイムゾーン",+ "date_format": "日付形式",+ "expiring_soon_days": "まもなく期限切れの日数",+ "save_changes": "変更を保存",+ "current_user": "プロファイル編集中:",+ "your_email": "あなたのEメール:",+ "first_name": "名",+ "last_name": "姓",+ "email": "Eメール",+ "save_profile": "変更を保存",+ "default_view": "デフォルトビュー",+ "default_view_desc": "保証の優先ビューを選択",+ "grid_view": "グリッドビュー",+ "list_view": "リストビュー",+ "table_view": "テーブルビュー",+ "currency_symbol": "通貨記号",+ "currency_symbol_desc": "価格に表示する記号を選択",+ "currency_position": "通貨の位置",+ "currency_position_desc": "通貨記号を数字の左または右に表示するかを選択",+ "expiring_soon_days_desc": "警告を表示する有効期限までの日数",+ "date_format_desc": "日付の表示方法を選択",+ "save_preferences": "環境設定を保存",+ "notification_settings": "通知設定",+ "notification_channel": "通知チャネル",+ "notification_channel_desc": "通知の受信方法を選択",+ "notification_disabled": "無効",+ "notification_email": "Eメール",+ "notification_apprise": "Apprise",+ "notification_both": "両方",+ "email_settings": "Eメール設定",+ "notification_frequency": "通知頻度",+ "notification_frequency_desc": "Eメール通知の受信頻度",+ "daily": "毎日",+ "weekly": "毎週",+ "monthly": "毎月",+ "notification_time": "通知時間",+ "timezone_desc": "通知用のローカルタイムゾーン",+ "apprise_settings": "Apprise設定",+ "apprise_frequency": "Apprise通知頻度",+ "apprise_frequency_desc": "Apprise通知の受信頻度",+ "apprise_time": "Apprise通知時間",+ "apprise_timezone": "Appriseタイムゾーン",+ "apprise_timezone_desc": "Apprise通知用のローカルタイムゾーン",+ "save_notification_settings": "通知設定を保存",+ "security": "セキュリティ",+ "change_password": "パスワードを変更",+ "change_password_desc": "アカウントのパスワードを更新",+ "change": "変更",+ "current_password": "現在のパスワード",+ "new_password": "新しいパスワード",+ "confirm_password": "新しいパスワードを確認",+ "update_password": "パスワードを更新",+ "cancel": "キャンセル",+ "danger_zone": "危険区域",+ "delete_account": "アカウントを削除",+ "delete_account_desc": "アカウントとすべてのデータを永久に削除",+ "admin_settings": "管理者設定",+ "admin_actions": "管理者アクション",+ "refresh_data": "データを更新",+ "check_admin_status": "管理者ステータスを確認",+ "show_users_list": "ユーザーリストを表示",+ "test_api": "APIをテスト",+ "send_notifications": "保証通知を送信",+ "check_scheduler": "スケジューラーステータスを確認",+ "site_settings": "サイト設定",+ "registration_enabled": "登録を有効にする",+ "registration_enabled_desc": "新規ユーザーの登録を許可",+ "email_base_url": "EメールベースURL",+ "global_view_enabled": "グローバルビューを有効にする",+ "global_view_admin_only": "グローバルビューは管理者のみ",+ "save_site_settings": "サイト設定を保存",+ "oidc_configuration": "OIDC SSO設定",+ "enable_oidc": "OIDC SSOを有効にする",+ "oidc_provider_name": "OIDCプロバイダー名",+ "client_id": "クライアントID",+ "client_secret": "クライアントシークレット",+ "issuer_url": "発行者URL",+ "scope": "スコープ",+ "save_oidc_settings": "OIDC設定を保存",+ "oidc_sso_desc": "ユーザーがOIDCプロバイダー経由でログインできるようにする。",+ "oidc_only_mode": "OIDCのみのログインモード",+ "oidc_only_mode_desc": "従来のユーザー名/パスワードログインフォームを非表示にし、OIDCログインのみを許可します。<strong>警告:</strong>このオプションを有効にする前に、OIDCが正しく設定されていることを確認してください。",+ "oidc_provider_name_desc": "OIDCクライアントの内部名(例:「oidc」)。",+ "client_secret_desc": "機密情報。データベースに保存されます。変更を有効にするにはアプリケーションの再起動が必要です。",+ "issuer_url_desc": "OIDCプロバイダーのベースURL。",+ "scope_desc": "スペースで区切られたOIDCスコープ。",+ "oidc_restart_message": "OIDC設定を完全に有効にするには、アプリケーションの再起動が必要です。",+ "api_token": "APIトークン",+ "view_documents": "Warrackerでドキュメントを表示",+ "connection_testing": "接続テスト",+ "apprise_notifications": "Apprise通知",+ "enable_apprise": "Apprise通知を有効にする",+ "loading": "読み込み中...",+ "time_of_day_notification": "通知を受信する時間(24時間形式)",+ "paperless_ngx_settings": "Paperless-ngx設定",+ "paperless_ngx_about_title": "Paperless-ngx統合について:",+ "paperless_ngx_about_desc": "このオプション機能により、保証ドキュメントをローカルではなく、自己ホスト型のPaperless-ngxインスタンスに保存できます。有効にすると、ユーザーは各ドキュメントをローカルまたはPaperless-ngxに保存するかを選択できます。",+ "paperless_ngx_desc": "Paperless-ngxドキュメント管理システムとの統合を設定",+ "enable_paperless": "Paperless-ngx統合を有効にする",+ "paperless_url": "Paperless-ngx URL",+ "paperless_url_desc": "Paperless-ngxインスタンスのベースURL",+ "paperless_token": "APIトークン",+ "paperless_token_desc": "Paperless-ngx API認証トークン",+ "paperless_token_desc_generate": "Paperless-ngxインスタンスからAPIトークンを生成します(設定→APIトークン)。",+ "paperless_view_in_app": "アプリ内でドキュメントを表示",+ "paperless_view_in_app_desc": "新しいタブではなくアプリ内でドキュメントを開く",+ "debug_config": "デバッグ設定",+ "test_upload": "アップロードをテスト",+ "save_paperless_settings": "Paperless-ngx設定を保存",+ "apprise_desc": "複数のサービスへの高度な通知配信のためにAppriseを設定",+ "apprise_desc_system_wide": "システム全体でApprise通知を有効または無効にする",+ "apprise_not_available_title": "Appriseは利用できません:",+ "apprise_not_available_desc": "Apprise通知ライブラリがインストールされていないか、利用できません。通知機能は無効になっています。",+ "apprise_url": "Apprise URL",+ "apprise_url_desc": "Apprise通知サービスURL",+ "apprise_mode": "通知モード",+ "apprise_mode_desc": "Apprise通知を送信するタイミングを選択",+ "apprise_mode_global": "グローバルサマリー",+ "apprise_mode_individual": "ユーザーごと",+ "test_paperless": "Paperless接続をテスト",+ "test_apprise": "Apprise接続をテスト",+ "apprise_warranty_scope": "保証範囲",+ "apprise_warranty_scope_desc": "通知に含める保証を選択",+ "all_warranties": "すべての保証",+ "personal_warranties": "個人保証のみ",+ "all_users_warranties": "すべてのユーザーの保証",+ "admin_warranties_only": "管理者保証のみ",+ "apprise_notification_days": "通知日数",+ "apprise_notification_days_desc": "有効期限の何日前に通知を送信するか(カンマ区切り、例:「7,30」は7日前と30日前)",+ "apprise_check_frequency": "チェック頻度",+ "apprise_check_frequency_desc": "システムが期限切れの保証をチェックする頻度(グローバル設定)",+ "apprise_title_prefix": "メッセージタイトルのプレフィックス",+ "apprise_title_prefix_desc": "通知タイトルに追加されるプレフィックス(例:「[Warracker]」は「[Warracker] 保証期限切れ間近」になります)",+ "apprise_test_url": "テストURL(オプション)",+ "apprise_test_url_desc": "オプション:テスト通知のみを送信するためのURL(メイン設定には保存されません)",+ "save_apprise_settings": "Apprise設定を保存",+ "validate_urls": "URLを検証",+ "send_expiration_notifications_now": "有効期限通知を今すぐ送信",+ "apprise_current_status": "現在のステータス",+ "apprise_urls_configured": "設定されたURL:",+ "apprise_supported_services": "サポートされているサービス",+ "apprise_supported_services_desc": "Appriseは、Discord、Slack、Telegram、Eメール(Gmail、Outlook)、Webhooks、Microsoft Teams、Matrix、Pushover、Ntfy、Gotifyなど、80以上の通知サービスをサポートしています。",+ "view_full_list_of_supported_services": "サポートされているサービスの完全なリストを表示",+ "ownership_management": "所有権管理",+ "transfer_ownership": "所有権を譲渡",+ "warning_title": "警告:",+ "transfer_ownership_warning": "アプリケーションの所有権を別の管理者ユーザーに譲渡します。この操作は元に戻せません。",+ "transfer_ownership_desc": "所有権が譲渡されると、あなたは通常の管理者になり、新しい所有者がアプリケーションの最終的な制御権を持ちます。",+ "select_new_owner": "新しい所有者を選択(管理者である必要があります)",+ "select_admin_user": "管理者ユーザーを選択...",+ "transfer_ownership_button": "所有権を譲渡",+ "transfer_ownership_irreversible": "この操作は元に戻せません。",+ "transfer_ownership_confirmation": "アプリケーションの所有権を譲渡しようとしています",+ "after_this_transfer": "この譲渡後:",+ "transfer_ownership_consequence_1": "あなたは通常の管理者になります",+ "transfer_ownership_consequence_2": "新しい所有者がアプリケーションの最終的な制御権を持ちます",+ "transfer_ownership_consequence_3": "新しい所有者のみが再度所有権を譲渡できます",+ "transfer_ownership_type_to_confirm": "確認するには、以下のフィールドに「TRANSFER」と入力してください:"+ },+ "actions": {+ "save": "保存",+ "cancel": "キャンセル",+ "delete": "削除",+ "edit": "編集",+ "export": "エクスポート",+ "import": "インポート",+ "refresh": "更新",+ "search": "検索",+ "clear": "クリア",+ "upload": "アップロード",+ "download": "ダウンロード",+ "manage_tags": "タグを管理",+ "close": "閉じる",+ "save_changes": "変更を保存"+ },+ "filters": {+ "all_status": "すべてのステータス",+ "all_tags": "すべてのタグ",+ "all_vendors": "すべてのベンダー",+ "all_types": "すべてのタイプ",+ "sort_by": "並べ替え",+ "sort_expiration": "有効期限",+ "sort_purchase": "購入日",+ "sort_age": "経過期間",+ "sort_name": "製品名",+ "sort_vendor": "ベンダー",+ "sort_warranty_type": "保証タイプ",+ "status": "ステータス",+ "tags": "タグ",+ "vendor": "ベンダー",+ "warranty_type": "保証タイプ",+ "view": "ビュー",+ "scope": "範囲"+ },+ "messages": {+ "success": "成功",+ "error": "エラー",+ "warning": "警告",+ "loading": "読み込み中...",+ "saved": "変更が正常に保存されました",+ "deleted": "アイテムが正常に削除されました",+ "confirm_delete": "このアイテムを削除してもよろしいですか?",+ "no_results": "結果が見つかりません",+ "file_too_large": "ファイルが大きすぎます",+ "invalid_file_type": "無効なファイルタイプ",+ "fill_first_last_name": "姓名を入力してください",+ "email_cannot_be_empty": "メールアドレスを空にすることはできません。",+ "enter_valid_email": "有効なメールアドレスを入力してください。",+ "profile_updated_successfully": "プロファイルが正常に更新されました",+ "preferences_saved_successfully": "環境設定が正常に保存されました。",+ "fill_password_fields": "すべてのパスワードフィールドを入力してください",+ "passwords_do_not_match": "新しいパスワードが一致しません",+ "password_min_length": "パスワードは8文字以上である必要があります",+ "type_delete_to_confirm": "確認のためにDELETEと入力してください",+ "account_deleted_successfully": "アカウントが正常に削除されました",+ "account_cannot_delete_offline": "オフラインモードではアカウントを削除できません",+ "failed_delete_account": "アカウントの削除に失敗しました。もう一度お試しください。",+ "user_updated_successfully": "ユーザーが正常に更新されました",+ "user_deleted_successfully": "ユーザーが正常に削除されました",+ "user_id_missing": "ユーザーIDが不足しています",+ "failed_load_users": "ユーザーの読み込みに失敗しました",+ "error_loading_users": "ユーザーの読み込み中にエラーが発生しました",+ "select_user_transfer_ownership": "所有権を譲渡するユーザーを選択してください",+ "ownership_transferred_successfully": "所有権が正常に譲渡されました!ページを更新中...",+ "failed_load_site_settings": "サイト設定の読み込みに失敗しました。もう一度お試しください。",+ "invalid_email_base_url": "無効なメールベースURL形式です。http://またはhttps://で始まる必要があります",+ "no_site_settings_to_save": "保存するサイト設定がありません。",+ "site_settings_saved_successfully": "サイト設定が正常に保存されました",+ "failed_save_site_settings": "サイト設定の保存に失敗しました",+ "oidc_settings_saved_successfully": "OIDC設定が正常に保存されました。",+ "failed_save_oidc_settings": "OIDC設定の保存に失敗しました。",+ "api_endpoint_accessible": "APIエンドポイントにアクセス可能です",+ "api_endpoint_not_accessible": "APIエンドポイントにアクセスできません。ステータス:",+ "only_admins_send_notifications": "管理者のみが保証通知を送信できます",+ "notifications_triggered_successfully": "通知が正常にトリガーされました",+ "notification_settings_saved_successfully": "通知設定が正常に保存されました",+ "apprise_settings_saved_successfully": "Apprise設定が正常に保存されました",+ "test_notification_sent_successfully": "テスト通知が正常に送信されました",+ "no_urls_to_validate": "検証するURLがありません",+ "paperless_settings_saved_successfully": "Paperless-ngx設定が正常に保存されました!",+ "enter_valid_paperless_url": "有効なURLを入力してください(例:https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "最初にPaperless-ngx URLを入力してください",+ "paperless_connection_test_successful": "Paperless-ngx接続テストが成功しました!",+ "paperless_connection_test_failed": "Paperless-ngx接続テストが失敗しました",+ "enter_api_token_test_connection": "接続をテストするためにAPIトークンを入力してください",+ "failed_load_user_data": "ユーザーデータの読み込みに失敗しました。もう一度お試しください。",+ "could_not_connect_user_data": "ユーザーデータを取得するために接続できませんでした。キャッシュ情報を表示しています。",+ "preferences_saved_locally_failed_sync": "環境設定はローカルに保存されましたが、サーバーとの同期に失敗しました:",+ "preferences_saved_locally": "環境設定がローカルに保存されました。",+ "correct_errors_in_tab": "続行する前に、ハイライトされたタブのエラーを修正してください。",+ "please_fill_out_this_field": "このフィールドを入力してください。"+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português"+ },+ "status": {+ "title": "システムステータス",+ "dashboard_title": "保証ステータスダッシュボード",+ "global_dashboard_title": "グローバル保証ステータスダッシュボード",+ "overview": "概要",+ "statistics": "統計",+ "total_warranties": "総保証数",+ "active_warranties": "有効な保証",+ "expiring_soon": "まもなく期限切れ",+ "expired_warranties": "期限切れの保証",+ "warranty_distribution": "保証の分布",+ "expiration_timeline": "有効期限タイムライン",+ "recent_activity": "最近のアクティビティ",+ "recent_expirations": "最近期限切れまたはまもなく期限切れ",+ "recent_expirations_empty": "最近期限切れまたはまもなく期限切れの保証はありません。",+ "system_health": "システムヘルス",+ "database_status": "データベースステータス",+ "connected": "接続済み",+ "version": "バージョン",+ "uptime": "稼働時間"+ },+ "about": {+ "title": "Warrackerについて",+ "description": "すべての製品保証を1つの安全で使いやすいプラットフォームで追跡、整理、管理するのに役立つ包括的な保証管理システム。",+ "version": "バージョン",+ "update_status": "更新ステータス",+ "checking_updates": "更新を確認中...",+ "view_release_notes": "リリースノートを表示",+ "project_info": "プロジェクト情報",+ "project_description": "Warrackerは、最新のWeb技術で構築されたオープンソースの保証管理システムです。製品保証の管理、有効期限の追跡、重要書類の整理を安全かつ直感的に行う方法を提供します。",+ "github_repository": "GitHubリポジトリ",+ "releases": "リリース",+ "community_support": "コミュニティとサポート",+ "community_description": "サポート、ディスカッション、アップデートのために私たちのコミュニティに参加してください。バグの報告、機能のリクエスト、他のユーザーや貢献者からの助けを得ることができます。",+ "discord_community": "Discordコミュニティ",+ "report_issues": "問題を報告",+ "developer_info": "開発者情報",+ "developer_description": "WarrackerはSassanixによって開発および保守されています。このプロジェクトはオープンソースであり、コミュニティからの貢献を歓迎します。",+ "sassanix": "Sassanix",+ "agpl_license": "AGPL-3.0ライセンス",+ "support_project": "プロジェクトをサポート",+ "support_description": "Warrackerが役立つと思われた場合は、その開発をサポートすることを検討してください!",+ "new_version_available": "新しいバージョン{{version}}が利用可能です!",+ "latest_version": "最新バージョンを使用しています",+ "update_check_failed": "更新の確認に失敗しました",+ "features": "機能",+ "feature_track": "製品保証を追跡",+ "feature_notifications": "有効期限通知を取得",+ "feature_documents": "保証ドキュメントを保存",+ "feature_reports": "保証レポートを生成",+ "feature_tags": "タグで整理",+ "feature_export": "保証データをエクスポート",+ "support": "サポート",+ "documentation": "ドキュメント",+ "github": "GitHubリポジトリ",+ "license": "ライセンス",+ "copyright": "著作権",+ "developed_by": "開発者"+ }+}diff --git a/locales/ko/translation.json b/locales/ko/translation.jsonnew file mode 100644index 0000000..577f35e--- /dev/null+++ b/locales/ko/translation.json@@ -0,0 +1,552 @@+{+ "app_title": "Warracker",+ "subtitle": "보증 추적기",+ "nav": {+ "home": "홈",+ "status": "상태",+ "settings": "설정",+ "about": "정보"+ },+ "auth": {+ "login": "로그인",+ "logout": "로그아웃",+ "register": "등록",+ "username": "사용자 이름",+ "password": "비밀번호",+ "email": "이메일",+ "first_name": "이름",+ "last_name": "성",+ "forgot_password": "비밀번호를 잊으셨나요?",+ "reset_password": "비밀번호 재설정",+ "confirm_password": "비밀번호 확인",+ "create_account_title": "계정 만들기",+ "first_name_optional": "이름 (선택 사항)",+ "last_name_optional": "성 (선택 사항)",+ "username_hint": "사용자 이름은 고유해야 하며 로그인에 사용됩니다.",+ "email_address": "이메일 주소",+ "toggle_password": "비밀번호 표시/숨기기",+ "password_hint_simple": "비밀번호는 8자 이상이어야 하며 대문자, 소문자, 숫자를 포함해야 합니다.",+ "password_requirements": "비밀번호 요구 사항:",+ "req_length": "8자 이상",+ "req_uppercase": "대문자 1개 이상",+ "req_lowercase": "소문자 1개 이상",+ "req_number": "숫자 1개 이상",+ "req_special": "특수 문자 1개 이상",+ "create_account": "계정 만들기",+ "already_have_account": "이미 계정이 있으신가요?",+ "reset_password_title": "Warracker - 비밀번호 재설정",+ "reset_your_password": "비밀번호 재설정",+ "reset_password_info": "아래에 이메일 주소를 입력하시면 비밀번호 재설정 링크를 보내드립니다.",+ "send_reset_link": "재설정 링크 보내기",+ "back_to_login": "로그인으로 돌아가기",+ "set_new_password_title": "Warracker - 새 비밀번호 설정",+ "set_new_password": "새 비밀번호 설정",+ "new_password": "새 비밀번호",+ "confirm_new_password": "새 비밀번호 확인",+ "invalid_or_expired_link": "잘못되었거나 만료된 링크",+ "invalid_link_info": "클릭하신 비밀번호 재설정 링크가 잘못되었거나 만료되었습니다.",+ "request_new_reset_link": "새 재설정 링크 요청"+ },+ "warranties": {+ "title": "내 보증",+ "title_global": "모든 사용자의 보증",+ "add_new": "새 보증 추가",+ "edit": "보증 편집",+ "delete": "보증 삭제",+ "product_name": "제품명",+ "purchase_date": "구매 날짜",+ "warranty_duration": "보증 기간",+ "years": "년",+ "months": "개월",+ "days": "일",+ "vendor": "판매업체",+ "serial_numbers": "시리얼 번호",+ "purchase_price": "구매 가격",+ "notes": "메모",+ "tags": "태그",+ "status": "상태",+ "expiration_date": "만료 날짜",+ "active": "활성",+ "expired": "만료됨",+ "expiring_soon": "곧 만료",+ "lifetime": "평생",+ "no_warranties": "아직 보증이 없습니다. 첫 보증을 추가하여 시작하세요.",+ "search_placeholder": "이름, 판매업체, 메모, 태그 또는 시리얼 번호로 검색...",+ "warranty_type": "보증 유형",+ "other_document": "기타 문서",+ "product": "제품",+ "expiration": "만료",+ "actions": "작업",+ "no_warranties_title": "아직 보증이 없습니다",+ "no_warranties_desc": "첫 보증을 추가하여 시작하세요",+ "add_warranty": "보증 추가",+ "warranty_entry_method": "보증 입력 방법",+ "warranty_duration_option": "보증 기간",+ "exact_expiration_option": "정확한 만료 날짜",+ "warranty_period": "보증 기간",+ "expiration_date_label": "만료 날짜",+ "currency": "통화",+ "add_tags": "태그 추가",+ "add_tags_desc": "태그는 보증을 정리하고 필터링하는 데 도움이 됩니다",+ "save_changes": "변경 사항 저장",+ "confirm_delete": "삭제 확인",+ "manage_tags": "태그 관리",+ "add_tag": "태그 추가",+ "unknown_status": "알 수 없는 상태",+ "expiring_soon_days": "곧 만료 ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} 남음",+ "day_one": "일",+ "day_other": "일",+ "month_one": "개월",+ "month_other": "개월",+ "year_one": "년",+ "year_other": "년",+ "na": "해당 없음",+ "age": "경과 기간",+ "warranty": "보증",+ "warranty_ends": "보증 종료",+ "price": "가격",+ "serial_number": "시리얼 번호",+ "vendor": "판매업체",+ "type": "유형",+ "owner": "소유자",+ "product_website": "제품 웹사이트",+ "documents": "문서",+ "summary": "요약",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "년",+ "months_placeholder": "개월",+ "days_placeholder": "일",+ "add_any_notes_placeholder": "이 보증에 대한 메모를 추가하세요...",+ "product_url_optional": "제품 URL (선택 사항)",+ "enter_serial_number": "시리얼 번호 입력",+ "vendor_optional": "판매업체 (선택 사항)",+ "vendor_placeholder": "예: Amazon, Best Buy 등",+ "lifetime_warranty": "평생 보증",+ "warranty_type_optional": "보증 유형 (선택 사항)",+ "select_warranty_type": "보증 유형 선택...",+ "standard": "표준",+ "extended": "연장",+ "manufacturer": "제조사",+ "third_party": "타사",+ "store": "상점",+ "premium": "프리미엄",+ "limited": "제한",+ "full": "전체",+ "parts_only": "부품만",+ "labor_only": "공임만",+ "international": "국제",+ "accidental_damage": "우발적 손상",+ "other_custom": "기타 (사용자 지정)",+ "enter_custom_warranty_type": "사용자 지정 보증 유형 입력",+ "purchase_price_optional": "구매 가격 (선택 사항)",+ "notes_optional": "메모 (선택 사항)",+ "add_any_notes": "이 보증에 대한 메모 추가...",+ "product_photo_optional": "제품 사진 (선택 사항)",+ "choose_photo": "사진 선택",+ "invoice_receipt": "송장/영수증",+ "store_locally": "로컬에 저장",+ "store_in_paperless": "Paperless-ngx에 저장",+ "choose_file": "파일 선택",+ "browse_paperless": "Paperless-ngx 문서 찾아보기",+ "product_manual_optional": "제품 설명서 (선택 사항)",+ "files_zip_rar_optional": "파일 (ZIP/RAR, 선택 사항)",+ "search_or_add_new_tag": "새 태그 검색 또는 추가...",+ "product_information": "제품 정보",+ "product_url": "제품 URL",+ "warranty_details": "보증 세부 정보",+ "product_photo": "제품 사진",+ "product_manual": "제품 설명서",+ "files": "파일",+ "selected_tags": "선택된 태그",+ "previous_tab": "이전",+ "next_tab": "다음",+ "delete_photo": "사진 삭제",+ "delete_invoice": "송장 삭제",+ "delete_manual": "설명서 삭제",+ "delete_files": "파일 삭제",+ "current_photo": "현재 사진:",+ "current_invoice": "현재 송장:",+ "current_manual": "현재 설명서:",+ "current_document": "현재 문서:",+ "upload_new_photo_replace": "(새 사진을 업로드하여 교체)",+ "no_photo_uploaded": "업로드된 사진 없음",+ "no_invoice_uploaded": "업로드된 송장 없음",+ "no_manual_uploaded": "업로드된 설명서 없음",+ "no_document_uploaded": "업로드된 기타 문서 없음",+ "photo_will_be_deleted": "저장 시 사진이 삭제됩니다",+ "invoice_will_be_deleted": "저장 시 송장이 삭제됩니다",+ "manual_will_be_deleted": "저장 시 설명서가 삭제됩니다",+ "document_will_be_deleted": "저장 시 기타 문서가 삭제됩니다",+ "confirm_delete_message": "이 보증을 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.",+ "new_tag_name": "새 태그 이름",+ "existing_tags": "기존 태그",+ "edit_warranty": "보증 편집",+ "warranty_type_standard": "표준",+ "warranty_type_extended": "연장",+ "warranty_type_manufacturer": "제조사",+ "warranty_type_third_party": "타사",+ "warranty_type_store": "상점",+ "warranty_type_premium": "프리미엄",+ "warranty_type_limited": "제한",+ "warranty_type_full": "전체",+ "warranty_type_parts_only": "부품만",+ "warranty_type_labor_only": "공임만",+ "warranty_type_international": "국제",+ "warranty_type_accidental_damage": "우발적 손상",+ "warranty_type_other": "기타 (사용자 지정)",+ "warranty_type_custom_placeholder": "사용자 지정 보증 유형 입력",+ "notes_placeholder": "이 보증에 대한 추가 메모...",+ "tags_help_text": "태그는 보증을 정리하고 필터링하는 데 도움이 됩니다",+ "search_add_tag_placeholder": "새 태그 검색 또는 추가...",+ "upload_new_file_replace": "새 파일을 업로드하여 교체",+ "current_other_document": "현재 기타 문서",+ "no_other_document_uploaded": "업로드된 기타 문서 없음",+ "other_document_will_be_deleted": "저장 시 기타 문서가 삭제됩니다",+ "files_optional": "파일 (ZIP/RAR, 선택 사항)",+ "invoice_receipt_short": "송장",+ "product_manual_short": "설명서",+ "files_short": "파일",+ "enter_serial_number": "시리얼 번호 입력",+ "add_serial_number": "다른 시리얼 번호 추가"+ },+ "settings": {+ "title": "설정",+ "account_settings": "계정 설정",+ "preferences": "기본 설정",+ "language": "언어",+ "select_language": "언어 선택",+ "dark_mode": "다크 모드",+ "dark_mode_desc": "라이트 테마와 다크 테마 간 전환",+ "currency": "통화",+ "timezone": "시간대",+ "date_format": "날짜 형식",+ "expiring_soon_days": "곧 만료될 날짜",+ "save_changes": "변경 사항 저장",+ "current_user": "프로필 편집:",+ "your_email": "내 이메일:",+ "first_name": "이름",+ "last_name": "성",+ "email": "이메일",+ "save_profile": "변경 사항 저장",+ "default_view": "기본 보기",+ "default_view_desc": "보증에 대한 기본 보기 선택",+ "grid_view": "그리드 보기",+ "list_view": "목록 보기",+ "table_view": "표 보기",+ "currency_symbol": "통화 기호",+ "currency_symbol_desc": "가격에 표시할 기호 선택",+ "currency_position": "통화 위치",+ "currency_position_desc": "숫자의 왼쪽 또는 오른쪽에 통화 기호를 표시할지 선택",+ "expiring_soon_days_desc": "경고를 표시할 만료 전 일수",+ "date_format_desc": "날짜 표시 방법 선택",+ "save_preferences": "기본 설정 저장",+ "notification_settings": "알림 설정",+ "notification_channel": "알림 채널",+ "notification_channel_desc": "알림 수신 방법 선택",+ "notification_disabled": "비활성화됨",+ "notification_email": "이메일",+ "notification_apprise": "Apprise",+ "notification_both": "둘 다",+ "email_settings": "이메일 설정",+ "notification_frequency": "알림 빈도",+ "notification_frequency_desc": "이메일 알림 수신 빈도",+ "daily": "매일",+ "weekly": "매주",+ "monthly": "매월",+ "notification_time": "알림 시간",+ "timezone_desc": "알림을 위한 현지 시간대",+ "apprise_settings": "Apprise 설정",+ "apprise_frequency": "Apprise 알림 빈도",+ "apprise_frequency_desc": "Apprise 알림 수신 빈도",+ "apprise_time": "Apprise 알림 시간",+ "apprise_timezone": "Apprise 시간대",+ "apprise_timezone_desc": "Apprise 알림을 위한 현지 시간대",+ "save_notification_settings": "알림 설정 저장",+ "security": "보안",+ "change_password": "비밀번호 변경",+ "change_password_desc": "계정 비밀번호 업데이트",+ "change": "변경",+ "current_password": "현재 비밀번호",+ "new_password": "새 비밀번호",+ "confirm_password": "새 비밀번호 확인",+ "update_password": "비밀번호 업데이트",+ "cancel": "취소",+ "danger_zone": "위험 구역",+ "delete_account": "계정 삭제",+ "delete_account_desc": "계정과 모든 데이터를 영구적으로 삭제",+ "admin_settings": "관리자 설정",+ "admin_actions": "관리자 작업",+ "refresh_data": "데이터 새로고침",+ "check_admin_status": "관리자 상태 확인",+ "show_users_list": "사용자 목록 표시",+ "test_api": "API 테스트",+ "send_notifications": "보증 알림 보내기",+ "check_scheduler": "스케줄러 상태 확인",+ "site_settings": "사이트 설정",+ "registration_enabled": "등록 활성화",+ "registration_enabled_desc": "새 사용자 등록 허용",+ "email_base_url": "이메일 기본 URL",+ "global_view_enabled": "전체 보기 활성화",+ "global_view_admin_only": "관리자만 전체 보기",+ "save_site_settings": "사이트 설정 저장",+ "oidc_configuration": "OIDC SSO 구성",+ "enable_oidc": "OIDC SSO 활성화",+ "oidc_provider_name": "OIDC 공급자 이름",+ "client_id": "클라이언트 ID",+ "client_secret": "클라이언트 시크릿",+ "issuer_url": "발급자 URL",+ "scope": "범위",+ "save_oidc_settings": "OIDC 설정 저장",+ "oidc_sso_desc": "사용자가 OIDC 공급자를 통해 로그인하도록 허용합니다.",+ "oidc_only_mode": "OIDC 전용 로그인 모드",+ "oidc_only_mode_desc": "기존 사용자 이름/비밀번호 로그인 양식을 숨기고 OIDC 로그인만 허용합니다. <strong>경고:</strong> 이 옵션을 활성화하기 전에 OIDC가 올바르게 구성되었는지 확인하십시오.",+ "oidc_provider_name_desc": "OIDC 클라이언트의 내부 이름 (예: 'oidc').",+ "client_secret_desc": "민감한 값. 데이터베이스에 저장됩니다. 변경 사항을 적용하려면 애플리케이션을 다시 시작해야 합니다.",+ "issuer_url_desc": "OIDC 공급자의 기본 URL.",+ "scope_desc": "공백으로 구분된 OIDC 범위.",+ "oidc_restart_message": "OIDC 설정을 완전히 적용하려면 애플리케이션을 다시 시작해야 합니다.",+ "api_token": "API 토큰",+ "view_documents": "Warracker에서 문서 보기",+ "connection_testing": "연결 테스트",+ "apprise_notifications": "Apprise 알림",+ "enable_apprise": "Apprise 알림 활성화",+ "loading": "로드 중...",+ "time_of_day_notification": "알림 수신 시간 (24시간 형식)",+ "paperless_ngx_settings": "Paperless-ngx 설정",+ "paperless_ngx_about_title": "Paperless-ngx 통합 정보:",+ "paperless_ngx_about_desc": "이 선택적 기능을 사용하면 보증 문서를 로컬 대신 자체 호스팅된 Paperless-ngx 인스턴스에 저장할 수 있습니다. 활성화하면 사용자는 각 문서를 로컬 또는 Paperless-ngx에 저장할 위치를 선택할 수 있습니다.",+ "paperless_ngx_desc": "Paperless-ngx 문서 관리 시스템과의 통합 구성",+ "enable_paperless": "Paperless-ngx 통합 활성화",+ "paperless_url": "Paperless-ngx URL",+ "paperless_url_desc": "Paperless-ngx 인스턴스의 기본 URL",+ "paperless_token": "API 토큰",+ "paperless_token_desc": "Paperless-ngx API 인증 토큰",+ "paperless_token_desc_generate": "Paperless-ngx 인스턴스에서 API 토큰 생성 (설정 → API 토큰).",+ "paperless_view_in_app": "앱에서 문서 보기",+ "paperless_view_in_app_desc": "새 탭 대신 앱 내에서 문서 열기",+ "debug_config": "디버그 구성",+ "test_upload": "업로드 테스트",+ "save_paperless_settings": "Paperless-ngx 설정 저장",+ "apprise_desc": "여러 서비스에 대한 고급 알림 전달을 위해 Apprise 구성",+ "apprise_desc_system_wide": "시스템 전체에서 Apprise 알림 활성화 또는 비활성화",+ "apprise_not_available_title": "Apprise를 사용할 수 없음:",+ "apprise_not_available_desc": "Apprise 알림 라이브러리가 설치되지 않았거나 사용할 수 없습니다. 알림 기능이 비활성화되었습니다.",+ "apprise_url": "Apprise URL",+ "apprise_url_desc": "Apprise 알림 서비스 URL",+ "apprise_mode": "알림 모드",+ "apprise_mode_desc": "Apprise 알림 전송 시기 선택",+ "apprise_mode_global": "전체 요약",+ "apprise_mode_individual": "사용자별",+ "test_paperless": "Paperless 연결 테스트",+ "test_apprise": "Apprise 연결 테스트",+ "apprise_warranty_scope": "보증 범위",+ "apprise_warranty_scope_desc": "알림에 포함할 보증 선택",+ "all_warranties": "모든 보증",+ "personal_warranties": "개인 보증만",+ "all_users_warranties": "모든 사용자의 보증",+ "admin_warranties_only": "관리자 보증만",+ "apprise_notification_days": "알림 일수",+ "apprise_notification_days_desc": "만료 전 알림을 보낼 일수 (쉼표로 구분, 예: \"7,30\"은 7일 및 30일 전)",+ "apprise_check_frequency": "확인 빈도",+ "apprise_check_frequency_desc": "시스템이 만료되는 보증을 확인하는 빈도 (전체 설정)",+ "apprise_title_prefix": "메시지 제목 접두사",+ "apprise_title_prefix_desc": "알림 제목에 추가되는 접두사 (예: \"[Warracker]\"는 \"[Warracker] 곧 만료되는 보증\"이 됨)",+ "apprise_test_url": "테스트 URL (선택 사항)",+ "apprise_test_url_desc": "선택 사항: 테스트 알림만 보내기 위한 URL (기본 구성에 저장되지 않음)",+ "save_apprise_settings": "Apprise 설정 저장",+ "validate_urls": "URL 유효성 검사",+ "send_expiration_notifications_now": "지금 만료 알림 보내기",+ "apprise_current_status": "현재 상태",+ "apprise_urls_configured": "구성된 URL:",+ "apprise_supported_services": "지원되는 서비스",+ "apprise_supported_services_desc": "Apprise는 Discord, Slack, Telegram, 이메일(Gmail, Outlook), 웹훅, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify 등 80개 이상의 알림 서비스를 지원합니다.",+ "view_full_list_of_supported_services": "지원되는 서비스 전체 목록 보기",+ "ownership_management": "소유권 관리",+ "transfer_ownership": "소유권 이전",+ "warning_title": "경고:",+ "transfer_ownership_warning": "애플리케이션 소유권을 다른 관리자 사용자에게 이전합니다. 이 작업은 되돌릴 수 없습니다.",+ "transfer_ownership_desc": "소유권이 이전되면 일반 관리자가 되며 새 소유자가 애플리케이션을 완전히 제어하게 됩니다.",+ "select_new_owner": "새 소유자 선택 (관리자여야 함)",+ "select_admin_user": "관리자 사용자 선택...",+ "transfer_ownership_button": "소유권 이전",+ "transfer_ownership_irreversible": "이 작업은 되돌릴 수 없습니다.",+ "transfer_ownership_confirmation": "애플리케이션 소유권을 다음 사용자에게 이전하려고 합니다.",+ "after_this_transfer": "이전 후:",+ "transfer_ownership_consequence_1": "일반 관리자가 됩니다",+ "transfer_ownership_consequence_2": "새 소유자가 애플리케이션을 완전히 제어하게 됩니다",+ "transfer_ownership_consequence_3": "새 소유자만 소유권을 다시 이전할 수 있습니다",+ "transfer_ownership_type_to_confirm": "확인하려면 아래 필드에 \"TRANSFER\"를 입력하십시오."+ },+ "actions": {+ "save": "저장",+ "cancel": "취소",+ "delete": "삭제",+ "edit": "편집",+ "export": "내보내기",+ "import": "가져오기",+ "refresh": "새로고침",+ "search": "검색",+ "clear": "지우기",+ "upload": "업로드",+ "download": "다운로드",+ "manage_tags": "태그 관리",+ "close": "닫기",+ "save_changes": "변경 사항 저장"+ },+ "filters": {+ "all_status": "모든 상태",+ "all_tags": "모든 태그",+ "all_vendors": "모든 판매업체",+ "all_types": "모든 유형",+ "sort_by": "정렬 기준",+ "sort_expiration": "만료 날짜",+ "sort_purchase": "구매 날짜",+ "sort_age": "경과 기간",+ "sort_name": "제품명",+ "sort_vendor": "판매업체",+ "sort_warranty_type": "보증 유형",+ "status": "상태",+ "tags": "태그",+ "vendor": "판매업체",+ "warranty_type": "보증 유형",+ "view": "보기",+ "scope": "범위"+ },+ "messages": {+ "success": "성공",+ "error": "오류",+ "warning": "경고",+ "loading": "로드 중...",+ "saved": "변경 사항이 성공적으로 저장되었습니다",+ "deleted": "항목이 성공적으로 삭제되었습니다",+ "confirm_delete": "이 항목을 삭제하시겠습니까?",+ "no_results": "결과를 찾을 수 없습니다",+ "file_too_large": "파일이 너무 큽니다",+ "invalid_file_type": "잘못된 파일 형식",+ "fill_first_last_name": "성과 이름을 입력해주세요",+ "email_cannot_be_empty": "이메일 주소는 비워둘 수 없습니다.",+ "enter_valid_email": "유효한 이메일 주소를 입력해주세요.",+ "profile_updated_successfully": "프로필이 성공적으로 업데이트되었습니다",+ "preferences_saved_successfully": "환경설정이 성공적으로 저장되었습니다.",+ "fill_password_fields": "모든 비밀번호 필드를 입력해주세요",+ "passwords_do_not_match": "새 비밀번호가 일치하지 않습니다",+ "password_min_length": "비밀번호는 최소 8자 이상이어야 합니다",+ "type_delete_to_confirm": "확인하려면 DELETE를 입력하세요",+ "account_deleted_successfully": "계정이 성공적으로 삭제되었습니다",+ "account_cannot_delete_offline": "오프라인 모드에서는 계정을 삭제할 수 없습니다",+ "failed_delete_account": "계정 삭제에 실패했습니다. 다시 시도해주세요.",+ "user_updated_successfully": "사용자가 성공적으로 업데이트되었습니다",+ "user_deleted_successfully": "사용자가 성공적으로 삭제되었습니다",+ "user_id_missing": "사용자 ID가 없습니다",+ "failed_load_users": "사용자 로드에 실패했습니다",+ "error_loading_users": "사용자 로딩 중 오류가 발생했습니다",+ "select_user_transfer_ownership": "소유권을 이전할 사용자를 선택해주세요",+ "ownership_transferred_successfully": "소유권이 성공적으로 이전되었습니다! 페이지를 새로고침합니다...",+ "failed_load_site_settings": "사이트 설정 로드에 실패했습니다. 다시 시도해주세요.",+ "invalid_email_base_url": "잘못된 이메일 기본 URL 형식입니다. http:// 또는 https://로 시작해야 합니다",+ "no_site_settings_to_save": "저장할 사이트 설정이 없습니다.",+ "site_settings_saved_successfully": "사이트 설정이 성공적으로 저장되었습니다",+ "failed_save_site_settings": "사이트 설정 저장에 실패했습니다",+ "oidc_settings_saved_successfully": "OIDC 설정이 성공적으로 저장되었습니다.",+ "failed_save_oidc_settings": "OIDC 설정 저장에 실패했습니다.",+ "api_endpoint_accessible": "API 엔드포인트에 접근할 수 있습니다",+ "api_endpoint_not_accessible": "API 엔드포인트에 접근할 수 없습니다. 상태: ",+ "only_admins_send_notifications": "관리자만 보증 알림을 보낼 수 있습니다",+ "notifications_triggered_successfully": "알림이 성공적으로 트리거되었습니다",+ "notification_settings_saved_successfully": "알림 설정이 성공적으로 저장되었습니다",+ "apprise_settings_saved_successfully": "Apprise 설정이 성공적으로 저장되었습니다",+ "test_notification_sent_successfully": "테스트 알림이 성공적으로 전송되었습니다",+ "no_urls_to_validate": "검증할 URL이 없습니다",+ "paperless_settings_saved_successfully": "Paperless-ngx 설정이 성공적으로 저장되었습니다!",+ "enter_valid_paperless_url": "유효한 URL을 입력해주세요 (예: https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "먼저 Paperless-ngx URL을 입력해주세요",+ "paperless_connection_test_successful": "Paperless-ngx 연결 테스트가 성공했습니다!",+ "paperless_connection_test_failed": "Paperless-ngx 연결 테스트가 실패했습니다",+ "enter_api_token_test_connection": "연결을 테스트하려면 API 토큰을 입력해주세요",+ "failed_load_user_data": "사용자 데이터 로드에 실패했습니다. 다시 시도해주세요.",+ "could_not_connect_user_data": "사용자 데이터를 가져오기 위해 연결할 수 없습니다. 캐시된 정보를 표시합니다.",+ "preferences_saved_locally_failed_sync": "환경설정이 로컬에 저장되었지만 서버와 동기화에 실패했습니다: ",+ "preferences_saved_locally": "환경설정이 로컬에 저장되었습니다.",+ "correct_errors_in_tab": "계속하기 전에 강조 표시된 탭의 오류를 수정해 주세요.",+ "please_fill_out_this_field": "이 필드를 채워주세요."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "시스템 상태",+ "dashboard_title": "보증 상태 대시보드",+ "global_dashboard_title": "전체 보증 상태 대시보드",+ "overview": "개요",+ "statistics": "통계",+ "total_warranties": "총 보증 수",+ "active_warranties": "활성 보증",+ "expiring_soon": "곧 만료",+ "expired_warranties": "만료된 보증",+ "warranty_distribution": "보증 분포",+ "expiration_timeline": "만료 타임라인",+ "recent_activity": "최근 활동",+ "recent_expirations": "최근 만료 또는 곧 만료",+ "recent_expirations_empty": "최근 만료되거나 곧 만료될 보증이 없습니다.",+ "system_health": "시스템 상태",+ "database_status": "데이터베이스 상태",+ "connected": "연결됨",+ "version": "버전",+ "uptime": "가동 시간"+ },+ "about": {+ "title": "Warracker 정보",+ "description": "모든 제품 보증을 하나의 안전하고 사용하기 쉬운 플랫폼에서 추적, 정리 및 관리할 수 있도록 설계된 포괄적인 보증 관리 시스템입니다.",+ "version": "버전",+ "update_status": "업데이트 상태",+ "checking_updates": "업데이트 확인 중...",+ "view_release_notes": "릴리스 노트 보기",+ "project_info": "프로젝트 정보",+ "project_description": "Warracker는 최신 웹 기술로 구축된 오픈 소스 보증 관리 시스템입니다. 제품 보증을 관리하고, 만료 날짜를 추적하며, 중요한 문서를 안전하고 직관적인 방법으로 정리할 수 있습니다.",+ "github_repository": "GitHub 리포지토리",+ "releases": "릴리스",+ "community_support": "커뮤니티 및 지원",+ "community_description": "지원, 토론 및 업데이트를 위해 커뮤니티에 가입하십시오. 버그를 보고하고, 기능을 요청하거나 다른 사용자 및 기여자로부터 도움을 받으십시오.",+ "discord_community": "Discord 커뮤니티",+ "report_issues": "문제 보고",+ "developer_info": "개발자 정보",+ "developer_description": "Warracker는 Sassanix에 의해 개발 및 유지 관리됩니다. 이 프로젝트는 오픈 소스이며 커뮤니티의 기여를 환영합니다.",+ "sassanix": "Sassanix",+ "agpl_license": "AGPL-3.0 라이선스",+ "support_project": "프로젝트 지원",+ "support_description": "Warracker가 유용하다고 생각되면 개발을 지원하는 것을 고려해 보십시오!",+ "new_version_available": "새 버전 {{version}}을 사용할 수 있습니다!",+ "latest_version": "최신 버전을 사용하고 있습니다",+ "update_check_failed": "업데이트 확인 실패",+ "features": "기능",+ "feature_track": "제품 보증 추적",+ "feature_notifications": "만료 알림 받기",+ "feature_documents": "보증 문서 저장",+ "feature_reports": "보증 보고서 생성",+ "feature_tags": "태그로 정리",+ "feature_export": "보증 데이터 내보내기",+ "support": "지원",+ "documentation": "문서",+ "github": "GitHub 리포지토리",+ "license": "라이선스",+ "copyright": "저작권",+ "developed_by": "개발자"+ }+}\ No newline at end of filediff --git a/locales/nl/translation.json b/locales/nl/translation.jsonnew file mode 100644index 0000000..90c3f0c--- /dev/null+++ b/locales/nl/translation.json@@ -0,0 +1,551 @@+{+ "app_title": "Warracker",+ "subtitle": "Garantie Tracker",+ "nav": {+ "home": "Home",+ "status": "Status",+ "settings": "Instellingen",+ "about": "Over"+ },+ "auth": {+ "login": "Inloggen",+ "logout": "Uitloggen",+ "register": "Registreren",+ "username": "Gebruikersnaam",+ "password": "Wachtwoord",+ "email": "E-mail",+ "first_name": "Voornaam",+ "last_name": "Achternaam",+ "forgot_password": "Wachtwoord vergeten?",+ "reset_password": "Wachtwoord resetten",+ "confirm_password": "Wachtwoord bevestigen",+ "create_account_title": "Maak uw account aan",+ "first_name_optional": "Voornaam (optioneel)",+ "last_name_optional": "Achternaam (optioneel)",+ "username_hint": "Gebruikersnaam moet uniek zijn en wordt gebruikt om in te loggen.",+ "email_address": "E-mailadres",+ "toggle_password": "Wachtwoord tonen/verbergen",+ "password_hint_simple": "Wachtwoord moet minimaal 8 tekens lang zijn en hoofdletters, kleine letters en cijfers bevatten.",+ "password_requirements": "Wachtwoordvereisten:",+ "req_length": "Minstens 8 tekens",+ "req_uppercase": "Minstens 1 hoofdletter",+ "req_lowercase": "Minstens 1 kleine letter",+ "req_number": "Minstens 1 cijfer",+ "req_special": "Minstens 1 speciaal teken",+ "create_account": "Account aanmaken",+ "already_have_account": "Heeft u al een account?",+ "reset_password_title": "Warracker - Wachtwoord resetten",+ "reset_your_password": "Reset uw wachtwoord",+ "reset_password_info": "Voer hieronder uw e-mailadres in en we sturen u een link om uw wachtwoord te resetten.",+ "send_reset_link": "Verstuur reset link",+ "back_to_login": "Terug naar inloggen",+ "set_new_password_title": "Warracker - Nieuw wachtwoord instellen",+ "set_new_password": "Nieuw wachtwoord instellen",+ "new_password": "Nieuw wachtwoord",+ "confirm_new_password": "Bevestig nieuw wachtwoord",+ "invalid_or_expired_link": "Ongeldige of verlopen link",+ "invalid_link_info": "De link voor het opnieuw instellen van het wachtwoord waarop u hebt geklikt, is ongeldig of is verlopen.",+ "request_new_reset_link": "Vraag nieuwe reset link aan"+ },+ "warranties": {+ "title": "Uw garanties",+ "title_global": "Garanties van alle gebruikers",+ "add_new": "Nieuwe garantie toevoegen",+ "edit": "Garantie bewerken",+ "delete": "Garantie verwijderen",+ "product_name": "Productnaam",+ "purchase_date": "Aankoopdatum",+ "warranty_duration": "Garantieduur",+ "years": "Jaren",+ "months": "Maanden",+ "days": "Dagen",+ "vendor": "Leverancier",+ "serial_numbers": "Serienummers",+ "purchase_price": "Aankoopprijs",+ "notes": "Notities",+ "tags": "Tags",+ "status": "Status",+ "expiration_date": "Vervaldatum",+ "active": "Actief",+ "expired": "Verlopen",+ "expiring_soon": "Verloopt binnenkort",+ "lifetime": "Levenslang",+ "no_warranties": "Nog geen garanties. Voeg uw eerste garantie toe om te beginnen.",+ "search_placeholder": "Zoeken op naam, leverancier, notities, tag of serienummer...",+ "warranty_type": "Garantietype",+ "other_document": "Ander document",+ "product": "Product",+ "expiration": "Vervaldatum",+ "actions": "Acties",+ "no_warranties_title": "Nog geen garanties",+ "no_warranties_desc": "Voeg uw eerste garantie toe om te beginnen",+ "add_warranty": "Garantie toevoegen",+ "warranty_entry_method": "Garantie-invoermethode",+ "warranty_duration_option": "Garantieduur",+ "exact_expiration_option": "Exacte vervaldatum",+ "warranty_period": "Garantieperiode",+ "expiration_date_label": "Vervaldatum",+ "currency": "Valuta",+ "add_tags": "Tags toevoegen",+ "add_tags_desc": "Tags helpen u uw garanties te organiseren en te filteren",+ "save_changes": "Wijzigingen opslaan",+ "confirm_delete": "Verwijderen bevestigen",+ "manage_tags": "Tags beheren",+ "add_tag": "Tag toevoegen",+ "unknown_status": "Onbekende status",+ "expiring_soon_days": "Verloopt binnenkort ({{days}} {{dayText}})",+ "days_remaining": "{{days}} {{dayText}} resterend",+ "day_one": "dag",+ "day_other": "dagen",+ "month_one": "maand",+ "month_other": "maanden",+ "year_one": "jaar",+ "year_other": "jaren",+ "na": "N.v.t.",+ "age": "Leeftijd",+ "warranty": "Garantie",+ "warranty_ends": "Garantie eindigt",+ "price": "Prijs",+ "serial_number": "Serienummer",+ "type": "Type",+ "owner": "Eigenaar",+ "product_website": "Productwebsite",+ "documents": "Documenten",+ "summary": "Samenvatting",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "Jaren",+ "months_placeholder": "Maanden",+ "days_placeholder": "Dagen",+ "add_any_notes_placeholder": "Voeg notities over deze garantie toe...",+ "product_url_optional": "Product-URL (optioneel)",+ "enter_serial_number": "Voer serienummer in",+ "vendor_optional": "Leverancier (optioneel)",+ "vendor_placeholder": "bijv. Amazon, Best Buy, etc.",+ "lifetime_warranty": "Levenslange garantie",+ "warranty_type_optional": "Garantietype (optioneel)",+ "select_warranty_type": "Selecteer garantietype...",+ "standard": "Standaard",+ "extended": "Uitgebreid",+ "manufacturer": "Fabrikant",+ "third_party": "Derde partij",+ "store": "Winkel",+ "premium": "Premium",+ "limited": "Beperkt",+ "full": "Volledig",+ "parts_only": "Alleen onderdelen",+ "labor_only": "Alleen arbeid",+ "international": "Internationaal",+ "accidental_damage": "Onopzettelijke schade",+ "other_custom": "Anders (aangepast)",+ "enter_custom_warranty_type": "Voer aangepast garantietype in",+ "purchase_price_optional": "Aankoopprijs (optioneel)",+ "notes_optional": "Notities (optioneel)",+ "add_any_notes": "Voeg notities over deze garantie toe...",+ "product_photo_optional": "Productfoto (optioneel)",+ "choose_photo": "Kies foto",+ "invoice_receipt": "Factuur/Bon",+ "store_locally": "Lokaal opslaan",+ "store_in_paperless": "Opslaan in Paperless-ngx",+ "choose_file": "Kies bestand",+ "browse_paperless": "Blader door Paperless-ngx-documenten",+ "product_manual_optional": "Producthandleiding (optioneel)",+ "files_zip_rar_optional": "Bestanden (ZIP/RAR, optioneel)",+ "search_or_add_new_tag": "Zoek of voeg nieuwe tag toe...",+ "product_information": "Productinformatie",+ "product_url": "Product-URL",+ "warranty_details": "Garantiedetails",+ "product_photo": "Productfoto",+ "product_manual": "Producthandleiding",+ "files": "Bestanden",+ "selected_tags": "Geselecteerde tags",+ "previous_tab": "Vorige",+ "next_tab": "Volgende",+ "delete_photo": "Foto verwijderen",+ "delete_invoice": "Factuur verwijderen",+ "delete_manual": "Handleiding verwijderen",+ "delete_files": "Bestanden verwijderen",+ "current_photo": "Huidige foto:",+ "current_invoice": "Huidige factuur:",+ "current_manual": "Huidige handleiding:",+ "current_document": "Huidig document:",+ "upload_new_photo_replace": "(Upload een nieuwe foto om te vervangen)",+ "no_photo_uploaded": "Geen foto geüpload",+ "no_invoice_uploaded": "Geen factuur geüpload",+ "no_manual_uploaded": "Geen handleiding geüpload",+ "no_document_uploaded": "Geen ander document geüpload",+ "photo_will_be_deleted": "Foto wordt bij opslaan verwijderd",+ "invoice_will_be_deleted": "Factuur wordt bij opslaan verwijderd",+ "manual_will_be_deleted": "Handleiding wordt bij opslaan verwijderd",+ "document_will_be_deleted": "Ander document wordt bij opslaan verwijderd",+ "confirm_delete_message": "Weet u zeker dat u deze garantie wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.",+ "new_tag_name": "Nieuwe tagnaam",+ "existing_tags": "Bestaande tags",+ "edit_warranty": "Garantie bewerken",+ "warranty_type_standard": "Standaard",+ "warranty_type_extended": "Uitgebreid",+ "warranty_type_manufacturer": "Fabrikant",+ "warranty_type_third_party": "Derde partij",+ "warranty_type_store": "Winkel",+ "warranty_type_premium": "Premium",+ "warranty_type_limited": "Beperkt",+ "warranty_type_full": "Volledig",+ "warranty_type_parts_only": "Alleen onderdelen",+ "warranty_type_labor_only": "Alleen arbeid",+ "warranty_type_international": "Internationaal",+ "warranty_type_accidental_damage": "Onopzettelijke schade",+ "warranty_type_other": "Anders (aangepast)",+ "warranty_type_custom_placeholder": "Voer aangepast garantietype in",+ "notes_placeholder": "Aanvullende notities over deze garantie...",+ "tags_help_text": "Tags helpen u uw garanties te organiseren en te filteren",+ "search_add_tag_placeholder": "Zoek of voeg nieuwe tag toe...",+ "upload_new_file_replace": "Upload een nieuw bestand om te vervangen",+ "current_other_document": "Huidig ander document",+ "no_other_document_uploaded": "Geen ander document geüpload",+ "other_document_will_be_deleted": "Ander document wordt bij opslaan verwijderd",+ "files_optional": "Bestanden (ZIP/RAR, optioneel)",+ "invoice_receipt_short": "Factuur",+ "product_manual_short": "Handleiding",+ "files_short": "Bestanden",+ "enter_serial_number": "Serienummer invoeren",+ "add_serial_number": "Nog een serienummer toevoegen"+ },+ "settings": {+ "title": "Instellingen",+ "account_settings": "Accountinstellingen",+ "preferences": "Voorkeuren",+ "language": "Taal",+ "select_language": "Selecteer taal",+ "dark_mode": "Donkere modus",+ "dark_mode_desc": "Schakelen tussen licht en donker thema",+ "currency": "Valuta",+ "timezone": "Tijdzone",+ "date_format": "Datumnotatie",+ "expiring_soon_days": "Dagen tot verval",+ "save_changes": "Wijzigingen opslaan",+ "current_user": "Profiel bewerken voor:",+ "your_email": "Uw e-mail:",+ "first_name": "Voornaam",+ "last_name": "Achternaam",+ "email": "E-mail",+ "save_profile": "Wijzigingen opslaan",+ "default_view": "Standaardweergave",+ "default_view_desc": "Kies uw voorkeursweergave voor garanties",+ "grid_view": "Rasterweergave",+ "list_view": "Lijstweergave",+ "table_view": "Tabelweergave",+ "currency_symbol": "Valutasymbool",+ "currency_symbol_desc": "Kies het symbool om voor prijzen weer te geven",+ "currency_position": "Valutapositie",+ "currency_position_desc": "Kies of het valutasymbool links of rechts van de getallen verschijnt",+ "expiring_soon_days_desc": "Aantal dagen voor verval om waarschuwingen weer te geven",+ "date_format_desc": "Kies hoe datums worden weergegeven",+ "save_preferences": "Voorkeuren opslaan",+ "notification_settings": "Meldingsinstellingen",+ "notification_channel": "Meldingskanaal",+ "notification_channel_desc": "Kies hoe u meldingen wilt ontvangen",+ "notification_disabled": "Uitgeschakeld",+ "notification_email": "E-mail",+ "notification_apprise": "Apprise",+ "notification_both": "Beide",+ "email_settings": "E-mailinstellingen",+ "notification_frequency": "Meldingsfrequentie",+ "notification_frequency_desc": "Hoe vaak e-mailmeldingen ontvangen",+ "daily": "Dagelijks",+ "weekly": "Wekelijks",+ "monthly": "Maandelijks",+ "notification_time": "Meldingstijd",+ "timezone_desc": "Uw lokale tijdzone voor meldingen",+ "apprise_settings": "Apprise-instellingen",+ "apprise_frequency": "Apprise-meldingsfrequentie",+ "apprise_frequency_desc": "Hoe vaak Apprise-meldingen ontvangen",+ "apprise_time": "Apprise-meldingstijd",+ "apprise_timezone": "Apprise-tijdzone",+ "apprise_timezone_desc": "Uw lokale tijdzone voor Apprise-meldingen",+ "save_notification_settings": "Meldingsinstellingen opslaan",+ "security": "Beveiliging",+ "change_password": "Wachtwoord wijzigen",+ "change_password_desc": "Update uw accountwachtwoord",+ "change": "Wijzigen",+ "current_password": "Huidig wachtwoord",+ "new_password": "Nieuw wachtwoord",+ "confirm_password": "Bevestig nieuw wachtwoord",+ "update_password": "Wachtwoord bijwerken",+ "cancel": "Annuleren",+ "danger_zone": "Gevarenzone",+ "delete_account": "Account verwijderen",+ "delete_account_desc": "Verwijder uw account en alle gegevens permanent",+ "admin_settings": "Beheerdersinstellingen",+ "admin_actions": "Beheerdersacties",+ "refresh_data": "Gegevens vernieuwen",+ "check_admin_status": "Beheerdersstatus controleren",+ "show_users_list": "Gebruikerslijst weergeven",+ "test_api": "API testen",+ "send_notifications": "Garantienotificaties verzenden",+ "check_scheduler": "Scheduler-status controleren",+ "site_settings": "Site-instellingen",+ "registration_enabled": "Registratie ingeschakeld",+ "registration_enabled_desc": "Nieuwe gebruikers toestaan zich te registreren",+ "email_base_url": "E-mail basis-URL",+ "global_view_enabled": "Globale weergave ingeschakeld",+ "global_view_admin_only": "Globale weergave alleen voor beheerders",+ "save_site_settings": "Site-instellingen opslaan",+ "oidc_configuration": "OIDC SSO-configuratie",+ "enable_oidc": "OIDC SSO inschakelen",+ "oidc_provider_name": "OIDC-providernaam",+ "client_id": "Client-ID",+ "client_secret": "Clientgeheim",+ "issuer_url": "Uitgever-URL",+ "scope": "Bereik",+ "save_oidc_settings": "OIDC-instellingen opslaan",+ "oidc_sso_desc": "Gebruikers toestaan in te loggen via een OIDC-provider.",+ "oidc_only_mode": "Alleen-OIDC-inlogmodus",+ "oidc_only_mode_desc": "Verberg het traditionele gebruikersnaam/wachtwoord-inlogformulier en sta alleen OIDC-inloggen toe. <strong>Waarschuwing:</strong> Zorg ervoor dat OIDC correct is geconfigureerd voordat u deze optie inschakelt.",+ "oidc_provider_name_desc": "Interne naam voor de OIDC-client (bijv. 'oidc').",+ "client_secret_desc": "Gevoelige waarde. Opgeslagen in de database. Een herstart van de applicatie is vereist om wijzigingen door te voeren.",+ "issuer_url_desc": "De basis-URL van uw OIDC-provider.",+ "scope_desc": "Door spaties gescheiden OIDC-bereiken.",+ "oidc_restart_message": "Een herstart van de applicatie is vereist om de OIDC-instellingen volledig van kracht te laten worden.",+ "api_token": "API-token",+ "view_documents": "Documenten bekijken in Warracker",+ "connection_testing": "Verbinding testen",+ "apprise_notifications": "Apprise-meldingen",+ "enable_apprise": "Apprise-meldingen inschakelen",+ "loading": "Laden...",+ "time_of_day_notification": "Tijdstip van de dag om meldingen te ontvangen (in 24-uursnotatie)",+ "paperless_ngx_settings": "Paperless-ngx-instellingen",+ "paperless_ngx_about_title": "Over de Paperless-ngx-integratie:",+ "paperless_ngx_about_desc": "Met deze optionele functie kunt u garantiedocumenten opslaan in uw zelf-gehoste Paperless-ngx-instantie in plaats van lokaal. Indien ingeschakeld, kunnen gebruikers kiezen waar ze elk document willen opslaan: lokaal of in Paperless-ngx.",+ "paperless_ngx_desc": "Configureer de integratie met het Paperless-ngx-documentbeheersysteem",+ "enable_paperless": "Paperless-ngx-integratie inschakelen",+ "paperless_url": "Paperless-ngx-URL",+ "paperless_url_desc": "Basis-URL van uw Paperless-ngx-instantie",+ "paperless_token": "API-token",+ "paperless_token_desc": "Uw Paperless-ngx API-authenticatietoken",+ "paperless_token_desc_generate": "Genereer een API-token vanuit uw Paperless-ngx-instantie (Instellingen → API-tokens).",+ "paperless_view_in_app": "Documenten in de app bekijken",+ "paperless_view_in_app_desc": "Documenten in de app openen in plaats van in een nieuw tabblad",+ "debug_config": "Foutopsporingsconfiguratie",+ "test_upload": "Upload testen",+ "save_paperless_settings": "Paperless-ngx-instellingen opslaan",+ "apprise_desc": "Configureer Apprise voor geavanceerde meldingenlevering aan meerdere services",+ "apprise_desc_system_wide": "Apprise-meldingen systeembreed in- of uitschakelen",+ "apprise_not_available_title": "Apprise niet beschikbaar:",+ "apprise_not_available_desc": "De Apprise-meldingsbibliotheek is niet geïnstalleerd of beschikbaar. Meldingsfuncties zijn uitgeschakeld.",+ "apprise_url": "Apprise-URL",+ "apprise_url_desc": "Uw Apprise-meldingsservice-URL",+ "apprise_mode": "Meldingsmodus",+ "apprise_mode_desc": "Kies wanneer Apprise-meldingen moeten worden verzonden",+ "apprise_mode_global": "Globaal overzicht",+ "apprise_mode_individual": "Per gebruiker",+ "test_paperless": "Paperless-verbinding testen",+ "test_apprise": "Apprise-verbinding testen",+ "apprise_warranty_scope": "Garantiebereik",+ "apprise_warranty_scope_desc": "Kies welke garanties in meldingen moeten worden opgenomen",+ "all_warranties": "Alle garanties",+ "personal_warranties": "Alleen persoonlijke garanties",+ "all_users_warranties": "Garanties van alle gebruikers",+ "admin_warranties_only": "Alleen garanties van de beheerder",+ "apprise_notification_days": "Meldingsdagen",+ "apprise_notification_days_desc": "Dagen voor verval om meldingen te verzenden (door komma's gescheiden, bijv. \"7,30\" voor 7 dagen en 30 dagen van tevoren)",+ "apprise_check_frequency": "Controlefrequentie",+ "apprise_check_frequency_desc": "Hoe vaak het systeem controleert op verlopende garanties (globale instelling)",+ "apprise_title_prefix": "Berichtkop-prefix",+ "apprise_title_prefix_desc": "Prefix toegevoegd aan meldingstitels (bijv. \"[Warracker]\" resulteert in \"[Warracker] Garanties verlopen binnenkort\")",+ "apprise_test_url": "Test-URL (optioneel)",+ "apprise_test_url_desc": "Optioneel: URL voor het alleen verzenden van testmeldingen (wordt niet opgeslagen in de hoofdconfiguratie)",+ "save_apprise_settings": "Apprise-instellingen opslaan",+ "validate_urls": "URL's valideren",+ "send_expiration_notifications_now": "Vervaldatummeldingen nu verzenden",+ "apprise_current_status": "Huidige status",+ "apprise_urls_configured": "Geconfigureerde URL's:",+ "apprise_supported_services": "Ondersteunde services",+ "apprise_supported_services_desc": "Apprise ondersteunt meer dan 80 meldingsservices, waaronder: Discord, Slack, Telegram, E-mail (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify en nog veel meer.",+ "view_full_list_of_supported_services": "Volledige lijst van ondersteunde services bekijken",+ "ownership_management": "Eigendomsbeheer",+ "transfer_ownership": "Eigendom overdragen",+ "warning_title": "Waarschuwing:",+ "transfer_ownership_warning": "Applicatie-eigendom overdragen aan een andere beheerdersgebruiker. Deze actie is onomkeerbaar.",+ "transfer_ownership_desc": "Zodra het eigendom is overgedragen, wordt u een gewone beheerder en heeft de nieuwe eigenaar de uiteindelijke controle over de applicatie.",+ "select_new_owner": "Selecteer nieuwe eigenaar (moet een beheerder zijn)",+ "select_admin_user": "Selecteer een beheerdersgebruiker...",+ "transfer_ownership_button": "Eigendom overdragen",+ "transfer_ownership_irreversible": "Deze actie kan niet ongedaan worden gemaakt.",+ "transfer_ownership_confirmation": "U staat op het punt het applicatie-eigendom over te dragen aan",+ "after_this_transfer": "Na deze overdracht:",+ "transfer_ownership_consequence_1": "U wordt een gewone beheerder",+ "transfer_ownership_consequence_2": "De nieuwe eigenaar heeft de uiteindelijke controle over de applicatie",+ "transfer_ownership_consequence_3": "Alleen de nieuwe eigenaar kan het eigendom opnieuw overdragen",+ "transfer_ownership_type_to_confirm": "Typ \"TRANSFER\" in het onderstaande veld om te bevestigen:"+ },+ "actions": {+ "save": "Opslaan",+ "cancel": "Annuleren",+ "delete": "Verwijderen",+ "edit": "Bewerken",+ "export": "Exporteren",+ "import": "Importeren",+ "refresh": "Vernieuwen",+ "search": "Zoeken",+ "clear": "Wissen",+ "upload": "Uploaden",+ "download": "Downloaden",+ "manage_tags": "Tags beheren",+ "close": "Sluiten",+ "save_changes": "Wijzigingen opslaan"+ },+ "filters": {+ "all_status": "Alle statussen",+ "all_tags": "Alle tags",+ "all_vendors": "Alle leveranciers",+ "all_types": "Alle typen",+ "sort_by": "Sorteren op",+ "sort_expiration": "Vervaldatum",+ "sort_purchase": "Aankoopdatum",+ "sort_age": "Leeftijd",+ "sort_name": "Productnaam",+ "sort_vendor": "Leverancier",+ "sort_warranty_type": "Garantietype",+ "status": "Status",+ "tags": "Tags",+ "vendor": "Leverancier",+ "warranty_type": "Garantietype",+ "view": "Weergave",+ "scope": "Bereik"+ },+ "messages": {+ "success": "Succes",+ "error": "Fout",+ "warning": "Waarschuwing",+ "loading": "Laden...",+ "saved": "Wijzigingen succesvol opgeslagen",+ "deleted": "Item succesvol verwijderd",+ "confirm_delete": "Weet u zeker dat u dit item wilt verwijderen?",+ "no_results": "Geen resultaten gevonden",+ "file_too_large": "Bestand is te groot",+ "invalid_file_type": "Ongeldig bestandstype",+ "fill_first_last_name": "Vul a.u.b. voornaam en achternaam in",+ "email_cannot_be_empty": "E-mailadres kan niet leeg zijn.",+ "enter_valid_email": "Voer a.u.b. een geldig e-mailadres in.",+ "profile_updated_successfully": "Profiel succesvol bijgewerkt",+ "preferences_saved_successfully": "Voorkeuren succesvol opgeslagen.",+ "fill_password_fields": "Vul a.u.b. alle wachtwoordvelden in",+ "passwords_do_not_match": "De nieuwe wachtwoorden komen niet overeen",+ "password_min_length": "Wachtwoord moet minstens 8 tekens lang zijn",+ "type_delete_to_confirm": "Typ a.u.b. DELETE om te bevestigen",+ "account_deleted_successfully": "Account succesvol verwijderd",+ "account_cannot_delete_offline": "Account kan niet offline worden verwijderd",+ "failed_delete_account": "Kon account niet verwijderen. Probeer opnieuw.",+ "user_updated_successfully": "Gebruiker succesvol bijgewerkt",+ "user_deleted_successfully": "Gebruiker succesvol verwijderd",+ "user_id_missing": "Gebruikers-ID ontbreekt",+ "failed_load_users": "Kon gebruikers niet laden",+ "error_loading_users": "Fout bij het laden van gebruikers",+ "select_user_transfer_ownership": "Selecteer a.u.b. een gebruiker om eigendom naar over te dragen",+ "ownership_transferred_successfully": "Eigendom succesvol overgedragen! Pagina wordt vernieuwd...",+ "failed_load_site_settings": "Kon site-instellingen niet laden. Probeer opnieuw.",+ "invalid_email_base_url": "Ongeldig e-mail basis URL formaat. Moet beginnen met http:// of https://",+ "no_site_settings_to_save": "Geen site-instellingen om op te slaan.",+ "site_settings_saved_successfully": "Site-instellingen succesvol opgeslagen",+ "failed_save_site_settings": "Kon site-instellingen niet opslaan",+ "oidc_settings_saved_successfully": "OIDC-instellingen succesvol opgeslagen.",+ "failed_save_oidc_settings": "Kon OIDC-instellingen niet opslaan.",+ "api_endpoint_accessible": "API-eindpunt is toegankelijk",+ "api_endpoint_not_accessible": "API-eindpunt is niet toegankelijk. Status: ",+ "only_admins_send_notifications": "Alleen beheerders kunnen garantienotificaties verzenden",+ "notifications_triggered_successfully": "Meldingen succesvol geactiveerd",+ "notification_settings_saved_successfully": "Meldingsinstellingen succesvol opgeslagen",+ "apprise_settings_saved_successfully": "Apprise-instellingen succesvol opgeslagen",+ "test_notification_sent_successfully": "Testmelding succesvol verzonden",+ "no_urls_to_validate": "Geen URL's om te valideren",+ "paperless_settings_saved_successfully": "Paperless-ngx instellingen succesvol opgeslagen!",+ "enter_valid_paperless_url": "Voer a.u.b. een geldige URL in (bijv. https://paperless.uwdomein.com)",+ "enter_paperless_url_first": "Voer eerst a.u.b. een Paperless-ngx URL in",+ "paperless_connection_test_successful": "Paperless-ngx verbindingstest succesvol!",+ "paperless_connection_test_failed": "Paperless-ngx verbindingstest mislukt",+ "enter_api_token_test_connection": "Voer a.u.b. een API-token in om de verbinding te testen",+ "failed_load_user_data": "Kon gebruikersgegevens niet laden. Probeer opnieuw.",+ "could_not_connect_user_data": "Kon geen verbinding maken om gebruikersgegevens op te halen. Gecachte informatie wordt weergegeven.",+ "preferences_saved_locally_failed_sync": "Voorkeuren lokaal opgeslagen, maar kon niet synchroniseren met server: ",+ "preferences_saved_locally": "Voorkeuren lokaal opgeslagen.",+ "correct_errors_in_tab": "Corrigeer de fouten in het gemarkeerde tabblad voordat u doorgaat.",+ "please_fill_out_this_field": "Vul dit veld in."+ },+ "languages": {+ "en": "Engels",+ "fr": "Frans",+ "es": "Spaans",+ "de": "Duits",+ "it": "Italiaans",+ "cs": "Tsjechisch",+ "nl": "Nederlands",+ "hi": "Hindi",+ "fa": "Perzisch",+ "ar": "Arabisch",+ "ru": "Russisch",+ "uk": "Oekraïens",+ "zh_CN": "Chinees (vereenvoudigd)",+ "zh_HK": "Chinees (traditioneel)",+ "ja": "Japans",+ "pt": "Portugees",+ "ko": "Koreaans"+ },+ "status": {+ "title": "Systeemstatus",+ "dashboard_title": "Garantiestatusdashboard",+ "global_dashboard_title": "Globaal Garantiestatusdashboard",+ "overview": "Overzicht",+ "statistics": "Statistieken",+ "total_warranties": "Totaal aantal garanties",+ "active_warranties": "Actieve garanties",+ "expiring_soon": "Verloopt binnenkort",+ "expired_warranties": "Verlopen garanties",+ "warranty_distribution": "Garantieverdeling",+ "expiration_timeline": "Vervaltijdlijn",+ "recent_activity": "Recente activiteit",+ "recent_expirations": "Recent verlopen of binnenkort verlopend",+ "recent_expirations_empty": "Geen recent verlopen of binnenkort verlopende garanties.",+ "system_health": "Systeemgezondheid",+ "database_status": "Database-status",+ "connected": "Verbonden",+ "version": "Versie",+ "uptime": "Uptime"+ },+ "about": {+ "title": "Over Warracker",+ "description": "Een uitgebreid garantiebeheersysteem dat is ontworpen om u te helpen al uw productgaranties op één veilig, gebruiksvriendelijk platform te volgen, organiseren en beheren.",+ "version": "Versie",+ "update_status": "Updatestatus",+ "checking_updates": "Controleren op updates...",+ "view_release_notes": "Release-opmerkingen bekijken",+ "project_info": "Projectinformatie",+ "project_description": "Warracker is een open-source garantiebeheersysteem gebouwd met moderne webtechnologieën. Het biedt een veilige en intuïtieve manier om productgaranties te beheren, vervaldata te volgen en belangrijke documenten te organiseren.",+ "github_repository": "GitHub-repository",+ "releases": "Releases",+ "community_support": "Community & Ondersteuning",+ "community_description": "Word lid van onze community voor ondersteuning, discussies en updates. Meld bugs, vraag functies aan of krijg hulp van andere gebruikers en bijdragers.",+ "discord_community": "Discord-community",+ "report_issues": "Problemen melden",+ "developer_info": "Ontwikkelaarsinformatie",+ "developer_description": "Warracker wordt ontwikkeld en onderhouden door Sassanix. Het project is open-source en verwelkomt bijdragen van de community.",+ "sassanix": "Sassanix",+ "agpl_license": "AGPL-3.0-licentie",+ "support_project": "Steun het project",+ "support_description": "Als u Warracker nuttig vindt, overweeg dan om de ontwikkeling ervan te ondersteunen!",+ "new_version_available": "Nieuwe versie {{version}} beschikbaar!",+ "latest_version": "U gebruikt de nieuwste versie",+ "update_check_failed": "Kon niet controleren op updates",+ "features": "Functies",+ "feature_track": "Productgaranties volgen",+ "feature_notifications": "Vervalmeldingen ontvangen",+ "feature_documents": "Garantiedocumenten opslaan",+ "feature_reports": "Garantierapporten genereren",+ "feature_tags": "Organiseren met tags",+ "feature_export": "Garantiegegevens exporteren",+ "support": "Ondersteuning",+ "documentation": "Documentatie",+ "github": "GitHub",+ "license": "Licentie",+ "copyright": "Copyright",+ "developed_by": "Ontwikkeld door"+ }+}\ No newline at end of filediff --git a/locales/pt/translation.json b/locales/pt/translation.jsonnew file mode 100644index 0000000..e6121b8--- /dev/null+++ b/locales/pt/translation.json@@ -0,0 +1,551 @@+{+ "app_title": "Warracker",+ "subtitle": "Rastreador de Garantias",+ "nav": {+ "home": "Início",+ "status": "Status",+ "settings": "Configurações",+ "about": "Sobre"+ },+ "auth": {+ "login": "Login",+ "logout": "Sair",+ "register": "Registrar",+ "username": "Nome de usuário",+ "password": "Senha",+ "email": "E-mail",+ "first_name": "Nome",+ "last_name": "Sobrenome",+ "forgot_password": "Esqueceu a senha?",+ "reset_password": "Redefinir senha",+ "confirm_password": "Confirmar senha",+ "create_account_title": "Crie sua conta",+ "first_name_optional": "Nome (opcional)",+ "last_name_optional": "Sobrenome (opcional)",+ "username_hint": "O nome de usuário deve ser único e será usado para o login.",+ "email_address": "Endereço de e-mail",+ "toggle_password": "Mostrar/Ocultar senha",+ "password_hint_simple": "A senha deve ter pelo menos 8 caracteres e incluir letras maiúsculas, minúsculas e números.",+ "password_requirements": "Requisitos da senha:",+ "req_length": "Pelo menos 8 caracteres",+ "req_uppercase": "Pelo menos 1 letra maiúscula",+ "req_lowercase": "Pelo menos 1 letra minúscula",+ "req_number": "Pelo menos 1 número",+ "req_special": "Pelo menos 1 caractere especial",+ "create_account": "Criar conta",+ "already_have_account": "Já tem uma conta?",+ "reset_password_title": "Warracker - Redefinir senha",+ "reset_your_password": "Redefina sua senha",+ "reset_password_info": "Digite seu endereço de e-mail abaixo e enviaremos um link para redefinir sua senha.",+ "send_reset_link": "Enviar link de redefinição",+ "back_to_login": "Voltar para o login",+ "set_new_password_title": "Warracker - Definir nova senha",+ "set_new_password": "Definir nova senha",+ "new_password": "Nova senha",+ "confirm_new_password": "Confirmar nova senha",+ "invalid_or_expired_link": "Link inválido ou expirado",+ "invalid_link_info": "O link de redefinição de senha que você clicou é inválido ou expirou.",+ "request_new_reset_link": "Solicitar novo link de redefinição"+ },+ "warranties": {+ "title": "Suas Garantias",+ "title_global": "Garantias de Todos os Usuários",+ "add_new": "Adicionar Nova Garantia",+ "edit": "Editar Garantia",+ "delete": "Excluir Garantia",+ "product_name": "Nome do Produto",+ "purchase_date": "Data da Compra",+ "warranty_duration": "Duração da Garantia",+ "years": "Anos",+ "months": "Meses",+ "days": "Dias",+ "vendor": "Fornecedor",+ "serial_numbers": "Números de Série",+ "purchase_price": "Preço de Compra",+ "notes": "Notas",+ "tags": "Etiquetas",+ "status": "Status",+ "expiration_date": "Data de Expiração",+ "active": "Ativa",+ "expired": "Expirada",+ "expiring_soon": "Expirando em Breve",+ "lifetime": "Vitalícia",+ "no_warranties": "Nenhuma garantia ainda. Adicione sua primeira garantia para começar.",+ "search_placeholder": "Encontre por nome, fornecedores, notas, etiqueta ou número de série...",+ "warranty_type": "Tipo de Garantia",+ "other_document": "Outro Documento",+ "product": "Produto",+ "expiration": "Expiração",+ "actions": "Ações",+ "no_warranties_title": "Nenhuma garantia ainda",+ "no_warranties_desc": "Adicione sua primeira garantia para começar",+ "add_warranty": "Adicionar Garantia",+ "warranty_entry_method": "Método de Entrada da Garantia",+ "warranty_duration_option": "Duração da Garantia",+ "exact_expiration_option": "Data de Expiração Exata",+ "warranty_period": "Período de Garantia",+ "expiration_date_label": "Data de Expiração",+ "currency": "Moeda",+ "add_tags": "Adicionar Etiquetas",+ "add_tags_desc": "Etiquetas ajudam a organizar e filtrar suas garantias",+ "save_changes": "Salvar Alterações",+ "confirm_delete": "Confirmar Exclusão",+ "manage_tags": "Gerenciar Etiquetas",+ "add_tag": "Adicionar Etiqueta",+ "unknown_status": "Status Desconhecido",+ "expiring_soon_days": "Expirando em Breve ({{days}} {{dayText}})",+ "days_remaining": "Restam {{days}} {{dayText}}",+ "day_one": "dia",+ "day_other": "dias",+ "month_one": "mês",+ "month_other": "meses",+ "year_one": "ano",+ "year_other": "anos",+ "na": "N/A",+ "age": "Idade",+ "warranty": "Garantia",+ "warranty_ends": "A Garantia Termina",+ "price": "Preço",+ "serial_number": "Número de Série",+ "vendor": "Fornecedor",+ "type": "Tipo",+ "owner": "Proprietário",+ "product_website": "Site do Produto",+ "documents": "Documentos",+ "summary": "Resumo",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "Anos",+ "months_placeholder": "Meses",+ "days_placeholder": "Dias",+ "add_any_notes_placeholder": "Adicionar notas sobre esta garantia...",+ "product_url_optional": "URL do Produto (Opcional)",+ "enter_serial_number": "Digite o número de série",+ "vendor_optional": "Fornecedor (Opcional)",+ "vendor_placeholder": "ex: Amazon, Best Buy, etc.",+ "lifetime_warranty": "Garantia Vitalícia",+ "warranty_type_optional": "Tipo de Garantia (Opcional)",+ "select_warranty_type": "Selecione o tipo de garantia...",+ "standard": "Padrão",+ "extended": "Estendida",+ "manufacturer": "Fabricante",+ "third_party": "Terceiros",+ "store": "Loja",+ "premium": "Premium",+ "limited": "Limitada",+ "full": "Completa",+ "parts_only": "Apenas Peças",+ "labor_only": "Apenas Mão de Obra",+ "international": "Internacional",+ "accidental_damage": "Danos Acidentais",+ "other_custom": "Outro (Personalizado)",+ "enter_custom_warranty_type": "Digite o tipo de garantia personalizado",+ "purchase_price_optional": "Preço de Compra (Opcional)",+ "notes_optional": "Notas (Opcional)",+ "add_any_notes": "Adicione qualquer nota sobre esta garantia...",+ "product_photo_optional": "Foto do Produto (Opcional)",+ "choose_photo": "Escolher Foto",+ "invoice_receipt": "Fatura/Recibo",+ "store_locally": "Armazenar Localmente",+ "store_in_paperless": "Armazenar no Paperless-ngx",+ "choose_file": "Escolher Arquivo",+ "browse_paperless": "Navegar nos Documentos do Paperless-ngx",+ "product_manual_optional": "Manual do Produto (Opcional)",+ "files_zip_rar_optional": "Arquivos (ZIP/RAR, Opcional)",+ "search_or_add_new_tag": "Pesquisar ou adicionar nova etiqueta...",+ "product_information": "Informações do Produto",+ "product_url": "URL do Produto",+ "warranty_details": "Detalhes da Garantia",+ "product_photo": "Foto do Produto",+ "product_manual": "Manual do Produto",+ "files": "Arquivos",+ "selected_tags": "Etiquetas Selecionadas",+ "previous_tab": "Anterior",+ "next_tab": "Próximo",+ "delete_photo": "Excluir Foto",+ "delete_invoice": "Excluir Fatura",+ "delete_manual": "Excluir Manual",+ "delete_files": "Excluir Arquivos",+ "current_photo": "Foto atual:",+ "current_invoice": "Fatura atual:",+ "current_manual": "Manual atual:",+ "current_document": "Documento atual:",+ "upload_new_photo_replace": "(Carregue uma nova foto para substituir)",+ "no_photo_uploaded": "Nenhuma foto carregada",+ "no_invoice_uploaded": "Nenhuma fatura carregada",+ "no_manual_uploaded": "Nenhum manual carregado",+ "no_document_uploaded": "Nenhum outro documento carregado",+ "photo_will_be_deleted": "A foto será excluída ao salvar",+ "invoice_will_be_deleted": "A fatura será excluída ao salvar",+ "manual_will_be_deleted": "O manual será excluído ao salvar",+ "document_will_be_deleted": "O outro documento será excluído ao salvar",+ "confirm_delete_message": "Tem certeza de que deseja excluir esta garantia? Esta ação não pode ser desfeita.",+ "new_tag_name": "Novo nome da etiqueta",+ "existing_tags": "Etiquetas Existentes",+ "edit_warranty": "Editar Garantia",+ "warranty_type_standard": "Padrão",+ "warranty_type_extended": "Estendida",+ "warranty_type_manufacturer": "Fabricante",+ "warranty_type_third_party": "Terceiros",+ "warranty_type_store": "Loja",+ "warranty_type_premium": "Premium",+ "warranty_type_limited": "Limitada",+ "warranty_type_full": "Completa",+ "warranty_type_parts_only": "Apenas Peças",+ "warranty_type_labor_only": "Apenas Mão de Obra",+ "warranty_type_international": "Internacional",+ "warranty_type_accidental_damage": "Danos Acidentais",+ "warranty_type_other": "Outro (Personalizado)",+ "warranty_type_custom_placeholder": "Digite o tipo de garantia personalizado",+ "notes_placeholder": "Notas adicionais sobre esta garantia...",+ "tags_help_text": "Etiquetas ajudam a organizar e filtrar suas garantias",+ "search_add_tag_placeholder": "Pesquisar ou adicionar nova etiqueta...",+ "upload_new_file_replace": "Carregue um novo arquivo para substituir",+ "current_other_document": "Outro documento atual",+ "no_other_document_uploaded": "Nenhum outro documento carregado",+ "other_document_will_be_deleted": "O outro documento será excluído ao salvar",+ "files_optional": "Arquivos (ZIP/RAR, Opcional)",+ "invoice_receipt_short": "Fatura",+ "product_manual_short": "Manual",+ "files_short": "Arquivos",+ "enter_serial_number": "Inserir número de série",+ "add_serial_number": "Adicionar outro número de série"+ },+ "settings": {+ "title": "Configurações",+ "account_settings": "Configurações da Conta",+ "preferences": "Preferências",+ "language": "Idioma",+ "select_language": "Selecione o Idioma",+ "dark_mode": "Modo Escuro",+ "dark_mode_desc": "Alternar entre tema claro e escuro",+ "currency": "Moeda",+ "timezone": "Fuso Horário",+ "date_format": "Formato da Data",+ "expiring_soon_days": "Dias para Expirar em Breve",+ "save_changes": "Salvar Alterações",+ "current_user": "Editando Perfil de:",+ "your_email": "Seu e-mail:",+ "first_name": "Nome",+ "last_name": "Sobrenome",+ "email": "E-mail",+ "save_profile": "Salvar Alterações",+ "default_view": "Visualização Padrão",+ "default_view_desc": "Escolha sua visualização preferida para garantias",+ "grid_view": "Visualização em Grade",+ "list_view": "Visualização em Lista",+ "table_view": "Visualização em Tabela",+ "currency_symbol": "Símbolo da Moeda",+ "currency_symbol_desc": "Escolha o símbolo a ser exibido para preços",+ "currency_position": "Posição da Moeda",+ "currency_position_desc": "Escolha se o símbolo da moeda aparece à esquerda ou à direita dos números",+ "expiring_soon_days_desc": "Número de dias antes da expiração para mostrar avisos",+ "date_format_desc": "Escolha como as datas são exibidas",+ "save_preferences": "Salvar Preferências",+ "notification_settings": "Configurações de Notificação",+ "notification_channel": "Canal de Notificação",+ "notification_channel_desc": "Escolha como deseja receber notificações",+ "notification_disabled": "Desativado",+ "notification_email": "E-mail",+ "notification_apprise": "Apprise",+ "notification_both": "Ambos",+ "email_settings": "Configurações de E-mail",+ "notification_frequency": "Frequência de Notificação",+ "notification_frequency_desc": "Com que frequência receber notificações por e-mail",+ "daily": "Diariamente",+ "weekly": "Semanalmente",+ "monthly": "Mensalmente",+ "notification_time": "Hora da Notificação",+ "timezone_desc": "Seu fuso horário local para notificações",+ "apprise_settings": "Configurações do Apprise",+ "apprise_frequency": "Frequência de Notificação do Apprise",+ "apprise_frequency_desc": "Com que frequência receber notificações do Apprise",+ "apprise_time": "Hora da Notificação do Apprise",+ "apprise_timezone": "Fuso Horário do Apprise",+ "apprise_timezone_desc": "Seu fuso horário local para notificações do Apprise",+ "save_notification_settings": "Salvar Configurações de Notificação",+ "security": "Segurança",+ "change_password": "Alterar Senha",+ "change_password_desc": "Atualize a senha da sua conta",+ "change": "Alterar",+ "current_password": "Senha Atual",+ "new_password": "Nova Senha",+ "confirm_password": "Confirmar Nova Senha",+ "update_password": "Atualizar Senha",+ "cancel": "Cancelar",+ "danger_zone": "Zona de Perigo",+ "delete_account": "Excluir Conta",+ "delete_account_desc": "Excluir permanentemente sua conta e todos os dados",+ "admin_settings": "Configurações de Administrador",+ "admin_actions": "Ações de Administrador",+ "refresh_data": "Atualizar Dados",+ "check_admin_status": "Verificar Status de Administrador",+ "show_users_list": "Mostrar Lista de Usuários",+ "test_api": "Testar API",+ "send_notifications": "Enviar Notificações de Garantia",+ "check_scheduler": "Verificar Status do Agendador",+ "site_settings": "Configurações do Site",+ "registration_enabled": "Registro Habilitado",+ "registration_enabled_desc": "Permitir que novos usuários se registrem",+ "email_base_url": "URL Base do E-mail",+ "global_view_enabled": "Visualização Global Habilitada",+ "global_view_admin_only": "Visualização Global Apenas para Administradores",+ "save_site_settings": "Salvar Configurações do Site",+ "oidc_configuration": "Configuração OIDC SSO",+ "enable_oidc": "Habilitar OIDC SSO",+ "oidc_provider_name": "Nome do Provedor OIDC",+ "client_id": "ID do Cliente",+ "client_secret": "Segredo do Cliente",+ "issuer_url": "URL do Emissor",+ "scope": "Escopo",+ "save_oidc_settings": "Salvar Configurações OIDC",+ "oidc_sso_desc": "Permitir que os usuários façam login através de um provedor OIDC.",+ "oidc_only_mode": "Modo de Login Apenas OIDC",+ "oidc_only_mode_desc": "Ocultar o formulário de login tradicional de nome de usuário/senha e permitir apenas o login OIDC. <strong>Aviso:</strong> Certifique-se de que o OIDC esteja configurado corretamente antes de habilitar esta opção.",+ "oidc_provider_name_desc": "Nome interno para o cliente OIDC (ex: 'oidc').",+ "client_secret_desc": "Valor sensível. Armazenado no banco de dados. É necessário reiniciar a aplicação para que as alterações entrem em vigor.",+ "issuer_url_desc": "A URL base do seu provedor OIDC.",+ "scope_desc": "Escopos OIDC separados por espaço.",+ "oidc_restart_message": "É necessário reiniciar a aplicação para que as configurações OIDC entrem em vigor completamente.",+ "api_token": "Token da API",+ "view_documents": "Visualizar Documentos no Warracker",+ "connection_testing": "Teste de Conexão",+ "apprise_notifications": "Notificações do Apprise",+ "enable_apprise": "Habilitar Notificações do Apprise",+ "loading": "Carregando...",+ "time_of_day_notification": "Hora do dia para receber notificações (formato 24 horas)",+ "paperless_ngx_settings": "Configurações do Paperless-ngx",+ "paperless_ngx_about_title": "Sobre a Integração com o Paperless-ngx:",+ "paperless_ngx_about_desc": "Este recurso opcional permite que você armazene documentos de garantia em sua instância auto-hospedada do Paperless-ngx em vez de localmente. Quando habilitado, os usuários podem escolher onde armazenar cada documento: localmente ou no Paperless-ngx.",+ "paperless_ngx_desc": "Configure a integração com o sistema de gerenciamento de documentos Paperless-ngx",+ "enable_paperless": "Habilitar Integração com o Paperless-ngx",+ "paperless_url": "URL do Paperless-ngx",+ "paperless_url_desc": "URL base da sua instância do Paperless-ngx",+ "paperless_token": "Token da API",+ "paperless_token_desc": "Seu token de autenticação da API do Paperless-ngx",+ "paperless_token_desc_generate": "Gere um token de API em sua instância do Paperless-ngx (Configurações → Tokens de API).",+ "paperless_view_in_app": "Visualizar documentos no aplicativo",+ "paperless_view_in_app_desc": "Abrir documentos dentro do aplicativo em vez de em uma nova aba",+ "debug_config": "Configuração de Depuração",+ "test_upload": "Testar Upload",+ "save_paperless_settings": "Salvar Configurações do Paperless-ngx",+ "apprise_desc": "Configure o Apprise para entrega avançada de notificações para múltiplos serviços",+ "apprise_desc_system_wide": "Habilitar ou desabilitar as notificações do Apprise em todo o sistema",+ "apprise_not_available_title": "Apprise Não Disponível:",+ "apprise_not_available_desc": "A biblioteca de notificações Apprise não está instalada ou disponível. Os recursos de notificação estão desativados.",+ "apprise_url": "URL do Apprise",+ "apprise_url_desc": "A URL do seu serviço de notificação Apprise",+ "apprise_mode": "Modo de Notificação",+ "apprise_mode_desc": "Escolha quando enviar notificações do Apprise",+ "apprise_mode_global": "Resumo Global",+ "apprise_mode_individual": "Por Usuário",+ "test_paperless": "Testar Conexão com o Paperless",+ "test_apprise": "Testar Conexão com o Apprise",+ "apprise_warranty_scope": "Escopo da Garantia",+ "apprise_warranty_scope_desc": "Escolha quais garantias incluir nas notificações",+ "all_warranties": "Todas as Garantias",+ "personal_warranties": "Apenas Garantias Pessoais",+ "all_users_warranties": "Garantias de Todos os Usuários",+ "admin_warranties_only": "Apenas Garantias do Administrador",+ "apprise_notification_days": "Dias de Notificação",+ "apprise_notification_days_desc": "Dias antes da expiração para enviar notificações (separados por vírgula, ex: \"7,30\" para 7 e 30 dias antes)",+ "apprise_check_frequency": "Frequência de Verificação",+ "apprise_check_frequency_desc": "Com que frequência o sistema verifica garantias expirando (configuração global)",+ "apprise_title_prefix": "Prefixo do Título da Mensagem",+ "apprise_title_prefix_desc": "Prefixo adicionado aos títulos das notificações (ex: \"[Warracker]\" resulta em \"[Warracker] Garantias Expirando em Breve\")",+ "apprise_test_url": "URL de Teste (Opcional)",+ "apprise_test_url_desc": "Opcional: URL para enviar apenas notificações de teste (não será salvo na configuração principal)",+ "save_apprise_settings": "Salvar Configurações do Apprise",+ "validate_urls": "Validar URLs",+ "send_expiration_notifications_now": "Enviar Notificações de Expiração Agora",+ "apprise_current_status": "Status Atual",+ "apprise_urls_configured": "URLs Configurados:",+ "apprise_supported_services": "Serviços Suportados",+ "apprise_supported_services_desc": "O Apprise suporta mais de 80 serviços de notificação, incluindo: Discord, Slack, Telegram, E-mail (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify e muitos outros.",+ "view_full_list_of_supported_services": "Ver Lista Completa de Serviços Suportados",+ "ownership_management": "Gerenciamento de Propriedade",+ "transfer_ownership": "Transferir Propriedade",+ "warning_title": "Aviso:",+ "transfer_ownership_warning": "Transferir a propriedade da aplicação para outro usuário administrador. Esta ação é irreversível.",+ "transfer_ownership_desc": "Uma vez que a propriedade seja transferida, você se tornará um administrador regular e o novo proprietário terá controle total sobre a aplicação.",+ "select_new_owner": "Selecione o Novo Proprietário (deve ser um administrador)",+ "select_admin_user": "Selecione um usuário administrador...",+ "transfer_ownership_button": "Transferir Propriedade",+ "transfer_ownership_irreversible": "Esta ação não pode ser desfeita.",+ "transfer_ownership_confirmation": "Você está prestes a transferir a propriedade da aplicação para",+ "after_this_transfer": "Após esta transferência:",+ "transfer_ownership_consequence_1": "Você se tornará um administrador regular",+ "transfer_ownership_consequence_2": "O novo proprietário terá controle total sobre a aplicação",+ "transfer_ownership_consequence_3": "Apenas o novo proprietário poderá transferir a propriedade novamente",+ "transfer_ownership_type_to_confirm": "Para confirmar, digite \"TRANSFER\" no campo abaixo:"+ },+ "actions": {+ "save": "Salvar",+ "cancel": "Cancelar",+ "delete": "Excluir",+ "edit": "Editar",+ "export": "Exportar",+ "import": "Importar",+ "refresh": "Atualizar",+ "search": "Pesquisar",+ "clear": "Limpar",+ "upload": "Carregar",+ "download": "Baixar",+ "manage_tags": "Gerenciar Etiquetas",+ "close": "Fechar",+ "save_changes": "Salvar Alterações"+ },+ "filters": {+ "all_status": "Todos os Status",+ "all_tags": "Todas as Etiquetas",+ "all_vendors": "Todos os Fornecedores",+ "all_types": "Todos os Tipos",+ "sort_by": "Ordenar por",+ "sort_expiration": "Data de Expiração",+ "sort_purchase": "Data de Compra",+ "sort_age": "Idade",+ "sort_name": "Nome do Produto",+ "sort_vendor": "Fornecedor",+ "sort_warranty_type": "Tipo de Garantia",+ "status": "Status",+ "tags": "Etiquetas",+ "vendor": "Fornecedor",+ "warranty_type": "Tipo de Garantia",+ "view": "Visualização",+ "scope": "Escopo"+ },+ "messages": {+ "success": "Sucesso",+ "error": "Erro",+ "warning": "Aviso",+ "loading": "Carregando...",+ "saved": "Alterações salvas com sucesso",+ "deleted": "Item excluído com sucesso",+ "confirm_delete": "Tem certeza de que deseja excluir este item?",+ "no_results": "Nenhum resultado encontrado",+ "file_too_large": "O arquivo é muito grande",+ "invalid_file_type": "Tipo de arquivo inválido",+ "fill_first_last_name": "Por favor, preencha o Nome e Sobrenome",+ "email_cannot_be_empty": "O endereço de email não pode estar vazio.",+ "enter_valid_email": "Por favor, insira um endereço de email válido.",+ "profile_updated_successfully": "Perfil atualizado com sucesso",+ "preferences_saved_successfully": "Preferências salvas com sucesso.",+ "fill_password_fields": "Por favor, preencha todos os campos de senha",+ "passwords_do_not_match": "As novas senhas não coincidem",+ "password_min_length": "A senha deve ter pelo menos 8 caracteres",+ "type_delete_to_confirm": "Por favor, digite DELETE para confirmar",+ "account_deleted_successfully": "Conta excluída com sucesso",+ "account_cannot_delete_offline": "A conta não pode ser excluída no modo offline",+ "failed_delete_account": "Falha ao excluir a conta. Tente novamente.",+ "user_updated_successfully": "Usuário atualizado com sucesso",+ "user_deleted_successfully": "Usuário excluído com sucesso",+ "user_id_missing": "ID do usuário está faltando",+ "failed_load_users": "Falha ao carregar usuários",+ "error_loading_users": "Erro ao carregar usuários",+ "select_user_transfer_ownership": "Por favor, selecione um usuário para transferir a propriedade",+ "ownership_transferred_successfully": "Propriedade transferida com sucesso! Atualizando página...",+ "failed_load_site_settings": "Falha ao carregar configurações do site. Tente novamente.",+ "invalid_email_base_url": "Formato de URL base de email inválido. Deve começar com http:// ou https://",+ "no_site_settings_to_save": "Nenhuma configuração do site para salvar.",+ "site_settings_saved_successfully": "Configurações do site salvas com sucesso",+ "failed_save_site_settings": "Falha ao salvar configurações do site",+ "oidc_settings_saved_successfully": "Configurações OIDC salvas com sucesso.",+ "failed_save_oidc_settings": "Falha ao salvar configurações OIDC.",+ "api_endpoint_accessible": "Endpoint da API está acessível",+ "api_endpoint_not_accessible": "Endpoint da API não está acessível. Status: ",+ "only_admins_send_notifications": "Apenas administradores podem enviar notificações de garantia",+ "notifications_triggered_successfully": "Notificações disparadas com sucesso",+ "notification_settings_saved_successfully": "Configurações de notificação salvas com sucesso",+ "apprise_settings_saved_successfully": "Configurações do Apprise salvas com sucesso",+ "test_notification_sent_successfully": "Notificação de teste enviada com sucesso",+ "no_urls_to_validate": "Nenhuma URL para validar",+ "paperless_settings_saved_successfully": "Configurações do Paperless-ngx salvas com sucesso!",+ "enter_valid_paperless_url": "Por favor, insira uma URL válida (ex: https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "Por favor, insira primeiro a URL do Paperless-ngx",+ "paperless_connection_test_successful": "Teste de conexão do Paperless-ngx bem-sucedido!",+ "paperless_connection_test_failed": "Teste de conexão do Paperless-ngx falhou",+ "enter_api_token_test_connection": "Por favor, insira um token de API para testar a conexão",+ "failed_load_user_data": "Falha ao carregar dados do usuário. Tente novamente.",+ "could_not_connect_user_data": "Não foi possível conectar para buscar dados do usuário. Exibindo informações em cache.",+ "preferences_saved_locally_failed_sync": "Preferências salvas localmente, mas falha ao sincronizar com o servidor: ",+ "preferences_saved_locally": "Preferências salvas localmente.",+ "correct_errors_in_tab": "Por favor, corrija os erros na aba destacada antes de continuar.",+ "please_fill_out_this_field": "Por favor, preencha este campo."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português"+ },+ "status": {+ "title": "Status do Sistema",+ "dashboard_title": "Painel de Status da Garantia",+ "global_dashboard_title": "Painel de Status da Garantia Global",+ "overview": "Visão Geral",+ "statistics": "Estatísticas",+ "total_warranties": "Total de Garantias",+ "active_warranties": "Garantias Ativas",+ "expiring_soon": "Expirando em Breve",+ "expired_warranties": "Garantias Expiradas",+ "warranty_distribution": "Distribuição de Garantias",+ "expiration_timeline": "Linha do Tempo de Expiração",+ "recent_activity": "Atividade Recente",+ "recent_expirations": "Expiradas Recentemente ou Expirando em Breve",+ "recent_expirations_empty": "Nenhuma garantia expirada recentemente ou expirando em breve.",+ "system_health": "Saúde do Sistema",+ "database_status": "Status do Banco de Dados",+ "connected": "Conectado",+ "version": "Versão",+ "uptime": "Tempo de Atividade"+ },+ "about": {+ "title": "Sobre o Warracker",+ "description": "Um sistema abrangente de gerenciamento de garantias projetado para ajudá-lo a rastrear, organizar e gerenciar todas as garantias de seus produtos em uma plataforma segura e fácil de usar.",+ "version": "Versão",+ "update_status": "Status da Atualização",+ "checking_updates": "Verificando atualizações...",+ "view_release_notes": "Ver Notas de Lançamento",+ "project_info": "Informações do Projeto",+ "project_description": "Warracker é um sistema de gerenciamento de garantias de código aberto construído com tecnologias web modernas. Ele fornece uma maneira segura e intuitiva de gerenciar garantias de produtos, rastrear datas de expiração e organizar documentos importantes.",+ "github_repository": "Repositório GitHub",+ "releases": "Lançamentos",+ "community_support": "Comunidade e Suporte",+ "community_description": "Junte-se à nossa comunidade para suporte, discussões e atualizações. Relate bugs, solicite recursos ou obtenha ajuda de outros usuários e contribuidores.",+ "discord_community": "Comunidade Discord",+ "report_issues": "Relatar Problemas",+ "developer_info": "Informações do Desenvolvedor",+ "developer_description": "Warracker é desenvolvido e mantido por Sassanix. O projeto é de código aberto e acolhe contribuições da comunidade.",+ "sassanix": "Sassanix",+ "agpl_license": "Licença AGPL-3.0",+ "support_project": "Apoie o Projeto",+ "support_description": "Se você acha o Warracker útil, considere apoiar seu desenvolvimento!",+ "new_version_available": "Nova versão {{version}} disponível!",+ "latest_version": "Você está usando a versão mais recente",+ "update_check_failed": "Falha ao verificar atualizações",+ "features": "Recursos",+ "feature_track": "Rastrear garantias de produtos",+ "feature_notifications": "Receber notificações de expiração",+ "feature_documents": "Armazenar documentos de garantia",+ "feature_reports": "Gerar relatórios de garantia",+ "feature_tags": "Organizar com etiquetas",+ "feature_export": "Exportar dados de garantia",+ "support": "Suporte",+ "documentation": "Documentação",+ "github": "Repositório GitHub",+ "license": "Licença",+ "copyright": "Direitos Autorais",+ "developed_by": "Desenvolvido por"+ }+}diff --git a/locales/ru/translation.json b/locales/ru/translation.jsonnew file mode 100644index 0000000..097ef0a--- /dev/null+++ b/locales/ru/translation.json@@ -0,0 +1,558 @@+{+ "app_title": "Warracker",+ "subtitle": "Трекер гарантий",+ "nav": {+ "home": "Главная",+ "status": "Статус",+ "settings": "Настройки",+ "about": "О программе"+ },+ "auth": {+ "login": "Войти",+ "logout": "Выйти",+ "register": "Регистрация",+ "username": "Имя пользователя",+ "password": "Пароль",+ "email": "Электронная почта",+ "first_name": "Имя",+ "last_name": "Фамилия",+ "forgot_password": "Забыли пароль?",+ "reset_password": "Сбросить пароль",+ "confirm_password": "Подтвердите пароль",+ "create_account_title": "Создать аккаунт",+ "first_name_optional": "Имя (необязательно)",+ "last_name_optional": "Фамилия (необязательно)",+ "username_hint": "Имя пользователя должно быть уникальным и будет использоваться для входа.",+ "email_address": "Адрес электронной почты",+ "toggle_password": "Показать/скрыть пароль",+ "password_hint_simple": "Пароль должен содержать не менее 8 символов, включая заглавные и строчные буквы, а также цифры.",+ "password_requirements": "Требования к паролю:",+ "req_length": "Не менее 8 символов",+ "req_uppercase": "Не менее 1 заглавной буквы",+ "req_lowercase": "Не менее 1 строчной буквы",+ "req_number": "Не менее 1 цифры",+ "req_special": "Не менее 1 специального символа",+ "create_account": "Создать аккаунт",+ "already_have_account": "Уже есть аккаунт?",+ "reset_password_title": "Warracker - Сброс пароля",+ "reset_your_password": "Сбросить ваш пароль",+ "reset_password_info": "Введите свой адрес электронной почты ниже, и мы вышлем вам ссылку для сброса пароля.",+ "send_reset_link": "Отправить ссылку для сброса",+ "back_to_login": "Вернуться ко входу",+ "set_new_password_title": "Warracker - Установить новый пароль",+ "set_new_password": "Установить новый пароль",+ "new_password": "Новый пароль",+ "confirm_new_password": "Подтвердите новый пароль",+ "invalid_or_expired_link": "Неверная или истекшая ссылка",+ "invalid_link_info": "Ссылка для сброса пароля, по которой вы перешли, недействительна или истекла.",+ "request_new_reset_link": "Запросить новую ссылку для сброса"+ },+ "warranties": {+ "title": "Ваши гарантии",+ "title_global": "Гарантии всех пользователей",+ "add_new": "Добавить новую гарантию",+ "edit": "Редактировать гарантию",+ "delete": "Удалить гарантию",+ "product_name": "Название продукта",+ "purchase_date": "Дата покупки",+ "warranty_duration": "Срок гарантии",+ "years": "Годы",+ "months": "Месяцы",+ "days": "Дни",+ "vendor": "Продавец",+ "serial_numbers": "Серийные номера",+ "purchase_price": "Цена покупки",+ "notes": "Заметки",+ "tags": "Теги",+ "status": "Статус",+ "expiration_date": "Дата окончания",+ "active": "Активна",+ "expired": "Истекла",+ "expiring_soon": "Скоро истекает",+ "lifetime": "Пожизненная",+ "no_warranties": "Гарантий пока нет. Добавьте свою первую гарантию, чтобы начать.",+ "search_placeholder": "Поиск по названию, продавцам, заметкам, тегу или серийному номеру...",+ "warranty_type": "Тип гарантии",+ "other_document": "Другой документ",+ "product": "Продукт",+ "expiration": "Окончание",+ "actions": "Действия",+ "no_warranties_title": "Гарантий пока нет",+ "no_warranties_desc": "Добавьте свою первую гарантию, чтобы начать",+ "add_warranty": "Добавить гарантию",+ "warranty_entry_method": "Метод ввода гарантии",+ "warranty_duration_option": "Срок гарантии",+ "exact_expiration_option": "Точная дата окончания",+ "warranty_period": "Гарантийный период",+ "expiration_date_label": "Дата окончания",+ "currency": "Валюта",+ "add_tags": "Добавить теги",+ "add_tags_desc": "Теги помогают упорядочивать и фильтровать ваши гарантии",+ "save_changes": "Сохранить изменения",+ "confirm_delete": "Подтвердить удаление",+ "manage_tags": "Управление тегами",+ "add_tag": "Добавить тег",+ "unknown_status": "Неизвестный статус",+ "expiring_soon_days": "Скоро истекает ({{days}} {{dayText}})",+ "days_remaining": "Осталось {{days}} {{dayText}}",+ "day_one": "день",+ "day_few": "дня",+ "day_many": "дней",+ "day_other": "дня",+ "month_one": "месяц",+ "month_few": "месяца",+ "month_many": "месяцев",+ "month_other": "месяца",+ "year_one": "год",+ "year_few": "года",+ "year_many": "лет",+ "year_other": "года",+ "na": "Н/Д",+ "age": "Возраст",+ "warranty": "Гарантия",+ "warranty_ends": "Гарантия заканчивается",+ "price": "Цена",+ "serial_number": "Серийный номер",+ "vendor": "Продавец",+ "type": "Тип",+ "owner": "Владелец",+ "product_website": "Сайт продукта",+ "documents": "Документы",+ "summary": "Сводка",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "Годы",+ "months_placeholder": "Месяцы",+ "days_placeholder": "Дни",+ "add_any_notes_placeholder": "Добавьте заметки об этой гарантии...",+ "product_url_optional": "URL продукта (необязательно)",+ "enter_serial_number": "Введите серийный номер",+ "vendor_optional": "Продавец (необязательно)",+ "vendor_placeholder": "например, Amazon, Best Buy и т.д.",+ "lifetime_warranty": "Пожизненная гарантия",+ "warranty_type_optional": "Тип гарантии (необязательно)",+ "select_warranty_type": "Выберите тип гарантии...",+ "standard": "Стандартная",+ "extended": "Расширенная",+ "manufacturer": "От производителя",+ "third_party": "От третьей стороны",+ "store": "Магазинная",+ "premium": "Премиум",+ "limited": "Ограниченная",+ "full": "Полная",+ "parts_only": "Только на запчасти",+ "labor_only": "Только на работы",+ "international": "Международная",+ "accidental_damage": "От случайных повреждений",+ "other_custom": "Другой (пользовательский)",+ "enter_custom_warranty_type": "Введите пользовательский тип гарантии",+ "purchase_price_optional": "Цена покупки (необязательно)",+ "notes_optional": "Заметки (необязательно)",+ "add_any_notes": "Добавьте любые заметки об этой гарантии...",+ "product_photo_optional": "Фото продукта (необязательно)",+ "choose_photo": "Выберите фото",+ "invoice_receipt": "Счет/Чек",+ "store_locally": "Хранить локально",+ "store_in_paperless": "Хранить в Paperless-ngx",+ "choose_file": "Выберите файл",+ "browse_paperless": "Обзор документов Paperless-ngx",+ "product_manual_optional": "Руководство по продукту (необязательно)",+ "files_zip_rar_optional": "Файлы (ZIP/RAR, необязательно)",+ "search_or_add_new_tag": "Искать или добавить новый тег...",+ "product_information": "Информация о продукте",+ "product_url": "URL продукта",+ "warranty_details": "Детали гарантии",+ "product_photo": "Фото продукта",+ "product_manual": "Руководство по продукту",+ "files": "Файлы",+ "selected_tags": "Выбранные теги",+ "previous_tab": "Назад",+ "next_tab": "Далее",+ "delete_photo": "Удалить фото",+ "delete_invoice": "Удалить счет",+ "delete_manual": "Удалить руководство",+ "delete_files": "Удалить файлы",+ "current_photo": "Текущее фото:",+ "current_invoice": "Текущий счет:",+ "current_manual": "Текущее руководство:",+ "current_document": "Текущий документ:",+ "upload_new_photo_replace": "(Загрузите новое фото для замены)",+ "no_photo_uploaded": "Фото не загружено",+ "no_invoice_uploaded": "Счет не загружен",+ "no_manual_uploaded": "Руководство не загружено",+ "no_document_uploaded": "Другой документ не загружен",+ "photo_will_be_deleted": "Фото будет удалено при сохранении",+ "invoice_will_be_deleted": "Счет будет удален при сохранении",+ "manual_will_be_deleted": "Руководство будет удалено при сохранении",+ "document_will_be_deleted": "Другой документ будет удален при сохранении",+ "confirm_delete_message": "Вы уверены, что хотите удалить эту гарантию? Это действие нельзя отменить.",+ "new_tag_name": "Новое имя тега",+ "existing_tags": "Существующие теги",+ "edit_warranty": "Редактировать гарантию",+ "warranty_type_standard": "Стандартная",+ "warranty_type_extended": "Расширенная",+ "warranty_type_manufacturer": "От производителя",+ "warranty_type_third_party": "От третьей стороны",+ "warranty_type_store": "Магазинная",+ "warranty_type_premium": "Премиум",+ "warranty_type_limited": "Ограниченная",+ "warranty_type_full": "Полная",+ "warranty_type_parts_only": "Только на запчасти",+ "warranty_type_labor_only": "Только на работы",+ "warranty_type_international": "Международная",+ "warranty_type_accidental_damage": "От случайных повреждений",+ "warranty_type_other": "Другой (пользовательский)",+ "warranty_type_custom_placeholder": "Введите пользовательский тип гарантии",+ "notes_placeholder": "Дополнительные заметки об этой гарантии...",+ "tags_help_text": "Теги помогают упорядочивать и фильтровать ваши гарантии",+ "search_add_tag_placeholder": "Искать или добавить новый тег...",+ "upload_new_file_replace": "Загрузите новый файл для замены",+ "current_other_document": "Текущий другой документ",+ "no_other_document_uploaded": "Другой документ не загружен",+ "other_document_will_be_deleted": "Другой документ будет удален при сохранении",+ "files_optional": "Файлы (ZIP/RAR, необязательно)",+ "invoice_receipt_short": "Счет",+ "product_manual_short": "Руководство",+ "files_short": "Файлы",+ "enter_serial_number": "Введите серийный номер",+ "add_serial_number": "Добавить еще один серийный номер"+ },+ "settings": {+ "title": "Настройки",+ "account_settings": "Настройки аккаунта",+ "preferences": "Предпочтения",+ "language": "Язык",+ "select_language": "Выберите язык",+ "dark_mode": "Темный режим",+ "dark_mode_desc": "Переключение между светлой и темной темой",+ "currency": "Валюта",+ "timezone": "Часовой пояс",+ "date_format": "Формат даты",+ "expiring_soon_days": "Дни до истечения срока",+ "save_changes": "Сохранить изменения",+ "current_user": "Редактирование профиля для:",+ "your_email": "Ваш email:",+ "first_name": "Имя",+ "last_name": "Фамилия",+ "email": "Электронная почта",+ "save_profile": "Сохранить изменения",+ "default_view": "Вид по умолчанию",+ "default_view_desc": "Выберите предпочитаемый вид для гарантий",+ "grid_view": "Сетка",+ "list_view": "Список",+ "table_view": "Таблица",+ "currency_symbol": "Символ валюты",+ "currency_symbol_desc": "Выберите символ для отображения цен",+ "currency_position": "Позиция валюты",+ "currency_position_desc": "Выберите, где будет отображаться символ валюты",+ "expiring_soon_days_desc": "Количество дней до истечения срока для отображения предупреждений",+ "date_format_desc": "Выберите, как будут отображаться даты",+ "save_preferences": "Сохранить предпочтения",+ "notification_settings": "Настройки уведомлений",+ "notification_channel": "Канал уведомлений",+ "notification_channel_desc": "Выберите, как вы хотите получать уведомления",+ "notification_disabled": "Отключено",+ "notification_email": "Электронная почта",+ "notification_apprise": "Apprise",+ "notification_both": "Оба",+ "email_settings": "Настройки электронной почты",+ "notification_frequency": "Частота уведомлений",+ "notification_frequency_desc": "Как часто получать уведомления по электронной почте",+ "daily": "Ежедневно",+ "weekly": "Еженедельно",+ "monthly": "Ежемесячно",+ "notification_time": "Время уведомлений",+ "timezone_desc": "Ваш местный часовой пояс для уведомлений",+ "apprise_settings": "Настройки Apprise",+ "apprise_frequency": "Частота уведомлений Apprise",+ "apprise_frequency_desc": "Как часто получать уведомления Apprise",+ "apprise_time": "Время уведомлений Apprise",+ "apprise_timezone": "Часовой пояс Apprise",+ "apprise_timezone_desc": "Ваш местный часовой пояс для уведомлений Apprise",+ "save_notification_settings": "Сохранить настройки уведомлений",+ "security": "Безопасность",+ "change_password": "Изменить пароль",+ "change_password_desc": "Обновите пароль вашей учетной записи",+ "change": "Изменить",+ "current_password": "Текущий пароль",+ "new_password": "Новый пароль",+ "confirm_password": "Подтвердите новый пароль",+ "update_password": "Обновить пароль",+ "cancel": "Отмена",+ "danger_zone": "Опасная зона",+ "delete_account": "Удалить аккаунт",+ "delete_account_desc": "Навсегда удалить вашу учетную запись и все данные",+ "admin_settings": "Настройки администратора",+ "admin_actions": "Действия администратора",+ "refresh_data": "Обновить данные",+ "check_admin_status": "Проверить статус администратора",+ "show_users_list": "Показать список пользователей",+ "test_api": "Тестировать API",+ "send_notifications": "Отправить уведомления о гарантиях",+ "check_scheduler": "Проверить статус планировщика",+ "site_settings": "Настройки сайта",+ "registration_enabled": "Регистрация включена",+ "registration_enabled_desc": "Разрешить новым пользователям регистрироваться",+ "email_base_url": "Базовый URL для email",+ "global_view_enabled": "Глобальный вид включен",+ "global_view_admin_only": "Глобальный вид только для администраторов",+ "save_site_settings": "Сохранить настройки сайта",+ "oidc_configuration": "Конфигурация OIDC SSO",+ "enable_oidc": "Включить OIDC SSO",+ "oidc_provider_name": "Имя провайдера OIDC",+ "client_id": "ID клиента",+ "client_secret": "Секрет клиента",+ "issuer_url": "URL издателя",+ "scope": "Область",+ "save_oidc_settings": "Сохранить настройки OIDC",+ "oidc_sso_desc": "Разрешить пользователям входить через провайдера OIDC.",+ "oidc_only_mode": "Режим входа только через OIDC",+ "oidc_only_mode_desc": "Скрыть традиционную форму входа с именем пользователя/паролем и разрешить вход только через OIDC. <strong>Внимание:</strong> Убедитесь, что OIDC правильно настроен, прежде чем включать эту опцию.",+ "oidc_provider_name_desc": "Внутреннее имя для клиента OIDC (например, 'oidc').",+ "client_secret_desc": "Конфиденциальное значение. Хранится в базе данных. Для вступления изменений в силу требуется перезапуск приложения.",+ "issuer_url_desc": "Базовый URL вашего провайдера OIDC.",+ "scope_desc": "Области OIDC, разделенные пробелами.",+ "oidc_restart_message": "Для полного вступления настроек OIDC в силу требуется перезапуск приложения.",+ "api_token": "API токен",+ "view_documents": "Просмотр документов в Warracker",+ "connection_testing": "Тестирование соединения",+ "apprise_notifications": "Уведомления Apprise",+ "enable_apprise": "Включить уведомления Apprise",+ "loading": "Загрузка...",+ "time_of_day_notification": "Время суток для получения уведомлений (в 24-часовом формате)",+ "paperless_ngx_settings": "Настройки Paperless-ngx",+ "paperless_ngx_about_title": "Об интеграции с Paperless-ngx:",+ "paperless_ngx_about_desc": "Эта необязательная функция позволяет хранить гарантийные документы в вашем собственном экземпляре Paperless-ngx вместо локального хранения. При включении пользователи могут выбирать, где хранить каждый документ: локально или в Paperless-ngx.",+ "paperless_ngx_desc": "Настройте интеграцию с системой управления документами Paperless-ngx",+ "enable_paperless": "Включить интеграцию с Paperless-ngx",+ "paperless_url": "URL Paperless-ngx",+ "paperless_url_desc": "Базовый URL вашего экземпляра Paperless-ngx",+ "paperless_token": "API токен",+ "paperless_token_desc": "Ваш токен аутентификации API Paperless-ngx",+ "paperless_token_desc_generate": "Создайте токен API в вашем экземпляре Paperless-ngx (Настройки → API токены).",+ "paperless_view_in_app": "Просмотр документов в приложении",+ "paperless_view_in_app_desc": "Открывать документы внутри приложения вместо новой вкладки",+ "debug_config": "Отладочная конфигурация",+ "test_upload": "Тестовая загрузка",+ "save_paperless_settings": "Сохранить настройки Paperless-ngx",+ "apprise_desc": "Настройте Apprise для расширенной доставки уведомлений в несколько сервисов",+ "apprise_desc_system_wide": "Включить или отключить уведомления Apprise для всей системы",+ "apprise_not_available_title": "Apprise недоступен:",+ "apprise_not_available_desc": "Библиотека уведомлений Apprise не установлена или недоступна. Функции уведомлений отключены.",+ "apprise_url": "URL Apprise",+ "apprise_url_desc": "URL вашего сервиса уведомлений Apprise",+ "apprise_mode": "Режим уведомлений",+ "apprise_mode_desc": "Выберите, когда отправлять уведомления Apprise",+ "apprise_mode_global": "Глобальная сводка",+ "apprise_mode_individual": "Для каждого пользователя",+ "test_paperless": "Тестировать соединение с Paperless",+ "test_apprise": "Тестировать соединение с Apprise",+ "apprise_warranty_scope": "Область гарантий",+ "apprise_warranty_scope_desc": "Выберите, какие гарантии включать в уведомления",+ "all_warranties": "Все гарантии",+ "personal_warranties": "Только личные гарантии",+ "all_users_warranties": "Гарантии всех пользователей",+ "admin_warranties_only": "Только гарантии администратора",+ "apprise_notification_days": "Дни уведомлений",+ "apprise_notification_days_desc": "Дни до истечения срока для отправки уведомлений (через запятую, например, \"7,30\" для 7 и 30 дней до)",+ "apprise_check_frequency": "Частота проверки",+ "apprise_check_frequency_desc": "Как часто система проверяет истекающие гарантии (глобальная настройка)",+ "apprise_title_prefix": "Префикс заголовка сообщения",+ "apprise_title_prefix_desc": "Префикс, добавляемый к заголовкам уведомлений (например, \"[Warracker]\" приведет к \"[Warracker] Гарантии скоро истекают\")",+ "apprise_test_url": "Тестовый URL (необязательно)",+ "apprise_test_url_desc": "Необязательно: URL для отправки только тестовых уведомлений (не будет сохранен в основной конфигурации)",+ "save_apprise_settings": "Сохранить настройки Apprise",+ "validate_urls": "Проверить URL",+ "send_expiration_notifications_now": "Отправить уведомления об истечении срока сейчас",+ "apprise_current_status": "Текущий статус",+ "apprise_urls_configured": "Настроенные URL:",+ "apprise_supported_services": "Поддерживаемые сервисы",+ "apprise_supported_services_desc": "Apprise поддерживает более 80 сервисов уведомлений, включая: Discord, Slack, Telegram, Email (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify и многие другие.",+ "view_full_list_of_supported_services": "Посмотреть полный список поддерживаемых сервисов",+ "ownership_management": "Управление владением",+ "transfer_ownership": "Передать владение",+ "warning_title": "Внимание:",+ "transfer_ownership_warning": "Передать владение приложением другому администратору. Это действие необратимо.",+ "transfer_ownership_desc": "После передачи владения вы станете обычным администратором, а новый владелец получит полный контроль над приложением.",+ "select_new_owner": "Выберите нового владельца (должен быть администратором)",+ "select_admin_user": "Выберите пользователя-администратора...",+ "transfer_ownership_button": "Передать владение",+ "transfer_ownership_irreversible": "Это действие нельзя отменить.",+ "transfer_ownership_confirmation": "Вы собираетесь передать владение приложением",+ "after_this_transfer": "После этой передачи:",+ "transfer_ownership_consequence_1": "Вы станете обычным администратором",+ "transfer_ownership_consequence_2": "Новый владелец получит полный контроль над приложением",+ "transfer_ownership_consequence_3": "Только новый владелец сможет снова передать владение",+ "transfer_ownership_type_to_confirm": "Для подтверждения введите \"TRANSFER\" в поле ниже:"+ },+ "actions": {+ "save": "Сохранить",+ "cancel": "Отмена",+ "delete": "Удалить",+ "edit": "Редактировать",+ "export": "Экспорт",+ "import": "Импорт",+ "refresh": "Обновить",+ "search": "Поиск",+ "clear": "Очистить",+ "upload": "Загрузить",+ "download": "Скачать",+ "manage_tags": "Управление тегами",+ "close": "Закрыть",+ "save_changes": "Сохранить изменения"+ },+ "filters": {+ "all_status": "Все статусы",+ "all_tags": "Все теги",+ "all_vendors": "Все продавцы",+ "all_types": "Все типы",+ "sort_by": "Сортировать по",+ "sort_expiration": "Дата окончания",+ "sort_purchase": "Дата покупки",+ "sort_age": "Возраст",+ "sort_name": "Название продукта",+ "sort_vendor": "Продавец",+ "sort_warranty_type": "Тип гарантии",+ "status": "Статус",+ "tags": "Теги",+ "vendor": "Продавец",+ "warranty_type": "Тип гарантии",+ "view": "Вид",+ "scope": "Область"+ },+ "messages": {+ "success": "Успех",+ "error": "Ошибка",+ "warning": "Предупреждение",+ "loading": "Загрузка...",+ "saved": "Изменения успешно сохранены",+ "deleted": "Элемент успешно удален",+ "confirm_delete": "Вы уверены, что хотите удалить этот элемент?",+ "no_results": "Результатов не найдено",+ "file_too_large": "Файл слишком большой",+ "invalid_file_type": "Неверный тип файла",+ "fill_first_last_name": "Пожалуйста, заполните имя и фамилию",+ "email_cannot_be_empty": "Адрес электронной почты не может быть пустым.",+ "enter_valid_email": "Пожалуйста, введите действительный адрес электронной почты.",+ "profile_updated_successfully": "Профиль успешно обновлен",+ "preferences_saved_successfully": "Настройки успешно сохранены.",+ "fill_password_fields": "Пожалуйста, заполните все поля пароля",+ "passwords_do_not_match": "Новые пароли не совпадают",+ "password_min_length": "Пароль должен содержать не менее 8 символов",+ "type_delete_to_confirm": "Пожалуйста, введите DELETE для подтверждения",+ "account_deleted_successfully": "Аккаунт успешно удален",+ "account_cannot_delete_offline": "Аккаунт нельзя удалить в автономном режиме",+ "failed_delete_account": "Не удалось удалить аккаунт. Пожалуйста, попробуйте еще раз.",+ "user_updated_successfully": "Пользователь успешно обновлен",+ "user_deleted_successfully": "Пользователь успешно удален",+ "user_id_missing": "Отсутствует ID пользователя",+ "failed_load_users": "Не удалось загрузить пользователей",+ "error_loading_users": "Ошибка при загрузке пользователей",+ "select_user_transfer_ownership": "Пожалуйста, выберите пользователя для передачи владения",+ "ownership_transferred_successfully": "Владение успешно передано! Обновление страницы...",+ "failed_load_site_settings": "Не удалось загрузить настройки сайта. Пожалуйста, попробуйте еще раз.",+ "invalid_email_base_url": "Неверный формат базового URL электронной почты. Должен начинаться с http:// или https://",+ "no_site_settings_to_save": "Нет настроек сайта для сохранения.",+ "site_settings_saved_successfully": "Настройки сайта успешно сохранены",+ "failed_save_site_settings": "Не удалось сохранить настройки сайта",+ "oidc_settings_saved_successfully": "Настройки OIDC успешно сохранены.",+ "failed_save_oidc_settings": "Не удалось сохранить настройки OIDC.",+ "api_endpoint_accessible": "API-конечная точка доступна",+ "api_endpoint_not_accessible": "API-конечная точка недоступна. Статус: ",+ "only_admins_send_notifications": "Только администраторы могут отправлять уведомления о гарантиях",+ "notifications_triggered_successfully": "Уведомления успешно запущены",+ "notification_settings_saved_successfully": "Настройки уведомлений успешно сохранены",+ "apprise_settings_saved_successfully": "Настройки Apprise успешно сохранены",+ "test_notification_sent_successfully": "Тестовое уведомление успешно отправлено",+ "no_urls_to_validate": "Нет URL для проверки",+ "paperless_settings_saved_successfully": "Настройки Paperless-ngx успешно сохранены!",+ "enter_valid_paperless_url": "Пожалуйста, введите действительный URL (например, https://paperless.ваш-домен.com)",+ "enter_paperless_url_first": "Пожалуйста, сначала введите URL Paperless-ngx",+ "paperless_connection_test_successful": "Тест подключения Paperless-ngx успешен!",+ "paperless_connection_test_failed": "Тест подключения Paperless-ngx не удался",+ "enter_api_token_test_connection": "Пожалуйста, введите API-токен для тестирования подключения",+ "failed_load_user_data": "Не удалось загрузить данные пользователя. Пожалуйста, попробуйте еще раз.",+ "could_not_connect_user_data": "Не удается подключиться для получения данных пользователя. Отображение кэшированной информации.",+ "preferences_saved_locally_failed_sync": "Настройки сохранены локально, но не удалось синхронизировать с сервером: ",+ "preferences_saved_locally": "Настройки сохранены локально.",+ "correct_errors_in_tab": "Пожалуйста, исправьте ошибки в выделенной вкладке перед продолжением.",+ "please_fill_out_this_field": "Пожалуйста, заполните это поле."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "Статус системы",+ "dashboard_title": "Панель состояния гарантий",+ "global_dashboard_title": "Глобальная панель состояния гарантий",+ "overview": "Обзор",+ "statistics": "Статистика",+ "total_warranties": "Всего гарантий",+ "active_warranties": "Активные гарантии",+ "expiring_soon": "Скоро истекают",+ "expired_warranties": "Истекшие гарантии",+ "warranty_distribution": "Распределение гарантий",+ "expiration_timeline": "Временная шкала истечения",+ "recent_activity": "Недавняя активность",+ "recent_expirations": "Недавно истекшие или скоро истекающие",+ "recent_expirations_empty": "Нет недавно истекших или скоро истекающих гарантий.",+ "system_health": "Состояние системы",+ "database_status": "Статус базы данных",+ "connected": "Подключено",+ "version": "Версия",+ "uptime": "Время работы"+ },+ "about": {+ "title": "О Warracker",+ "description": "Комплексная система управления гарантиями, разработанная для отслеживания, организации и управления всеми вашими гарантиями на продукты на одной безопасной и удобной платформе.",+ "version": "Версия",+ "update_status": "Статус обновления",+ "checking_updates": "Проверка обновлений...",+ "view_release_notes": "Посмотреть примечания к выпуску",+ "project_info": "Информация о проекте",+ "project_description": "Warracker - это система управления гарантиями с открытым исходным кодом, созданная с использованием современных веб-технологий. Она обеспечивает безопасный и интуитивно понятный способ управления гарантиями на продукты, отслеживания дат истечения и организации важных документов.",+ "github_repository": "Репозиторий GitHub",+ "releases": "Релизы",+ "community_support": "Сообщество и поддержка",+ "community_description": "Присоединяйтесь к нашему сообществу для поддержки, обсуждений и обновлений. Сообщайте об ошибках, запрашивайте новые функции или получайте помощь от других пользователей и участников.",+ "discord_community": "Сообщество Discord",+ "report_issues": "Сообщить о проблемах",+ "developer_info": "Информация о разработчике",+ "developer_description": "Warracker разработан и поддерживается Sassanix. Проект является открытым и приветствует вклад сообщества.",+ "sassanix": "Sassanix",+ "agpl_license": "Лицензия AGPL-3.0",+ "support_project": "Поддержать проект",+ "support_description": "Если вы находите Warracker полезным, рассмотрите возможность поддержки его разработки!",+ "new_version_available": "Доступна новая версия {{version}}!",+ "latest_version": "Вы используете последнюю версию",+ "update_check_failed": "Не удалось проверить наличие обновлений",+ "features": "Возможности",+ "feature_track": "Отслеживание гарантий на продукты",+ "feature_notifications": "Получение уведомлений об истечении срока",+ "feature_documents": "Хранение гарантийных документов",+ "feature_reports": "Создание отчетов о гарантиях",+ "feature_tags": "Организация с помощью тегов",+ "feature_export": "Экспорт данных о гарантиях",+ "support": "Поддержка",+ "documentation": "Документация",+ "github": "Репозиторий GitHub",+ "license": "Лицензия",+ "copyright": "Авторское право",+ "developed_by": "Разработано"+ }+}diff --git a/locales/uk/translation.json b/locales/uk/translation.jsonnew file mode 100644index 0000000..4a14dd8--- /dev/null+++ b/locales/uk/translation.json@@ -0,0 +1,558 @@+{+ "app_title": "Warracker",+ "subtitle": "Трекер гарантій",+ "nav": {+ "home": "Головна",+ "status": "Статус",+ "settings": "Налаштування",+ "about": "Про програму"+ },+ "auth": {+ "login": "Увійти",+ "logout": "Вийти",+ "register": "Реєстрація",+ "username": "Ім'я користувача",+ "password": "Пароль",+ "email": "Електронна пошта",+ "first_name": "Ім'я",+ "last_name": "Прізвище",+ "forgot_password": "Забули пароль?",+ "reset_password": "Скинути пароль",+ "confirm_password": "Підтвердіть пароль",+ "create_account_title": "Створити обліковий запис",+ "first_name_optional": "Ім'я (необов'язково)",+ "last_name_optional": "Прізвище (необов'язково)",+ "username_hint": "Ім'я користувача має бути унікальним і використовуватиметься для входу.",+ "email_address": "Адреса електронної пошти",+ "toggle_password": "Показати/сховати пароль",+ "password_hint_simple": "Пароль повинен містити щонайменше 8 символів, включаючи великі та малі літери, а також цифри.",+ "password_requirements": "Вимоги до пароля:",+ "req_length": "Щонайменше 8 символів",+ "req_uppercase": "Щонайменше 1 велика літера",+ "req_lowercase": "Щонайменше 1 мала літера",+ "req_number": "Щонайменше 1 цифра",+ "req_special": "Щонайменше 1 спеціальний символ",+ "create_account": "Створити обліковий запис",+ "already_have_account": "Вже є обліковий запис?",+ "reset_password_title": "Warracker - Скидання пароля",+ "reset_your_password": "Скинути ваш пароль",+ "reset_password_info": "Введіть свою адресу електронної пошти нижче, і ми надішлемо вам посилання для скидання пароля.",+ "send_reset_link": "Надіслати посилання для скидання",+ "back_to_login": "Повернутися до входу",+ "set_new_password_title": "Warracker - Встановити новий пароль",+ "set_new_password": "Встановити новий пароль",+ "new_password": "Новий пароль",+ "confirm_new_password": "Підтвердьте новий пароль",+ "invalid_or_expired_link": "Недійсне або застаріле посилання",+ "invalid_link_info": "Посилання для скидання пароля, за яким ви перейшли, є недійсним або застарілим.",+ "request_new_reset_link": "Запросити нове посилання для скидання"+ },+ "warranties": {+ "title": "Ваші гарантії",+ "title_global": "Гарантії всіх користувачів",+ "add_new": "Додати нову гарантію",+ "edit": "Редагувати гарантію",+ "delete": "Видалити гарантію",+ "product_name": "Назва продукту",+ "purchase_date": "Дата покупки",+ "warranty_duration": "Термін гарантії",+ "years": "Роки",+ "months": "Місяці",+ "days": "Дні",+ "vendor": "Продавець",+ "serial_numbers": "Серійні номери",+ "purchase_price": "Ціна покупки",+ "notes": "Нотатки",+ "tags": "Теги",+ "status": "Статус",+ "expiration_date": "Дата закінчення",+ "active": "Активна",+ "expired": "Закінчилась",+ "expiring_soon": "Скоро закінчується",+ "lifetime": "Довічна",+ "no_warranties": "Гарантій ще немає. Додайте свою першу гарантію, щоб почати.",+ "search_placeholder": "Пошук за назвою, продавцями, нотатками, тегом або серійним номером...",+ "warranty_type": "Тип гарантії",+ "other_document": "Інший документ",+ "product": "Продукт",+ "expiration": "Закінчення",+ "actions": "Дії",+ "no_warranties_title": "Гарантій ще немає",+ "no_warranties_desc": "Додайте свою першу гарантію, щоб почати",+ "add_warranty": "Додати гарантію",+ "warranty_entry_method": "Метод введення гарантії",+ "warranty_duration_option": "Термін гарантії",+ "exact_expiration_option": "Точна дата закінчення",+ "warranty_period": "Гарантійний період",+ "expiration_date_label": "Дата закінчення",+ "currency": "Валюта",+ "add_tags": "Додати теги",+ "add_tags_desc": "Теги допомагають упорядковувати та фільтрувати ваші гарантії",+ "save_changes": "Зберегти зміни",+ "confirm_delete": "Підтвердити видалення",+ "manage_tags": "Керування тегами",+ "add_tag": "Додати тег",+ "unknown_status": "Невідомий статус",+ "expiring_soon_days": "Скоро закінчується ({{days}} {{dayText}})",+ "days_remaining": "Залишилось {{days}} {{dayText}}",+ "day_one": "день",+ "day_few": "дні",+ "day_many": "днів",+ "day_other": "дні",+ "month_one": "місяць",+ "month_few": "місяці",+ "month_many": "місяців",+ "month_other": "місяці",+ "year_one": "рік",+ "year_few": "роки",+ "year_many": "років",+ "year_other": "роки",+ "na": "Н/Д",+ "age": "Вік",+ "warranty": "Гарантія",+ "warranty_ends": "Гарантія закінчується",+ "price": "Ціна",+ "serial_number": "Серійний номер",+ "vendor": "Продавець",+ "type": "Тип",+ "owner": "Власник",+ "product_website": "Сайт продукту",+ "documents": "Документи",+ "summary": "Зведення",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "Роки",+ "months_placeholder": "Місяці",+ "days_placeholder": "Дні",+ "add_any_notes_placeholder": "Додайте нотатки про цю гарантію...",+ "product_url_optional": "URL продукту (необов'язково)",+ "enter_serial_number": "Введіть серійний номер",+ "vendor_optional": "Продавець (необов'язково)",+ "vendor_placeholder": "наприклад, Amazon, Best Buy тощо.",+ "lifetime_warranty": "Довічна гарантія",+ "warranty_type_optional": "Тип гарантії (необов'язково)",+ "select_warranty_type": "Виберіть тип гарантії...",+ "standard": "Стандартна",+ "extended": "Розширена",+ "manufacturer": "Від виробника",+ "third_party": "Від третьої сторони",+ "store": "Магазинна",+ "premium": "Преміум",+ "limited": "Обмежена",+ "full": "Повна",+ "parts_only": "Тільки на запчастини",+ "labor_only": "Тільки на роботи",+ "international": "Міжнародна",+ "accidental_damage": "Від випадкових пошкоджень",+ "other_custom": "Інший (користувацький)",+ "enter_custom_warranty_type": "Введіть користувацький тип гарантії",+ "purchase_price_optional": "Ціна покупки (необов'язково)",+ "notes_optional": "Нотатки (необов'язково)",+ "add_any_notes": "Додайте будь-які нотатки про цю гарантію...",+ "product_photo_optional": "Фото продукту (необов'язково)",+ "choose_photo": "Виберіть фото",+ "invoice_receipt": "Рахунок/Чек",+ "store_locally": "Зберігати локально",+ "store_in_paperless": "Зберігати в Paperless-ngx",+ "choose_file": "Виберіть файл",+ "browse_paperless": "Огляд документів Paperless-ngx",+ "product_manual_optional": "Посібник з продукту (необов'язково)",+ "files_zip_rar_optional": "Файли (ZIP/RAR, необов'язково)",+ "search_or_add_new_tag": "Шукати або додати новий тег...",+ "product_information": "Інформація про продукт",+ "product_url": "URL продукту",+ "warranty_details": "Деталі гарантії",+ "product_photo": "Фото продукту",+ "product_manual": "Посібник з продукту",+ "files": "Файли",+ "selected_tags": "Вибрані теги",+ "previous_tab": "Назад",+ "next_tab": "Далі",+ "delete_photo": "Видалити фото",+ "delete_invoice": "Видалити рахунок",+ "delete_manual": "Видалити посібник",+ "delete_files": "Видалити файли",+ "current_photo": "Поточне фото:",+ "current_invoice": "Поточний рахунок:",+ "current_manual": "Поточний посібник:",+ "current_document": "Поточний документ:",+ "upload_new_photo_replace": "(Завантажте нове фото для заміни)",+ "no_photo_uploaded": "Фото не завантажено",+ "no_invoice_uploaded": "Рахунок не завантажено",+ "no_manual_uploaded": "Посібник не завантажено",+ "no_document_uploaded": "Інший документ не завантажено",+ "photo_will_be_deleted": "Фото буде видалено при збереженні",+ "invoice_will_be_deleted": "Рахунок буде видалено при збереженні",+ "manual_will_be_deleted": "Посібник буде видалено при збереженні",+ "document_will_be_deleted": "Інший документ буде видалено при збереженні",+ "confirm_delete_message": "Ви впевнені, що хочете видалити цю гарантію? Цю дію не можна скасувати.",+ "new_tag_name": "Нова назва тегу",+ "existing_tags": "Існуючі теги",+ "edit_warranty": "Редагувати гарантію",+ "warranty_type_standard": "Стандартна",+ "warranty_type_extended": "Розширена",+ "warranty_type_manufacturer": "Від виробника",+ "warranty_type_third_party": "Від третьої сторони",+ "warranty_type_store": "Магазинна",+ "warranty_type_premium": "Преміум",+ "warranty_type_limited": "Обмежена",+ "warranty_type_full": "Повна",+ "warranty_type_parts_only": "Тільки на запчастини",+ "warranty_type_labor_only": "Тільки на роботи",+ "warranty_type_international": "Міжнародна",+ "warranty_type_accidental_damage": "Від випадкових пошкоджень",+ "warranty_type_other": "Інший (користувацький)",+ "warranty_type_custom_placeholder": "Введіть користувацький тип гарантії",+ "notes_placeholder": "Додаткові нотатки про цю гарантію...",+ "tags_help_text": "Теги допомагають упорядковувати та фільтрувати ваші гарантії",+ "search_add_tag_placeholder": "Шукати або додати новий тег...",+ "upload_new_file_replace": "Завантажте новий файл для заміни",+ "current_other_document": "Поточний інший документ",+ "no_other_document_uploaded": "Інший документ не завантажено",+ "other_document_will_be_deleted": "Інший документ буде видалено при збереженні",+ "files_optional": "Файли (ZIP/RAR, необов'язково)",+ "invoice_receipt_short": "Рахунок",+ "product_manual_short": "Посібник",+ "files_short": "Файли",+ "enter_serial_number": "Введіть серійний номер",+ "add_serial_number": "Додати ще один серійний номер"+ },+ "settings": {+ "title": "Налаштування",+ "account_settings": "Налаштування облікового запису",+ "preferences": "Переваги",+ "language": "Мова",+ "select_language": "Виберіть мову",+ "dark_mode": "Темний режим",+ "dark_mode_desc": "Перемикання між світлою та темною темою",+ "currency": "Валюта",+ "timezone": "Часовий пояс",+ "date_format": "Формат дати",+ "expiring_soon_days": "Дні до закінчення терміну",+ "save_changes": "Зберегти зміни",+ "current_user": "Редагування профілю для:",+ "your_email": "Ваш email:",+ "first_name": "Ім'я",+ "last_name": "Прізвище",+ "email": "Електронна пошта",+ "save_profile": "Зберегти зміни",+ "default_view": "Вигляд за замовчуванням",+ "default_view_desc": "Виберіть бажаний вигляд для гарантій",+ "grid_view": "Сітка",+ "list_view": "Список",+ "table_view": "Таблиця",+ "currency_symbol": "Символ валюти",+ "currency_symbol_desc": "Виберіть символ для відображення цін",+ "currency_position": "Позиція валюти",+ "currency_position_desc": "Виберіть, де буде відображатися символ валюти",+ "expiring_soon_days_desc": "Кількість днів до закінчення терміну для відображення попереджень",+ "date_format_desc": "Виберіть, як будуть відображатися дати",+ "save_preferences": "Зберегти переваги",+ "notification_settings": "Налаштування сповіщень",+ "notification_channel": "Канал сповіщень",+ "notification_channel_desc": "Виберіть, як ви хочете отримувати сповіщення",+ "notification_disabled": "Вимкнено",+ "notification_email": "Електронна пошта",+ "notification_apprise": "Apprise",+ "notification_both": "Обидва",+ "email_settings": "Налаштування електронної пошти",+ "notification_frequency": "Частота сповіщень",+ "notification_frequency_desc": "Як часто отримувати сповіщення електронною поштою",+ "daily": "Щодня",+ "weekly": "Щотижня",+ "monthly": "Щомісяця",+ "notification_time": "Час сповіщень",+ "timezone_desc": "Ваш місцевий часовий пояс для сповіщень",+ "apprise_settings": "Налаштування Apprise",+ "apprise_frequency": "Частота сповіщень Apprise",+ "apprise_frequency_desc": "Як часто отримувати сповіщення Apprise",+ "apprise_time": "Час сповіщень Apprise",+ "apprise_timezone": "Часовий пояс Apprise",+ "apprise_timezone_desc": "Ваш місцевий часовий пояс для сповіщень Apprise",+ "save_notification_settings": "Зберегти налаштування сповіщень",+ "security": "Безпека",+ "change_password": "Змінити пароль",+ "change_password_desc": "Оновіть пароль вашого облікового запису",+ "change": "Змінити",+ "current_password": "Поточний пароль",+ "new_password": "Новий пароль",+ "confirm_password": "Підтвердіть новий пароль",+ "update_password": "Оновити пароль",+ "cancel": "Скасувати",+ "danger_zone": "Небезпечна зона",+ "delete_account": "Видалити обліковий запис",+ "delete_account_desc": "Назавжди видалити ваш обліковий запис і всі дані",+ "admin_settings": "Налаштування адміністратора",+ "admin_actions": "Дії адміністратора",+ "refresh_data": "Оновити дані",+ "check_admin_status": "Перевірити статус адміністратора",+ "show_users_list": "Показати список користувачів",+ "test_api": "Тестувати API",+ "send_notifications": "Надіслати сповіщення про гарантії",+ "check_scheduler": "Перевірити статус планувальника",+ "site_settings": "Налаштування сайту",+ "registration_enabled": "Реєстрація увімкнена",+ "registration_enabled_desc": "Дозволити новим користувачам реєструватися",+ "email_base_url": "Базовий URL для email",+ "global_view_enabled": "Глобальний вигляд увімкнено",+ "global_view_admin_only": "Глобальний вигляд тільки для адміністраторів",+ "save_site_settings": "Зберегти налаштування сайту",+ "oidc_configuration": "Конфігурація OIDC SSO",+ "enable_oidc": "Увімкнути OIDC SSO",+ "oidc_provider_name": "Назва провайдера OIDC",+ "client_id": "ID клієнта",+ "client_secret": "Секрет клієнта",+ "issuer_url": "URL видавця",+ "scope": "Область",+ "save_oidc_settings": "Зберегти налаштування OIDC",+ "oidc_sso_desc": "Дозволити користувачам входити через провайдера OIDC.",+ "oidc_only_mode": "Режим входу тільки через OIDC",+ "oidc_only_mode_desc": "Приховати традиційну форму входу з ім'ям користувача/паролем і дозволити вхід тільки через OIDC. <strong>Увага:</strong> Переконайтеся, що OIDC правильно налаштований, перш ніж вмикати цю опцію.",+ "oidc_provider_name_desc": "Внутрішня назва для клієнта OIDC (наприклад, 'oidc').",+ "client_secret_desc": "Конфіденційне значення. Зберігається в базі даних. Для набуття чинності змін потрібен перезапуск програми.",+ "issuer_url_desc": "Базовий URL вашого провайдера OIDC.",+ "scope_desc": "Області OIDC, розділені пробілами.",+ "oidc_restart_message": "Для повного набуття чинності налаштувань OIDC потрібен перезапуск програми.",+ "api_token": "API токен",+ "view_documents": "Перегляд документів у Warracker",+ "connection_testing": "Тестування з'єднання",+ "apprise_notifications": "Сповіщення Apprise",+ "enable_apprise": "Увімкнути сповіщення Apprise",+ "loading": "Завантаження...",+ "time_of_day_notification": "Час доби для отримання сповіщень (у 24-годинному форматі)",+ "paperless_ngx_settings": "Налаштування Paperless-ngx",+ "paperless_ngx_about_title": "Про інтеграцію з Paperless-ngx:",+ "paperless_ngx_about_desc": "Ця необов'язкова функція дозволяє зберігати гарантійні документи у вашому власному екземплярі Paperless-ngx замість локального зберігання. При увімкненні користувачі можуть вибирати, де зберігати кожен документ: локально або в Paperless-ngx.",+ "paperless_ngx_desc": "Налаштуйте інтеграцію з системою управління документами Paperless-ngx",+ "enable_paperless": "Увімкнути інтеграцію з Paperless-ngx",+ "paperless_url": "URL Paperless-ngx",+ "paperless_url_desc": "Базовий URL вашого екземпляра Paperless-ngx",+ "paperless_token": "API токен",+ "paperless_token_desc": "Ваш токен автентифікації API Paperless-ngx",+ "paperless_token_desc_generate": "Створіть токен API у вашому екземплярі Paperless-ngx (Налаштування → API токени).",+ "paperless_view_in_app": "Перегляд документів у додатку",+ "paperless_view_in_app_desc": "Відкривати документи всередині програми замість нової вкладки",+ "debug_config": "Відлагоджувальна конфігурація",+ "test_upload": "Тестове завантаження",+ "save_paperless_settings": "Зберегти налаштування Paperless-ngx",+ "apprise_desc": "Налаштуйте Apprise для розширеної доставки сповіщень у кілька сервісів",+ "apprise_desc_system_wide": "Увімкнути або вимкнути сповіщення Apprise для всієї системи",+ "apprise_not_available_title": "Apprise недоступний:",+ "apprise_not_available_desc": "Бібліотека сповіщень Apprise не встановлена або недоступна. Функції сповіщень вимкнені.",+ "apprise_url": "URL Apprise",+ "apprise_url_desc": "URL вашого сервісу сповіщень Apprise",+ "apprise_mode": "Режим сповіщень",+ "apprise_mode_desc": "Виберіть, коли надсилати сповіщення Apprise",+ "apprise_mode_global": "Глобальний звіт",+ "apprise_mode_individual": "Для кожного користувача",+ "test_paperless": "Тестувати з'єднання з Paperless",+ "test_apprise": "Тестувати з'єднання з Apprise",+ "apprise_warranty_scope": "Область гарантій",+ "apprise_warranty_scope_desc": "Виберіть, які гарантії включати у сповіщення",+ "all_warranties": "Всі гарантії",+ "personal_warranties": "Тільки особисті гарантії",+ "all_users_warranties": "Гарантії всіх користувачів",+ "admin_warranties_only": "Тільки гарантії адміністратора",+ "apprise_notification_days": "Дні сповіщень",+ "apprise_notification_days_desc": "Дні до закінчення терміну для надсилання сповіщень (через кому, наприклад, \"7,30\" для 7 і 30 днів до)",+ "apprise_check_frequency": "Частота перевірки",+ "apprise_check_frequency_desc": "Як часто система перевіряє гарантії, що закінчуються (глобальне налаштування)",+ "apprise_title_prefix": "Префікс заголовка повідомлення",+ "apprise_title_prefix_desc": "Префікс, що додається до заголовків сповіщень (наприклад, \"[Warracker]\" призведе до \"[Warracker] Гарантії скоро закінчуються\")",+ "apprise_test_url": "Тестовий URL (необов'язково)",+ "apprise_test_url_desc": "Необов'язково: URL для надсилання тільки тестових сповіщень (не буде збережено в основній конфігурації)",+ "save_apprise_settings": "Зберегти налаштування Apprise",+ "validate_urls": "Перевірити URL",+ "send_expiration_notifications_now": "Надіслати сповіщення про закінчення терміну зараз",+ "apprise_current_status": "Поточний статус",+ "apprise_urls_configured": "Налаштовані URL:",+ "apprise_supported_services": "Підтримувані сервіси",+ "apprise_supported_services_desc": "Apprise підтримує понад 80 сервісів сповіщень, включаючи: Discord, Slack, Telegram, Email (Gmail, Outlook), Webhooks, Microsoft Teams, Matrix, Pushover, Ntfy, Gotify та багато інших.",+ "view_full_list_of_supported_services": "Переглянути повний список підтримуваних сервісів",+ "ownership_management": "Управління власністю",+ "transfer_ownership": "Передати власність",+ "warning_title": "Увага:",+ "transfer_ownership_warning": "Передати власність над додатком іншому адміністратору. Ця дія незворотна.",+ "transfer_ownership_desc": "Після передачі власності ви станете звичайним адміністратором, а новий власник отримає повний контроль над додатком.",+ "select_new_owner": "Виберіть нового власника (повинен бути адміністратором)",+ "select_admin_user": "Виберіть користувача-адміністратора...",+ "transfer_ownership_button": "Передати власність",+ "transfer_ownership_irreversible": "Цю дію не можна скасувати.",+ "transfer_ownership_confirmation": "Ви збираєтеся передати власність над додатком",+ "after_this_transfer": "Після цієї передачі:",+ "transfer_ownership_consequence_1": "Ви станете звичайним адміністратором",+ "transfer_ownership_consequence_2": "Новий власник отримає повний контроль над додатком",+ "transfer_ownership_consequence_3": "Тільки новий власник зможе знову передати власність",+ "transfer_ownership_type_to_confirm": "Для підтвердження введіть \"TRANSFER\" у поле нижче:"+ },+ "actions": {+ "save": "Зберегти",+ "cancel": "Скасувати",+ "delete": "Видалити",+ "edit": "Редагувати",+ "export": "Експорт",+ "import": "Імпорт",+ "refresh": "Оновити",+ "search": "Пошук",+ "clear": "Очистити",+ "upload": "Завантажити",+ "download": "Завантажити",+ "manage_tags": "Керування тегами",+ "close": "Закрити",+ "save_changes": "Зберегти зміни"+ },+ "filters": {+ "all_status": "Всі статуси",+ "all_tags": "Всі теги",+ "all_vendors": "Всі продавці",+ "all_types": "Всі типи",+ "sort_by": "Сортувати за",+ "sort_expiration": "Дата закінчення",+ "sort_purchase": "Дата покупки",+ "sort_age": "Вік",+ "sort_name": "Назва продукту",+ "sort_vendor": "Продавець",+ "sort_warranty_type": "Тип гарантії",+ "status": "Статус",+ "tags": "Теги",+ "vendor": "Продавець",+ "warranty_type": "Тип гарантії",+ "view": "Вигляд",+ "scope": "Область"+ },+ "messages": {+ "success": "Успіх",+ "error": "Помилка",+ "warning": "Попередження",+ "loading": "Завантаження...",+ "saved": "Зміни успішно збережено",+ "deleted": "Елемент успішно видалено",+ "confirm_delete": "Ви впевнені, що хочете видалити цей елемент?",+ "no_results": "Результатів не знайдено",+ "file_too_large": "Файл занадто великий",+ "invalid_file_type": "Невірний тип файлу",+ "fill_first_last_name": "Будь ласка, заповніть Ім'я та Прізвище",+ "email_cannot_be_empty": "Адреса електронної пошти не може бути порожньою.",+ "enter_valid_email": "Будь ласка, введіть дійсну адресу електронної пошти.",+ "profile_updated_successfully": "Профіль успішно оновлено",+ "preferences_saved_successfully": "Налаштування успішно збережено.",+ "fill_password_fields": "Будь ласка, заповніть всі поля паролю",+ "passwords_do_not_match": "Нові паролі не збігаються",+ "password_min_length": "Пароль повинен містити щонайменше 8 символів",+ "type_delete_to_confirm": "Будь ласка, введіть DELETE для підтвердження",+ "account_deleted_successfully": "Обліковий запис успішно видалено",+ "account_cannot_delete_offline": "Обліковий запис не можна видалити в офлайн режимі",+ "failed_delete_account": "Не вдалося видалити обліковий запис. Спробуйте ще раз.",+ "user_updated_successfully": "Користувача успішно оновлено",+ "user_deleted_successfully": "Користувача успішно видалено",+ "user_id_missing": "Відсутній ID користувача",+ "failed_load_users": "Не вдалося завантажити користувачів",+ "error_loading_users": "Помилка завантаження користувачів",+ "select_user_transfer_ownership": "Будь ласка, виберіть користувача для передачі власності",+ "ownership_transferred_successfully": "Власність успішно передано! Оновлення сторінки...",+ "failed_load_site_settings": "Не вдалося завантажити налаштування сайту. Спробуйте ще раз.",+ "invalid_email_base_url": "Недійсний формат базового URL електронної пошти. Повинен починатися з http:// або https://",+ "no_site_settings_to_save": "Немає налаштувань сайту для збереження.",+ "site_settings_saved_successfully": "Налаштування сайту успішно збережено",+ "failed_save_site_settings": "Не вдалося зберегти налаштування сайту",+ "oidc_settings_saved_successfully": "Налаштування OIDC успішно збережено.",+ "failed_save_oidc_settings": "Не вдалося зберегти налаштування OIDC.",+ "api_endpoint_accessible": "API кінцева точка доступна",+ "api_endpoint_not_accessible": "API кінцева точка недоступна. Статус: ",+ "only_admins_send_notifications": "Тільки адміністратори можуть надсилати сповіщення про гарантії",+ "notifications_triggered_successfully": "Сповіщення успішно запущено",+ "notification_settings_saved_successfully": "Налаштування сповіщень успішно збережено",+ "apprise_settings_saved_successfully": "Налаштування Apprise успішно збережено",+ "test_notification_sent_successfully": "Тестове сповіщення успішно надіслано",+ "no_urls_to_validate": "Немає URL для перевірки",+ "paperless_settings_saved_successfully": "Налаштування Paperless-ngx успішно збережено!",+ "enter_valid_paperless_url": "Будь ласка, введіть дійсний URL (наприклад: https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "Спочатку введіть URL Paperless-ngx",+ "paperless_connection_test_successful": "Тест підключення Paperless-ngx успішний!",+ "paperless_connection_test_failed": "Тест підключення Paperless-ngx не вдався",+ "enter_api_token_test_connection": "Будь ласка, введіть API токен для тестування підключення",+ "failed_load_user_data": "Не вдалося завантажити дані користувача. Спробуйте ще раз.",+ "could_not_connect_user_data": "Не вдалося підключитися для отримання даних користувача. Відображення кешованої інформації.",+ "preferences_saved_locally_failed_sync": "Налаштування збережено локально, але не вдалося синхронізувати з сервером: ",+ "preferences_saved_locally": "Налаштування збережено локально.",+ "correct_errors_in_tab": "Будь ласка, виправте помилки у виділеній вкладці перед продовженням.",+ "please_fill_out_this_field": "Будь ласка, заповніть це поле."+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "Статус системи",+ "dashboard_title": "Панель стану гарантій",+ "global_dashboard_title": "Глобальна панель стану гарантій",+ "overview": "Огляд",+ "statistics": "Статистика",+ "total_warranties": "Всього гарантій",+ "active_warranties": "Активні гарантії",+ "expiring_soon": "Скоро закінчуються",+ "expired_warranties": "Прострочені гарантії",+ "warranty_distribution": "Розподіл гарантій",+ "expiration_timeline": "Часова шкала закінчення",+ "recent_activity": "Недавня активність",+ "recent_expirations": "Нещодавно прострочені або скоро закінчуються",+ "recent_expirations_empty": "Немає нещодавно прострочених або скоро закінчуються гарантій.",+ "system_health": "Стан системи",+ "database_status": "Статус бази даних",+ "connected": "Підключено",+ "version": "Версія",+ "uptime": "Час роботи"+ },+ "about": {+ "title": "Про Warracker",+ "description": "Комплексна система управління гарантіями, розроблена для відстеження, організації та управління всіма вашими гарантіями на продукти на одній безпечній та зручній платформі.",+ "version": "Версія",+ "update_status": "Статус оновлення",+ "checking_updates": "Перевірка оновлень...",+ "view_release_notes": "Переглянути примітки до випуску",+ "project_info": "Інформація про проект",+ "project_description": "Warracker - це система управління гарантіями з відкритим вихідним кодом, створена з використанням сучасних веб-технологій. Вона забезпечує безпечний та інтуїтивно зрозумілий спосіб управління гарантіями на продукти, відстеження дат закінчення та організації важливих документів.",+ "github_repository": "Репозиторій GitHub",+ "releases": "Релізи",+ "community_support": "Спільнота та підтримка",+ "community_description": "Приєднуйтесь до нашої спільноти для підтримки, обговорень та оновлень. Повідомляйте про помилки, запитуйте нові функції або отримуйте допомогу від інших користувачів та учасників.",+ "discord_community": "Спільнота Discord",+ "report_issues": "Повідомити про проблеми",+ "developer_info": "Інформація про розробника",+ "developer_description": "Warracker розроблений та підтримується Sassanix. Проект є відкритим та вітає внесок спільноти.",+ "sassanix": "Sassanix",+ "agpl_license": "Ліцензія AGPL-3.0",+ "support_project": "Підтримати проект",+ "support_description": "Якщо ви вважаєте Warracker корисним, розгляньте можливість підтримки його розробки!",+ "new_version_available": "Доступна нова версія {{version}}!",+ "latest_version": "Ви використовуєте останню версію",+ "update_check_failed": "Не вдалося перевірити наявність оновлень",+ "features": "Можливості",+ "feature_track": "Відстеження гарантій на продукти",+ "feature_notifications": "Отримання сповіщень про закінчення терміну",+ "feature_documents": "Зберігання гарантійних документів",+ "feature_reports": "Створення звітів про гарантії",+ "feature_tags": "Організація за допомогою тегів",+ "feature_export": "Експорт даних про гарантії",+ "support": "Підтримка",+ "documentation": "Документація",+ "github": "Репозиторій GitHub",+ "license": "Ліцензія",+ "copyright": "Авторське право",+ "developed_by": "Розроблено"+ }+}diff --git a/locales/zh_CN/translation.json b/locales/zh_CN/translation.jsonnew file mode 100644index 0000000..9951457--- /dev/null+++ b/locales/zh_CN/translation.json@@ -0,0 +1,552 @@+{+ "app_title": "Warracker",+ "subtitle": "保修追踪器",+ "nav": {+ "home": "主页",+ "status": "状态",+ "settings": "设置",+ "about": "关于"+ },+ "auth": {+ "login": "登录",+ "logout": "登出",+ "register": "注册",+ "username": "用户名",+ "password": "密码",+ "email": "电子邮件",+ "first_name": "名",+ "last_name": "姓",+ "forgot_password": "忘记密码?",+ "reset_password": "重置密码",+ "confirm_password": "确认密码",+ "create_account_title": "创建您的帐户",+ "first_name_optional": "名(可选)",+ "last_name_optional": "姓(可选)",+ "username_hint": "用户名必须是唯一的,并将用于登录。",+ "email_address": "电子邮件地址",+ "toggle_password": "显示/隐藏密码",+ "password_hint_simple": "密码必须至少包含8个字符,并包括大写字母、小写字母和数字。",+ "password_requirements": "密码要求:",+ "req_length": "至少8个字符",+ "req_uppercase": "至少1个大写字母",+ "req_lowercase": "至少1个小写字母",+ "req_number": "至少1个数字",+ "req_special": "至少1个特殊字符",+ "create_account": "创建帐户",+ "already_have_account": "已经有帐户了?",+ "reset_password_title": "Warracker - 重置密码",+ "reset_your_password": "重置您的密码",+ "reset_password_info": "在下方输入您的电子邮件地址,我们将向您发送一个重置密码的链接。",+ "send_reset_link": "发送重置链接",+ "back_to_login": "返回登录",+ "set_new_password_title": "Warracker - 设置新密码",+ "set_new_password": "设置新密码",+ "new_password": "新密码",+ "confirm_new_password": "确认新密码",+ "invalid_or_expired_link": "链接无效或已过期",+ "invalid_link_info": "您点击的密码重置链接无效或已过期。",+ "request_new_reset_link": "请求新的重置链接"+ },+ "warranties": {+ "title": "您的保修",+ "title_global": "所有用户的保修",+ "add_new": "添加新保修",+ "edit": "编辑保修",+ "delete": "删除保修",+ "product_name": "产品名称",+ "purchase_date": "购买日期",+ "warranty_duration": "保修期",+ "years": "年",+ "months": "月",+ "days": "天",+ "vendor": "供应商",+ "serial_numbers": "序列号",+ "purchase_price": "购买价格",+ "notes": "备注",+ "tags": "标签",+ "status": "状态",+ "expiration_date": "到期日期",+ "active": "有效",+ "expired": "已过期",+ "expiring_soon": "即将过期",+ "lifetime": "终身",+ "no_warranties": "暂无保修。添加您的第一个保修以开始。",+ "search_placeholder": "按名称、供应商、备注、标签或序列号查找...",+ "warranty_type": "保修类型",+ "other_document": "其他文件",+ "product": "产品",+ "expiration": "到期",+ "actions": "操作",+ "no_warranties_title": "暂无保修",+ "no_warranties_desc": "添加您的第一个保修以开始",+ "add_warranty": "添加保修",+ "warranty_entry_method": "保修录入方式",+ "warranty_duration_option": "保修期",+ "exact_expiration_option": "确切到期日期",+ "warranty_period": "保修期",+ "expiration_date_label": "到期日期",+ "currency": "货币",+ "add_tags": "添加标签",+ "add_tags_desc": "标签可帮助您整理和筛选保修",+ "save_changes": "保存更改",+ "confirm_delete": "确认删除",+ "manage_tags": "管理标签",+ "add_tag": "添加标签",+ "unknown_status": "未知状态",+ "expiring_soon_days": "即将过期({{days}} {{dayText}})",+ "days_remaining": "剩余 {{days}} {{dayText}}",+ "day_one": "天",+ "day_other": "天",+ "month_one": "月",+ "month_other": "月",+ "year_one": "年",+ "year_other": "年",+ "na": "不适用",+ "age": "年龄",+ "warranty": "保修",+ "warranty_ends": "保修结束",+ "price": "价格",+ "serial_number": "序列号",+ "vendor": "供应商",+ "type": "类型",+ "owner": "所有者",+ "product_website": "产品网站",+ "documents": "文件",+ "summary": "摘要",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "年",+ "months_placeholder": "月",+ "days_placeholder": "天",+ "add_any_notes_placeholder": "添加关于此保修的任何备注...",+ "product_url_optional": "产品URL(可选)",+ "enter_serial_number": "输入序列号",+ "vendor_optional": "供应商(可选)",+ "vendor_placeholder": "例如亚马逊、百思买等",+ "lifetime_warranty": "终身保修",+ "warranty_type_optional": "保修类型(可选)",+ "select_warranty_type": "选择保修类型...",+ "standard": "标准",+ "extended": "延长",+ "manufacturer": "制造商",+ "third_party": "第三方",+ "store": "商店",+ "premium": "高级",+ "limited": "有限",+ "full": "全面",+ "parts_only": "仅零件",+ "labor_only": "仅人工",+ "international": "国际",+ "accidental_damage": "意外损坏",+ "other_custom": "其他(自定义)",+ "enter_custom_warranty_type": "输入自定义保修类型",+ "purchase_price_optional": "购买价格(可选)",+ "notes_optional": "备注(可选)",+ "add_any_notes": "添加关于此保修的任何备注...",+ "product_photo_optional": "产品照片(可选)",+ "choose_photo": "选择照片",+ "invoice_receipt": "发票/收据",+ "store_locally": "本地存储",+ "store_in_paperless": "存储在Paperless-ngx",+ "choose_file": "选择文件",+ "browse_paperless": "浏览Paperless-ngx文件",+ "product_manual_optional": "产品手册(可选)",+ "files_zip_rar_optional": "文件(ZIP/RAR,可选)",+ "search_or_add_new_tag": "搜索或添加新标签...",+ "product_information": "产品信息",+ "product_url": "产品URL",+ "warranty_details": "保修详情",+ "product_photo": "产品照片",+ "product_manual": "产品手册",+ "files": "文件",+ "selected_tags": "已选标签",+ "previous_tab": "上一步",+ "next_tab": "下一步",+ "delete_photo": "删除照片",+ "delete_invoice": "删除发票",+ "delete_manual": "删除手册",+ "delete_files": "删除文件",+ "current_photo": "当前照片:",+ "current_invoice": "当前发票:",+ "current_manual": "当前手册:",+ "current_document": "当前文件:",+ "upload_new_photo_replace": "(上传新照片以替换)",+ "no_photo_uploaded": "未上传照片",+ "no_invoice_uploaded": "未上传发票",+ "no_manual_uploaded": "未上传手册",+ "no_document_uploaded": "未上传其他文件",+ "photo_will_be_deleted": "照片将在保存时删除",+ "invoice_will_be_deleted": "发票将在保存时删除",+ "manual_will_be_deleted": "手册将在保存时删除",+ "document_will_be_deleted": "其他文件将在保存时删除",+ "confirm_delete_message": "您确定要删除此保修吗?此操作无法撤销。",+ "new_tag_name": "新标签名称",+ "existing_tags": "现有标签",+ "edit_warranty": "编辑保修",+ "warranty_type_standard": "标准",+ "warranty_type_extended": "延长",+ "warranty_type_manufacturer": "制造商",+ "warranty_type_third_party": "第三方",+ "warranty_type_store": "商店",+ "warranty_type_premium": "高级",+ "warranty_type_limited": "有限",+ "warranty_type_full": "全面",+ "warranty_type_parts_only": "仅零件",+ "warranty_type_labor_only": "仅人工",+ "warranty_type_international": "国际",+ "warranty_type_accidental_damage": "意外损坏",+ "warranty_type_other": "其他(自定义)",+ "warranty_type_custom_placeholder": "输入自定义保修类型",+ "notes_placeholder": "关于此保修的其他备注...",+ "tags_help_text": "标签可帮助您整理和筛选保修",+ "search_add_tag_placeholder": "搜索或添加新标签...",+ "upload_new_file_replace": "上传新文件以替换",+ "current_other_document": "当前其他文件",+ "no_other_document_uploaded": "未上传其他文件",+ "other_document_will_be_deleted": "其他文件将在保存时删除",+ "files_optional": "文件(ZIP/RAR,可选)",+ "invoice_receipt_short": "发票",+ "product_manual_short": "手册",+ "files_short": "文件",+ "enter_serial_number": "输入序列号",+ "add_serial_number": "添加另一个序列号"+ },+ "settings": {+ "title": "设置",+ "account_settings": "账户设置",+ "preferences": "偏好设置",+ "language": "语言",+ "select_language": "选择语言",+ "dark_mode": "深色模式",+ "dark_mode_desc": "在浅色和深色主题之间切换",+ "currency": "货币",+ "timezone": "时区",+ "date_format": "日期格式",+ "expiring_soon_days": "即将过期天数",+ "save_changes": "保存更改",+ "current_user": "正在编辑的个人资料:",+ "your_email": "您的电子邮件:",+ "first_name": "名",+ "last_name": "姓",+ "email": "电子邮件",+ "save_profile": "保存更改",+ "default_view": "默认视图",+ "default_view_desc": "选择您偏好的保修视图",+ "grid_view": "网格视图",+ "list_view": "列表视图",+ "table_view": "表格视图",+ "currency_symbol": "货币符号",+ "currency_symbol_desc": "选择用于显示价格的符号",+ "currency_position": "货币位置",+ "currency_position_desc": "选择货币符号显示在数字的左侧还是右侧",+ "expiring_soon_days_desc": "到期前多少天显示警告",+ "date_format_desc": "选择日期的显示方式",+ "save_preferences": "保存偏好设置",+ "notification_settings": "通知设置",+ "notification_channel": "通知渠道",+ "notification_channel_desc": "选择您希望如何接收通知",+ "notification_disabled": "已禁用",+ "notification_email": "电子邮件",+ "notification_apprise": "Apprise",+ "notification_both": "两者",+ "email_settings": "电子邮件设置",+ "notification_frequency": "通知频率",+ "notification_frequency_desc": "接收电子邮件通知的频率",+ "daily": "每日",+ "weekly": "每周",+ "monthly": "每月",+ "notification_time": "通知时间",+ "timezone_desc": "您当地的通知时区",+ "apprise_settings": "Apprise设置",+ "apprise_frequency": "Apprise通知频率",+ "apprise_frequency_desc": "接收Apprise通知的频率",+ "apprise_time": "Apprise通知时间",+ "apprise_timezone": "Apprise时区",+ "apprise_timezone_desc": "您当地的Apprise通知时区",+ "save_notification_settings": "保存通知设置",+ "security": "安全",+ "change_password": "更改密码",+ "change_password_desc": "更新您的账户密码",+ "change": "更改",+ "current_password": "当前密码",+ "new_password": "新密码",+ "confirm_password": "确认新密码",+ "update_password": "更新密码",+ "cancel": "取消",+ "danger_zone": "危险区域",+ "delete_account": "删除账户",+ "delete_account_desc": "永久删除您的账户和所有数据",+ "admin_settings": "管理员设置",+ "admin_actions": "管理员操作",+ "refresh_data": "刷新数据",+ "check_admin_status": "检查管理员状态",+ "show_users_list": "显示用户列表",+ "test_api": "测试API",+ "send_notifications": "发送保修通知",+ "check_scheduler": "检查计划任务状态",+ "site_settings": "站点设置",+ "registration_enabled": "已启用注册",+ "registration_enabled_desc": "允许新用户注册",+ "email_base_url": "电子邮件基础URL",+ "global_view_enabled": "已启用全局视图",+ "global_view_admin_only": "全局视图仅限管理员",+ "save_site_settings": "保存站点设置",+ "oidc_configuration": "OIDC SSO配置",+ "enable_oidc": "启用OIDC SSO",+ "oidc_provider_name": "OIDC提供商名称",+ "client_id": "客户端ID",+ "client_secret": "客户端密钥",+ "issuer_url": "发行者URL",+ "scope": "范围",+ "save_oidc_settings": "保存OIDC设置",+ "oidc_sso_desc": "允许用户通过OIDC提供商登录。",+ "oidc_only_mode": "仅OIDC登录模式",+ "oidc_only_mode_desc": "隐藏传统的用户名/密码登录表单,仅允许OIDC登录。<strong>警告:</strong>在启用此选项之前,请确保OIDC已正确配置。",+ "oidc_provider_name_desc": "OIDC客户端的内部名称(例如'oidc')。",+ "client_secret_desc": "敏感值。存储在数据库中。更改生效需要重新启动应用程序。",+ "issuer_url_desc": "您的OIDC提供商的基础URL。",+ "scope_desc": "以空格分隔的OIDC范围。",+ "oidc_restart_message": "OIDC设置需要重新启动应用程序才能完全生效。",+ "api_token": "API令牌",+ "view_documents": "在Warracker中查看文件",+ "connection_testing": "连接测试",+ "apprise_notifications": "Apprise通知",+ "enable_apprise": "启用Apprise通知",+ "loading": "加载中...",+ "time_of_day_notification": "接收通知的时间(24小时格式)",+ "paperless_ngx_settings": "Paperless-ngx设置",+ "paperless_ngx_about_title": "关于Paperless-ngx集成:",+ "paperless_ngx_about_desc": "此可选功能允许您将保修文件存储在自托管的Paperless-ngx实例中,而不是本地存储。启用后,用户可以选择将每个文件存储在本地还是Paperless-ngx中。",+ "paperless_ngx_desc": "配置与Paperless-ngx文档管理系统的集成",+ "enable_paperless": "启用Paperless-ngx集成",+ "paperless_url": "Paperless-ngx URL",+ "paperless_url_desc": "您的Paperless-ngx实例的基础URL",+ "paperless_token": "API令牌",+ "paperless_token_desc": "您的Paperless-ngx API身份验证令牌",+ "paperless_token_desc_generate": "从您的Paperless-ngx实例生成API令牌(设置→API令牌)。",+ "paperless_view_in_app": "在应用内查看文件",+ "paperless_view_in_app_desc": "在应用内打开文件,而不是在新标签页中",+ "debug_config": "调试配置",+ "test_upload": "测试上传",+ "save_paperless_settings": "保存Paperless-ngx设置",+ "apprise_desc": "配置Apprise以实现向多个服务的高级通知传递",+ "apprise_desc_system_wide": "在系统范围内启用或禁用Apprise通知",+ "apprise_not_available_title": "Apprise不可用:",+ "apprise_not_available_desc": "Apprise通知库未安装或不可用。通知功能已禁用。",+ "apprise_url": "Apprise URL",+ "apprise_url_desc": "您的Apprise通知服务URL",+ "apprise_mode": "通知模式",+ "apprise_mode_desc": "选择何时发送Apprise通知",+ "apprise_mode_global": "全局摘要",+ "apprise_mode_individual": "按用户",+ "test_paperless": "测试Paperless连接",+ "test_apprise": "测试Apprise连接",+ "apprise_warranty_scope": "保修范围",+ "apprise_warranty_scope_desc": "选择要在通知中包含的保修",+ "all_warranties": "所有保修",+ "personal_warranties": "仅个人保修",+ "all_users_warranties": "所有用户的保修",+ "admin_warranties_only": "仅管理员的保修",+ "apprise_notification_days": "通知天数",+ "apprise_notification_days_desc": "到期前多少天发送通知(以逗号分隔,例如“7,30”表示提前7天和30天)",+ "apprise_check_frequency": "检查频率",+ "apprise_check_frequency_desc": "系统检查即将到期的保修的频率(全局设置)",+ "apprise_title_prefix": "消息标题前缀",+ "apprise_title_prefix_desc": "添加到通知标题的前缀(例如,“[Warracker]”将导致“[Warracker]保修即将到期”)",+ "apprise_test_url": "测试URL(可选)",+ "apprise_test_url_desc": "可选:仅用于发送测试通知的URL(不会保存到主配置中)",+ "save_apprise_settings": "保存Apprise设置",+ "validate_urls": "验证URL",+ "send_expiration_notifications_now": "立即发送到期通知",+ "apprise_current_status": "当前状态",+ "apprise_urls_configured": "已配置的URL:",+ "apprise_supported_services": "支持的服务",+ "apprise_supported_services_desc": "Apprise支持80多种通知服务,包括:Discord、Slack、Telegram、电子邮件(Gmail、Outlook)、Webhooks、Microsoft Teams、Matrix、Pushover、Ntfy、Gotify等等。",+ "view_full_list_of_supported_services": "查看支持的服务的完整列表",+ "ownership_management": "所有权管理",+ "transfer_ownership": "转移所有权",+ "warning_title": "警告:",+ "transfer_ownership_warning": "将应用程序所有权转移给另一位管理员用户。此操作不可逆。",+ "transfer_ownership_desc": "所有权转移后,您将成为普通管理员,新所有者将拥有对应用程序的最终控制权。",+ "select_new_owner": "选择新所有者(必须是管理员)",+ "select_admin_user": "选择管理员用户...",+ "transfer_ownership_button": "转移所有权",+ "transfer_ownership_irreversible": "此操作无法撤销。",+ "transfer_ownership_confirmation": "您即将将应用程序所有权转移给",+ "after_this_transfer": "此次转移后:",+ "transfer_ownership_consequence_1": "您将成为普通管理员",+ "transfer_ownership_consequence_2": "新所有者将拥有对应用程序的最终控制权",+ "transfer_ownership_consequence_3": "只有新所有者才能再次转移所有权",+ "transfer_ownership_type_to_confirm": "要确认,请在下面的字段中输入“TRANSFER”:"+ },+ "actions": {+ "save": "保存",+ "cancel": "取消",+ "delete": "删除",+ "edit": "编辑",+ "export": "导出",+ "import": "导入",+ "refresh": "刷新",+ "search": "搜索",+ "clear": "清除",+ "upload": "上传",+ "download": "下载",+ "manage_tags": "管理标签",+ "close": "关闭",+ "save_changes": "保存更改"+ },+ "filters": {+ "all_status": "所有状态",+ "all_tags": "所有标签",+ "all_vendors": "所有供应商",+ "all_types": "所有类型",+ "sort_by": "排序方式",+ "sort_expiration": "到期日期",+ "sort_purchase": "购买日期",+ "sort_age": "年龄",+ "sort_name": "产品名称",+ "sort_vendor": "供应商",+ "sort_warranty_type": "保修类型",+ "status": "状态",+ "tags": "标签",+ "vendor": "供应商",+ "warranty_type": "保修类型",+ "view": "视图",+ "scope": "范围"+ },+ "messages": {+ "success": "成功",+ "error": "错误",+ "warning": "警告",+ "loading": "加载中...",+ "saved": "更改已成功保存",+ "deleted": "项目已成功删除",+ "confirm_delete": "您确定要删除此项目吗?",+ "no_results": "未找到结果",+ "file_too_large": "文件太大",+ "invalid_file_type": "无效的文件类型",+ "fill_first_last_name": "请填写姓名",+ "email_cannot_be_empty": "电子邮件地址不能为空。",+ "enter_valid_email": "请输入有效的电子邮件地址。",+ "profile_updated_successfully": "个人资料更新成功",+ "preferences_saved_successfully": "偏好设置保存成功。",+ "fill_password_fields": "请填写所有密码字段",+ "passwords_do_not_match": "新密码不匹配",+ "password_min_length": "密码必须至少8个字符",+ "type_delete_to_confirm": "请输入DELETE以确认",+ "account_deleted_successfully": "账户删除成功",+ "account_cannot_delete_offline": "无法在离线模式下删除账户",+ "failed_delete_account": "删除账户失败。请重试。",+ "user_updated_successfully": "用户更新成功",+ "user_deleted_successfully": "用户删除成功",+ "user_id_missing": "用户ID缺失",+ "failed_load_users": "加载用户失败",+ "error_loading_users": "加载用户时出错",+ "select_user_transfer_ownership": "请选择要转移所有权的用户",+ "ownership_transferred_successfully": "所有权转移成功!正在刷新页面...",+ "failed_load_site_settings": "加载站点设置失败。请重试。",+ "invalid_email_base_url": "电子邮件基础URL格式无效。应以http://或https://开头",+ "no_site_settings_to_save": "没有要保存的站点设置。",+ "site_settings_saved_successfully": "站点设置保存成功",+ "failed_save_site_settings": "保存站点设置失败",+ "oidc_settings_saved_successfully": "OIDC设置保存成功。",+ "failed_save_oidc_settings": "保存OIDC设置失败。",+ "api_endpoint_accessible": "API端点可访问",+ "api_endpoint_not_accessible": "API端点不可访问。状态:",+ "only_admins_send_notifications": "只有管理员可以发送保修通知",+ "notifications_triggered_successfully": "通知触发成功",+ "notification_settings_saved_successfully": "通知设置保存成功",+ "apprise_settings_saved_successfully": "Apprise设置保存成功",+ "test_notification_sent_successfully": "测试通知发送成功",+ "no_urls_to_validate": "没有要验证的URL",+ "paperless_settings_saved_successfully": "Paperless-ngx设置保存成功!",+ "enter_valid_paperless_url": "请输入有效的URL(例如https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "请先输入Paperless-ngx URL",+ "paperless_connection_test_successful": "Paperless-ngx连接测试成功!",+ "paperless_connection_test_failed": "Paperless-ngx连接测试失败",+ "enter_api_token_test_connection": "请输入API令牌以测试连接",+ "failed_load_user_data": "加载用户数据失败。请重试。",+ "could_not_connect_user_data": "无法连接以检索用户数据。显示缓存信息。",+ "preferences_saved_locally_failed_sync": "偏好设置已本地保存,但与服务器同步失败:",+ "preferences_saved_locally": "偏好设置已本地保存。",+ "correct_errors_in_tab": "请在继续之前更正突出显示的选项卡中的错误。",+ "please_fill_out_this_field": "请填写此字段。"+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "系统状态",+ "dashboard_title": "保修状态仪表板",+ "global_dashboard_title": "全局保修状态仪表板",+ "overview": "概览",+ "statistics": "统计",+ "total_warranties": "总保修数",+ "active_warranties": "有效保修",+ "expiring_soon": "即将过期",+ "expired_warranties": "已过期保修",+ "warranty_distribution": "保修分布",+ "expiration_timeline": "到期时间线",+ "recent_activity": "最近活动",+ "recent_expirations": "最近过期或即将过期",+ "recent_expirations_empty": "没有最近过期或即将到期的保修。",+ "system_health": "系统健康",+ "database_status": "数据库状态",+ "connected": "已连接",+ "version": "版本",+ "uptime": "正常运行时间"+ },+ "about": {+ "title": "关于Warracker",+ "description": "一个全面的保修管理系统,旨在帮助您在一个安全、用户友好的平台中跟踪、整理和管理所有产品保修。",+ "version": "版本",+ "update_status": "更新状态",+ "checking_updates": "正在检查更新...",+ "view_release_notes": "查看发行说明",+ "project_info": "项目信息",+ "project_description": "Warracker是一个使用现代Web技术构建的开源保修管理系统。它提供了一种安全直观的方式来管理产品保修、跟踪到期日期和整理重要文件。",+ "github_repository": "GitHub仓库",+ "releases": "发行版",+ "community_support": "社区与支持",+ "community_description": "加入我们的社区以获得支持、讨论和更新。报告错误、请求功能或从其他用户和贡献者那里获得帮助。",+ "discord_community": "Discord社区",+ "report_issues": "报告问题",+ "developer_info": "开发者信息",+ "developer_description": "Warracker由Sassanix开发和维护。该项目是开源的,欢迎社区的贡献。",+ "sassanix": "Sassanix",+ "agpl_license": "AGPL-3.0许可证",+ "support_project": "支持项目",+ "support_description": "如果您觉得Warracker有用,请考虑支持其开发!",+ "new_version_available": "新版本{{version}}可用!",+ "latest_version": "您正在使用最新版本",+ "update_check_failed": "检查更新失败",+ "features": "功能",+ "feature_track": "跟踪产品保修",+ "feature_notifications": "获取到期通知",+ "feature_documents": "存储保修文件",+ "feature_reports": "生成保修报告",+ "feature_tags": "使用标签整理",+ "feature_export": "导出保修数据",+ "support": "支持",+ "documentation": "文档",+ "github": "GitHub仓库",+ "license": "许可证",+ "copyright": "版权",+ "developed_by": "开发者"+ }+}diff --git a/locales/zh_HK/translation.json b/locales/zh_HK/translation.jsonnew file mode 100644index 0000000..ca7c124--- /dev/null+++ b/locales/zh_HK/translation.json@@ -0,0 +1,552 @@+{+ "app_title": "Warracker",+ "subtitle": "保養追蹤器",+ "nav": {+ "home": "主頁",+ "status": "狀態",+ "settings": "設定",+ "about": "關於"+ },+ "auth": {+ "login": "登入",+ "logout": "登出",+ "register": "註冊",+ "username": "使用者名稱",+ "password": "密碼",+ "email": "電子郵件",+ "first_name": "名字",+ "last_name": "姓氏",+ "forgot_password": "忘記密碼?",+ "reset_password": "重設密碼",+ "confirm_password": "確認密碼",+ "create_account_title": "建立您的帳戶",+ "first_name_optional": "名字(可選)",+ "last_name_optional": "姓氏(可選)",+ "username_hint": "使用者名稱必須是唯一的,並將用於登入。",+ "email_address": "電子郵件地址",+ "toggle_password": "顯示/隱藏密碼",+ "password_hint_simple": "密碼必須至少包含8個字元,並包括大寫字母、小寫字母和數字。",+ "password_requirements": "密碼要求:",+ "req_length": "至少8個字元",+ "req_uppercase": "至少1個大寫字母",+ "req_lowercase": "至少1個小寫字母",+ "req_number": "至少1個數字",+ "req_special": "至少1個特殊字元",+ "create_account": "建立帳戶",+ "already_have_account": "已經有帳戶了?",+ "reset_password_title": "Warracker - 重設密碼",+ "reset_your_password": "重設您的密碼",+ "reset_password_info": "在下方輸入您的電子郵件地址,我們將向您傳送一個重設密碼的連結。",+ "send_reset_link": "傳送重設連結",+ "back_to_login": "返回登入",+ "set_new_password_title": "Warracker - 設定新密碼",+ "set_new_password": "設定新密碼",+ "new_password": "新密碼",+ "confirm_new_password": "確認新密碼",+ "invalid_or_expired_link": "連結無效或已過期",+ "invalid_link_info": "您點擊的密碼重設連結無效或已過期。",+ "request_new_reset_link": "請求新的重設連結"+ },+ "warranties": {+ "title": "您的保養",+ "title_global": "所有使用者的保養",+ "add_new": "新增保養",+ "edit": "編輯保養",+ "delete": "刪除保養",+ "product_name": "產品名稱",+ "purchase_date": "購買日期",+ "warranty_duration": "保養期",+ "years": "年",+ "months": "月",+ "days": "天",+ "vendor": "供應商",+ "serial_numbers": "序號",+ "purchase_price": "購買價格",+ "notes": "備註",+ "tags": "標籤",+ "status": "狀態",+ "expiration_date": "到期日期",+ "active": "有效",+ "expired": "已過期",+ "expiring_soon": "即將到期",+ "lifetime": "終身",+ "no_warranties": "暫無保養。新增您的第一個保養以開始。",+ "search_placeholder": "按名稱、供應商、備註、標籤或序號尋找...",+ "warranty_type": "保養類型",+ "other_document": "其他文件",+ "product": "產品",+ "expiration": "到期",+ "actions": "操作",+ "no_warranties_title": "暫無保養",+ "no_warranties_desc": "新增您的第一個保養以開始",+ "add_warranty": "新增保養",+ "warranty_entry_method": "保養登錄方式",+ "warranty_duration_option": "保養期",+ "exact_expiration_option": "確切到期日期",+ "warranty_period": "保養期",+ "expiration_date_label": "到期日期",+ "currency": "貨幣",+ "add_tags": "新增標籤",+ "add_tags_desc": "標籤可幫助您整理和篩選保養",+ "save_changes": "儲存變更",+ "confirm_delete": "確認刪除",+ "manage_tags": "管理標籤",+ "add_tag": "新增標籤",+ "unknown_status": "未知狀態",+ "expiring_soon_days": "即將到期({{days}} {{dayText}})",+ "days_remaining": "剩餘 {{days}} {{dayText}}",+ "day_one": "天",+ "day_other": "天",+ "month_one": "月",+ "month_other": "月",+ "year_one": "年",+ "year_other": "年",+ "na": "不適用",+ "age": "年齡",+ "warranty": "保養",+ "warranty_ends": "保養結束",+ "price": "價格",+ "serial_number": "序號",+ "vendor": "供應商",+ "type": "類型",+ "owner": "所有者",+ "product_website": "產品網站",+ "documents": "文件",+ "summary": "摘要",+ "product_url_placeholder": "https://example.com/product",+ "years_placeholder": "年",+ "months_placeholder": "月",+ "days_placeholder": "天",+ "add_any_notes_placeholder": "新增關於此保養的任何備註...",+ "product_url_optional": "產品URL(可選)",+ "enter_serial_number": "輸入序號",+ "vendor_optional": "供應商(可選)",+ "vendor_placeholder": "例如Amazon、Best Buy等",+ "lifetime_warranty": "終身保養",+ "warranty_type_optional": "保養類型(可選)",+ "select_warranty_type": "選擇保養類型...",+ "standard": "標準",+ "extended": "延長",+ "manufacturer": "製造商",+ "third_party": "第三方",+ "store": "商店",+ "premium": "高級",+ "limited": "有限",+ "full": "全面",+ "parts_only": "僅零件",+ "labor_only": "僅人工",+ "international": "國際",+ "accidental_damage": "意外損壞",+ "other_custom": "其他(自訂)",+ "enter_custom_warranty_type": "輸入自訂保養類型",+ "purchase_price_optional": "購買價格(可選)",+ "notes_optional": "備註(可選)",+ "add_any_notes": "新增關於此保養的任何備註...",+ "product_photo_optional": "產品照片(可選)",+ "choose_photo": "選擇照片",+ "invoice_receipt": "發票/收據",+ "store_locally": "本地儲存",+ "store_in_paperless": "儲存在Paperless-ngx",+ "choose_file": "選擇檔案",+ "browse_paperless": "瀏覽Paperless-ngx文件",+ "product_manual_optional": "產品手冊(可選)",+ "files_zip_rar_optional": "檔案(ZIP/RAR,可選)",+ "search_or_add_new_tag": "搜尋或新增標籤...",+ "product_information": "產品資訊",+ "product_url": "產品URL",+ "warranty_details": "保養詳情",+ "product_photo": "產品照片",+ "product_manual": "產品手冊",+ "files": "檔案",+ "selected_tags": "已選標籤",+ "previous_tab": "上一步",+ "next_tab": "下一步",+ "delete_photo": "刪除照片",+ "delete_invoice": "刪除發票",+ "delete_manual": "刪除手冊",+ "delete_files": "刪除檔案",+ "current_photo": "目前照片:",+ "current_invoice": "目前發票:",+ "current_manual": "目前手冊:",+ "current_document": "目前文件:",+ "upload_new_photo_replace": "(上傳新照片以取代)",+ "no_photo_uploaded": "未上傳照片",+ "no_invoice_uploaded": "未上傳發票",+ "no_manual_uploaded": "未上傳手冊",+ "no_document_uploaded": "未上傳其他文件",+ "photo_will_be_deleted": "照片將在儲存時刪除",+ "invoice_will_be_deleted": "發票將在儲存時刪除",+ "manual_will_be_deleted": "手冊將在儲存時刪除",+ "document_will_be_deleted": "其他文件將在儲存時刪除",+ "confirm_delete_message": "您確定要刪除此保養嗎?此操作無法復原。",+ "new_tag_name": "新標籤名稱",+ "existing_tags": "現有標籤",+ "edit_warranty": "編輯保養",+ "warranty_type_standard": "標準",+ "warranty_type_extended": "延長",+ "warranty_type_manufacturer": "製造商",+ "warranty_type_third_party": "第三方",+ "warranty_type_store": "商店",+ "warranty_type_premium": "高級",+ "warranty_type_limited": "有限",+ "warranty_type_full": "全面",+ "warranty_type_parts_only": "僅零件",+ "warranty_type_labor_only": "僅人工",+ "warranty_type_international": "國際",+ "warranty_type_accidental_damage": "意外損壞",+ "warranty_type_other": "其他(自訂)",+ "warranty_type_custom_placeholder": "輸入自訂保養類型",+ "notes_placeholder": "關於此保養的其他備註...",+ "tags_help_text": "標籤可幫助您整理和篩選保養",+ "search_add_tag_placeholder": "搜尋或新增標籤...",+ "upload_new_file_replace": "上傳新檔案以取代",+ "current_other_document": "目前其他文件",+ "no_other_document_uploaded": "未上傳其他文件",+ "other_document_will_be_deleted": "其他文件將在儲存時刪除",+ "files_optional": "檔案(ZIP/RAR,可選)",+ "invoice_receipt_short": "發票",+ "product_manual_short": "手冊",+ "files_short": "檔案",+ "enter_serial_number": "輸入序列號",+ "add_serial_number": "新增另一個序列號"+ },+ "settings": {+ "title": "設定",+ "account_settings": "帳戶設定",+ "preferences": "偏好設定",+ "language": "語言",+ "select_language": "選擇語言",+ "dark_mode": "深色模式",+ "dark_mode_desc": "在淺色和深色主題之間切換",+ "currency": "貨幣",+ "timezone": "時區",+ "date_format": "日期格式",+ "expiring_soon_days": "即將到期天數",+ "save_changes": "儲存變更",+ "current_user": "正在編輯的個人資料:",+ "your_email": "您的電子郵件:",+ "first_name": "名字",+ "last_name": "姓氏",+ "email": "電子郵件",+ "save_profile": "儲存變更",+ "default_view": "預設檢視",+ "default_view_desc": "選擇您偏好的保養檢視",+ "grid_view": "網格檢視",+ "list_view": "清單檢視",+ "table_view": "表格檢視",+ "currency_symbol": "貨幣符號",+ "currency_symbol_desc": "選擇用於顯示價格的符號",+ "currency_position": "貨幣位置",+ "currency_position_desc": "選擇貨幣符號顯示在數字的左側還是右側",+ "expiring_soon_days_desc": "到期前多少天顯示警告",+ "date_format_desc": "選擇日期的顯示方式",+ "save_preferences": "儲存偏好設定",+ "notification_settings": "通知設定",+ "notification_channel": "通知管道",+ "notification_channel_desc": "選擇您希望如何接收通知",+ "notification_disabled": "已停用",+ "notification_email": "電子郵件",+ "notification_apprise": "Apprise",+ "notification_both": "兩者",+ "email_settings": "電子郵件設定",+ "notification_frequency": "通知頻率",+ "notification_frequency_desc": "接收電子郵件通知的頻率",+ "daily": "每日",+ "weekly": "每週",+ "monthly": "每月",+ "notification_time": "通知時間",+ "timezone_desc": "您當地的通知時區",+ "apprise_settings": "Apprise設定",+ "apprise_frequency": "Apprise通知頻率",+ "apprise_frequency_desc": "接收Apprise通知的頻率",+ "apprise_time": "Apprise通知時間",+ "apprise_timezone": "Apprise時區",+ "apprise_timezone_desc": "您當地的Apprise通知時區",+ "save_notification_settings": "儲存通知設定",+ "security": "安全",+ "change_password": "變更密碼",+ "change_password_desc": "更新您的帳戶密碼",+ "change": "變更",+ "current_password": "目前密碼",+ "new_password": "新密碼",+ "confirm_password": "確認新密碼",+ "update_password": "更新密碼",+ "cancel": "取消",+ "danger_zone": "危險區域",+ "delete_account": "刪除帳戶",+ "delete_account_desc": "永久刪除您的帳戶和所有資料",+ "admin_settings": "管理員設定",+ "admin_actions": "管理員操作",+ "refresh_data": "重新整理資料",+ "check_admin_status": "檢查管理員狀態",+ "show_users_list": "顯示使用者清單",+ "test_api": "測試API",+ "send_notifications": "傳送保養通知",+ "check_scheduler": "檢查排程器狀態",+ "site_settings": "網站設定",+ "registration_enabled": "已啟用註冊",+ "registration_enabled_desc": "允許新使用者註冊",+ "email_base_url": "電子郵件基礎URL",+ "global_view_enabled": "已啟用全域檢視",+ "global_view_admin_only": "全域檢視僅限管理員",+ "save_site_settings": "儲存網站設定",+ "oidc_configuration": "OIDC SSO設定",+ "enable_oidc": "啟用OIDC SSO",+ "oidc_provider_name": "OIDC提供者名稱",+ "client_id": "用戶端ID",+ "client_secret": "用戶端密鑰",+ "issuer_url": "發行者URL",+ "scope": "範圍",+ "save_oidc_settings": "儲存OIDC設定",+ "oidc_sso_desc": "允許使用者透過OIDC提供者登入。",+ "oidc_only_mode": "僅OIDC登入模式",+ "oidc_only_mode_desc": "隱藏傳統的使用者名稱/密碼登入表單,僅允許OIDC登入。<strong>警告:</strong>在啟用此選項之前,請確保OIDC已正確設定。",+ "oidc_provider_name_desc": "OIDC用戶端的內部名稱(例如'oidc')。",+ "client_secret_desc": "敏感值。儲存在資料庫中。變更生效需要重新啟動應用程式。",+ "issuer_url_desc": "您的OIDC提供者的基礎URL。",+ "scope_desc": "以空格分隔的OIDC範圍。",+ "oidc_restart_message": "OIDC設定需要重新啟動應用程式才能完全生效。",+ "api_token": "API權杖",+ "view_documents": "在Warracker中檢視文件",+ "connection_testing": "連線測試",+ "apprise_notifications": "Apprise通知",+ "enable_apprise": "啟用Apprise通知",+ "loading": "載入中...",+ "time_of_day_notification": "接收通知的時間(24小時格式)",+ "paperless_ngx_settings": "Paperless-ngx設定",+ "paperless_ngx_about_title": "關於Paperless-ngx整合:",+ "paperless_ngx_about_desc": "此可選功能允許您將保養文件儲存在自託管的Paperless-ngx執行個體中,而不是本地儲存。啟用後,使用者可以選擇將每個文件儲存在本地還是Paperless-ngx中。",+ "paperless_ngx_desc": "設定與Paperless-ngx文件管理系統的整合",+ "enable_paperless": "啟用Paperless-ngx整合",+ "paperless_url": "Paperless-ngx URL",+ "paperless_url_desc": "您的Paperless-ngx執行個體的基礎URL",+ "paperless_token": "API權杖",+ "paperless_token_desc": "您的Paperless-ngx API驗證權杖",+ "paperless_token_desc_generate": "從您的Paperless-ngx執行個體產生API權杖(設定→API權杖)。",+ "paperless_view_in_app": "在應用程式內檢視文件",+ "paperless_view_in_app_desc": "在應用程式內開啟文件,而不是在新分頁中",+ "debug_config": "偵錯設定",+ "test_upload": "測試上傳",+ "save_paperless_settings": "儲存Paperless-ngx設定",+ "apprise_desc": "設定Apprise以實現向多個服務的進階通知傳遞",+ "apprise_desc_system_wide": "在系統範圍內啟用或停用Apprise通知",+ "apprise_not_available_title": "Apprise不可用:",+ "apprise_not_available_desc": "Apprise通知庫未安裝或不可用。通知功能已停用。",+ "apprise_url": "Apprise URL",+ "apprise_url_desc": "您的Apprise通知服務URL",+ "apprise_mode": "通知模式",+ "apprise_mode_desc": "選擇何時傳送Apprise通知",+ "apprise_mode_global": "全域摘要",+ "apprise_mode_individual": "按使用者",+ "test_paperless": "測試Paperless連線",+ "test_apprise": "測試Apprise連線",+ "apprise_warranty_scope": "保養範圍",+ "apprise_warranty_scope_desc": "選擇要在通知中包含的保養",+ "all_warranties": "所有保養",+ "personal_warranties": "僅個人保養",+ "all_users_warranties": "所有使用者的保養",+ "admin_warranties_only": "僅管理員的保養",+ "apprise_notification_days": "通知天數",+ "apprise_notification_days_desc": "到期前多少天傳送通知(以逗號分隔,例如“7,30”表示提前7天和30天)",+ "apprise_check_frequency": "檢查頻率",+ "apprise_check_frequency_desc": "系統檢查即將到期的保養的頻率(全域設定)",+ "apprise_title_prefix": "訊息標題前置詞",+ "apprise_title_prefix_desc": "新增到通知標題的前置詞(例如,“[Warracker]”將導致“[Warracker]保養即將到期”)",+ "apprise_test_url": "測試URL(可選)",+ "apprise_test_url_desc": "可選:僅用於傳送測試通知的URL(不會儲存到主設定中)",+ "save_apprise_settings": "儲存Apprise設定",+ "validate_urls": "驗證URL",+ "send_expiration_notifications_now": "立即傳送到期通知",+ "apprise_current_status": "目前狀態",+ "apprise_urls_configured": "已設定的URL:",+ "apprise_supported_services": "支援的服務",+ "apprise_supported_services_desc": "Apprise支援80多種通知服務,包括:Discord、Slack、Telegram、電子郵件(Gmail、Outlook)、Webhooks、Microsoft Teams、Matrix、Pushover、Ntfy、Gotify等等。",+ "view_full_list_of_supported_services": "檢視支援的服務的完整清單",+ "ownership_management": "所有權管理",+ "transfer_ownership": "轉移所有權",+ "warning_title": "警告:",+ "transfer_ownership_warning": "將應用程式所有權轉移給另一位管理員使用者。此操作不可逆。",+ "transfer_ownership_desc": "所有權轉移後,您將成為普通管理員,新所有者將擁有對應用程式的最終控制權。",+ "select_new_owner": "選擇新所有者(必須是管理員)",+ "select_admin_user": "選擇管理員使用者...",+ "transfer_ownership_button": "轉移所有權",+ "transfer_ownership_irreversible": "此操作無法復原。",+ "transfer_ownership_confirmation": "您即將將應用程式所有權轉移給",+ "after_this_transfer": "此次轉移後:",+ "transfer_ownership_consequence_1": "您將成為普通管理員",+ "transfer_ownership_consequence_2": "新所有者將擁有對應用程式的最終控制權",+ "transfer_ownership_consequence_3": "只有新所有者才能再次轉移所有權",+ "transfer_ownership_type_to_confirm": "要確認,請在下面的欄位中輸入“TRANSFER”:"+ },+ "actions": {+ "save": "儲存",+ "cancel": "取消",+ "delete": "刪除",+ "edit": "編輯",+ "export": "匯出",+ "import": "匯入",+ "refresh": "重新整理",+ "search": "搜尋",+ "clear": "清除",+ "upload": "上傳",+ "download": "下載",+ "manage_tags": "管理標籤",+ "close": "關閉",+ "save_changes": "儲存變更"+ },+ "filters": {+ "all_status": "所有狀態",+ "all_tags": "所有標籤",+ "all_vendors": "所有供應商",+ "all_types": "所有類型",+ "sort_by": "排序方式",+ "sort_expiration": "到期日期",+ "sort_purchase": "購買日期",+ "sort_age": "年齡",+ "sort_name": "產品名稱",+ "sort_vendor": "供應商",+ "sort_warranty_type": "保養類型",+ "status": "狀態",+ "tags": "標籤",+ "vendor": "供應商",+ "warranty_type": "保養類型",+ "view": "檢視",+ "scope": "範圍"+ },+ "messages": {+ "success": "成功",+ "error": "錯誤",+ "warning": "警告",+ "loading": "載入中...",+ "saved": "變更已成功儲存",+ "deleted": "項目已成功刪除",+ "confirm_delete": "您確定要刪除此項目嗎?",+ "no_results": "未找到結果",+ "file_too_large": "檔案太大",+ "invalid_file_type": "無效的檔案類型",+ "fill_first_last_name": "請填寫名字和姓氏",+ "email_cannot_be_empty": "電子郵件地址不能為空。",+ "enter_valid_email": "請輸入有效的電子郵件地址。",+ "profile_updated_successfully": "個人資料更新成功",+ "preferences_saved_successfully": "偏好設定已成功儲存。",+ "fill_password_fields": "請填寫所有密碼欄位",+ "passwords_do_not_match": "新密碼不匹配",+ "password_min_length": "密碼必須至少8個字符長",+ "type_delete_to_confirm": "請輸入DELETE以確認",+ "account_deleted_successfully": "帳戶已成功刪除",+ "account_cannot_delete_offline": "離線模式下無法刪除帳戶",+ "failed_delete_account": "刪除帳戶失敗。請重試。",+ "user_updated_successfully": "用戶更新成功",+ "user_deleted_successfully": "用戶刪除成功",+ "user_id_missing": "用戶ID缺失",+ "failed_load_users": "載入用戶失敗",+ "error_loading_users": "載入用戶時出錯",+ "select_user_transfer_ownership": "請選擇要轉移所有權的用戶",+ "ownership_transferred_successfully": "所有權轉移成功!正在刷新頁面...",+ "failed_load_site_settings": "載入網站設定失敗。請重試。",+ "invalid_email_base_url": "無效的電子郵件基礎URL格式。應以http://或https://開頭",+ "no_site_settings_to_save": "沒有網站設定需要儲存。",+ "site_settings_saved_successfully": "網站設定儲存成功",+ "failed_save_site_settings": "儲存網站設定失敗",+ "oidc_settings_saved_successfully": "OIDC設定儲存成功。",+ "failed_save_oidc_settings": "儲存OIDC設定失敗。",+ "api_endpoint_accessible": "API端點可訪問",+ "api_endpoint_not_accessible": "API端點不可訪問。狀態:",+ "only_admins_send_notifications": "只有管理員可以發送保固通知",+ "notifications_triggered_successfully": "通知觸發成功",+ "notification_settings_saved_successfully": "通知設定儲存成功",+ "apprise_settings_saved_successfully": "Apprise設定儲存成功",+ "test_notification_sent_successfully": "測試通知發送成功",+ "no_urls_to_validate": "沒有URL需要驗證",+ "paperless_settings_saved_successfully": "Paperless-ngx設定儲存成功!",+ "enter_valid_paperless_url": "請輸入有效的URL(例:https://paperless.yourdomain.com)",+ "enter_paperless_url_first": "請先輸入Paperless-ngx URL",+ "paperless_connection_test_successful": "Paperless-ngx連接測試成功!",+ "paperless_connection_test_failed": "Paperless-ngx連接測試失敗",+ "enter_api_token_test_connection": "請輸入API令牌以測試連接",+ "failed_load_user_data": "載入用戶數據失敗。請重試。",+ "could_not_connect_user_data": "無法連接以獲取用戶數據。顯示緩存信息。",+ "preferences_saved_locally_failed_sync": "偏好設定已本地儲存,但與服務器同步失敗:",+ "preferences_saved_locally": "偏好設定已本地儲存。",+ "correct_errors_in_tab": "請在繼續之前更正突出顯示的分頁中的錯誤。",+ "please_fill_out_this_field": "請填寫此欄位。"+ },+ "languages": {+ "en": "English",+ "fr": "Français",+ "es": "Español",+ "de": "Deutsch",+ "it": "Italiano",+ "cs": "Čeština",+ "nl": "Nederlands",+ "hi": "हिन्दी",+ "fa": "فارسی",+ "ar": "العربية",+ "ru": "Русский",+ "uk": "Українська",+ "zh_CN": "简体中文",+ "zh_HK": "繁體中文",+ "ja": "日本語",+ "pt": "Português",+ "ko": "한국어"+ },+ "status": {+ "title": "系統狀態",+ "dashboard_title": "保養狀態儀表板",+ "global_dashboard_title": "全域保養狀態儀表板",+ "overview": "概觀",+ "statistics": "統計",+ "total_warranties": "總保養數",+ "active_warranties": "有效保養",+ "expiring_soon": "即將到期",+ "expired_warranties": "已過期保養",+ "warranty_distribution": "保養分佈",+ "expiration_timeline": "到期時間軸",+ "recent_activity": "最近活動",+ "recent_expirations": "最近過期或即將到期",+ "recent_expirations_empty": "沒有最近過期或即將到期的保養。",+ "system_health": "系統健康",+ "database_status": "資料庫狀態",+ "connected": "已連線",+ "version": "版本",+ "uptime": "正常執行時間"+ },+ "about": {+ "title": "關於Warracker",+ "description": "一個全面的保養管理系統,旨在幫助您在一個安全、使用者友善的平台中追蹤、整理和管理所有產品保養。",+ "version": "版本",+ "update_status": "更新狀態",+ "checking_updates": "正在檢查更新...",+ "view_release_notes": "檢視發行說明",+ "project_info": "專案資訊",+ "project_description": "Warracker是一個使用現代Web技術建置的開源保養管理系統。它提供了一種安全直觀的方式來管理產品保養、追蹤到期日期和整理重要文件。",+ "github_repository": "GitHub儲存庫",+ "releases": "發行版",+ "community_support": "社群與支援",+ "community_description": "加入我們的社群以獲得支援、討論和更新。報告錯誤、請求功能或從其他使用者和貢獻者那裡獲得幫助。",+ "discord_community": "Discord社群",+ "report_issues": "報告問題",+ "developer_info": "開發者資訊",+ "developer_description": "Warracker由Sassanix開發和維護。該專案是開源的,歡迎社群的貢獻。",+ "sassanix": "Sassanix",+ "agpl_license": "AGPL-3.0授權",+ "support_project": "支援專案",+ "support_description": "如果您覺得Warracker有用,請考慮支援其開發!",+ "new_version_available": "新版本{{version}}可用!",+ "latest_version": "您正在使用最新版本",+ "update_check_failed": "檢查更新失敗",+ "features": "功能",+ "feature_track": "追蹤產品保養",+ "feature_notifications": "獲取到期通知",+ "feature_documents": "儲存保養文件",+ "feature_reports": "產生保養報告",+ "feature_tags": "使用標籤整理",+ "feature_export": "匯出保養資料",+ "support": "支援",+ "documentation": "文件",+ "github": "GitHub儲存庫",+ "license": "授權",+ "copyright": "版權",+ "developed_by": "開發者"+ }+}diff --git a/nginx.conf b/nginx.confindex ebdbae3..0d99b75 100644--- a/nginx.conf+++ b/nginx.conf@@ -35,6 +35,15 @@ server {application/manifest+json webmanifest manifest;}+ # Specific location for locales JSON files+ location /locales/ {+ alias /var/www/html/locales/;+ try_files $uri =404;+ add_header Content-Type "application/json; charset=utf-8";+ add_header Cache-Control "no-cache, no-store, must-revalidate";+ expires -1;+ }+# API requests - proxy to backend (fixed upstream host)# Using ^~ to ensure this prefix match takes precedence over regex extension matcheslocation ^~ /api/ {