From 6b50f8a4fac81b224b043220fa541224bf8b47f7 Mon Sep 17 00:00:00 2001 From: axeloz Date: Mon, 8 Jan 2024 21:33:47 +0100 Subject: [PATCH 1/6] Update readme.md --- readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.md b/readme.md index a005fdd..8e4bc76 100644 --- a/readme.md +++ b/readme.md @@ -108,6 +108,8 @@ server { location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Scheme $scheme; proxy_pass http://localhost:8080; } From 38d4a8aa182951faff9fdc7e9889c75b52a679ac Mon Sep 17 00:00:00 2001 From: Tade Strehk <42637916+TadeSF@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:48:04 +0100 Subject: [PATCH 2/6] =?UTF-8?q?=E2=9C=A8=20feat:=20Add=20German=20language?= =?UTF-8?q?=20files=20for=20app,=20authentication,=20pagination,=20and=20p?= =?UTF-8?q?asswords?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/de/app.php | 93 ++++++++++++++++++++++++++++++++++++++++++ lang/de/auth.php | 20 +++++++++ lang/de/pagination.php | 19 +++++++++ lang/de/passwords.php | 22 ++++++++++ 4 files changed, 154 insertions(+) create mode 100644 lang/de/app.php create mode 100644 lang/de/auth.php create mode 100644 lang/de/pagination.php create mode 100644 lang/de/passwords.php diff --git a/lang/de/app.php b/lang/de/app.php new file mode 100644 index 0000000..6f5d2ed --- /dev/null +++ b/lang/de/app.php @@ -0,0 +1,93 @@ + 'Paketinhalt', + 'bundle-preview-intro' => 'Hier ist eine Liste der herunterladbaren Dateien:', + 'warning-bundle-expiration' => 'Ablaufdatum des Pakets', + 'warning-bundle-expired' => 'Paket ist abgelaufen', + 'download-all' => 'Alle herunterladen', + 'for' => 'für', + 'files' => 'Datei(en)', + 'no-file-in-this-bundle' => 'Keine Datei in diesem Paket', + 'maximum-filesize' => 'Maximale Dateigröße:', + 'preview-link' => 'Vorschaulink', + 'direct-link' => 'Direkter Downloadlink', + 'delete-link' => 'Löschen-Link', + 'upload-files-title' => 'Dateien hochladen', + 'bundle-preview-title' => 'Dateien herunterladen', + 'files-list' => 'Liste der hochgeladenen Dateien', + 'error-title' => 'Es ist ein Fehler aufgetreten', + 'files-count-limit' => 'Maximalanzahl an Dateien erreicht', + 'file-too-big' => 'Diese Datei ist zu groß', + 'cannot-upload' => 'Upload nicht möglich', + 'cannot-upload-blocked-ip' => 'Sie haben keine Berechtigung, Dateien hochzuladen', + 'upload-permission-required' => 'Rechte zum Hochladen erforderlich', + 'cannot-upload-no-password' => 'Sie müssen das korrekte Passwort eingeben, um Dateien hochzuladen', + 'password' => 'Passwort: ', + 'upload-disabled' => 'Upload deaktiviert', + 'start-new-upload' => 'Hier klicken, um einen neuen Upload zu starten', + 'upload-settings' => 'Einstellungen', + 'upload-expiry' => 'Ablaufdatum', + 'upload-title' => 'Titel', + 'upload-description' => 'Beschreibung', + 'required' => 'erforderlich', + 'download-links' => 'Links zum Herunterladen', + 'one-hour' => 'Eine Stunde (1H)', + 'two-hours' => 'Zwei Stunden (2H)', + 'six-hours' => 'Sechs Stunden (6H)', + 'twelve-hours' => 'Zwölf Stunden (12H)', + 'one-day' => 'Ein Tag (1D)', + 'two-days' => 'Zwei Tage (2D)', + 'one-week' => 'Eine Woche (1W)', + 'two-weeks' => 'Zwei Wochen (2W)', + 'one-month' => 'Ein Monat (1M)', + 'three-months' => 'Drei Monate (3M)', + 'six-months' => 'Sechs Monate (6M)', + 'step' => 'Schritt', + 'leave-empty' => 'Leer lassen, um kein Passwort zu setzen', + 'back' => 'Zurück', + 'start-uploading' => 'Upload der Dateien starten', + 'bundle-password' => 'Passwort', + 'complete-upload' => 'Upload abschließen', + 'no-file' => 'Keine Dateien hochgeladen', + 'click-to-remove' => 'Klicken, um Datei zu entfernen', + 'confirm-delete' => 'Wollen Sie diese Datei wirklich löschen?', + 'confirm-complete' => 'Wollen Sie dieses Paket wirklich abschließen? Es wird dann gesperrt und kann nicht mehr modifiziert werden.', + 'confirmation' => 'Bestätigung', + 'cancel' => 'Abbrechen', + 'confirm' => 'Bestätigen', + 'bundle-locked' => 'Dieses Paket ist abgeschlossen und kann nicht mehr modifiziert werden.', + 'created-at' => 'Erstellt', + 'fullsize' => 'Summe', + 'max-downloads' => 'Maximale Anzahl an Downloads', + 'current-downloads' => 'Downloads', + 'create-new-upload' => 'Neues Paket erstellen', + 'page-not-found' => 'Seite nicht gefunden', + 'permission-denied' => 'Berechtigung verweigert', + 'dropzone-text' => 'Dateien hier ablegen oder klicken, um Dateien hochzuladen', + 'server-answered' => 'Server antwortete mit Code {{statusCode}}.', + 'files-count-on-server' => 'Anzahl der hochgeladenen Dateien', + 'files-remaining-files' => 'Verbleibende Anzahl an Dateien', + 'delete-bundle' => 'Paket löschen', + 'confirm-delete-bundle' => 'Wollen Sie dieses Paket wirklich löschen?', + 'bundle-expired' => 'Dieses Paket ist abgelaufen', + 'active' => 'Aktiv', + 'expired' => 'Abgelaufen', + 'existing-bundles' => 'Ihre Pakete', + 'or-create' => 'Neues Paket', + 'no-existing-bundle' => 'Kein Paket vorhanden', + 'authentication' => 'Authentifizierung', + 'login' => 'Nutzername', + 'password' => 'Passwort', + 'do-login' => 'Login', + 'pending' => 'Entwürfe', + 'duplicate-file' => 'Diese Datei ist bereits Teil des Pakets', + 'unexpected-error' => 'Ein unerwarteter Fehler ist aufgetreten', + 'login-to-get-bundles' => 'um Ihre Pakete zu sehen', + 'you-are-logged-in' => 'Sie sind eingelogged als ":username"', + 'logout' => 'Logout', + 'forever' => 'Für immer', + 'yes' => 'Ja', + 'no' => 'Nein', +]; diff --git a/lang/de/auth.php b/lang/de/auth.php new file mode 100644 index 0000000..99536e1 --- /dev/null +++ b/lang/de/auth.php @@ -0,0 +1,20 @@ + 'Diese Zugangsdaten sind nicht korrekt.', + 'password' => 'Das eingegebene Passwort ist nicht korrekt.', + 'throttle' => 'Zu viele Loginversuche. Bitte versuchen Sie es in :seconds Sekunden erneut.', + +]; diff --git a/lang/de/pagination.php b/lang/de/pagination.php new file mode 100644 index 0000000..ce092b8 --- /dev/null +++ b/lang/de/pagination.php @@ -0,0 +1,19 @@ + '« Vorherige', + 'next' => 'Nächste »', + +]; diff --git a/lang/de/passwords.php b/lang/de/passwords.php new file mode 100644 index 0000000..cfdb4b8 --- /dev/null +++ b/lang/de/passwords.php @@ -0,0 +1,22 @@ + 'Ihr Passwort wurde zurückgesetzt!', + 'sent' => 'Wir haben Ihnen einen Link zum Zurücksetzen des Passworts per E-Mail geschickt!', + 'throttled' => 'Bitte warten Sie, bevor Sie es erneut versuchen.', + 'token' => 'Dieser Token zum Zurücksetzen des Passworts ist ungültig.', + 'user' => "Wir können keinen Benutzer mit dieser E-Mail-Adresse finden.", + +]; From 135fc54d5c269edfd742695a67cd41fe65c16ab1 Mon Sep 17 00:00:00 2001 From: Tade Strehk <42637916+TadeSF@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:48:24 +0100 Subject: [PATCH 3/6] =?UTF-8?q?=F0=9F=93=9A=20docs:=20Update=20multilingua?= =?UTF-8?q?l=20support=20in=20readme.md=20branch:=20de-translation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 8e4bc76..781a02d 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ ## Description -This PHP application based on Laravel 10.9 allows to share files like Wetransfer. You may install it **on your own server**. It **does not require** any database system, it works with JSON files into the storage folder. It is **multilingual** and comes with english, french and korean translations for now. You're welcome to help translating the app. +This PHP application based on Laravel 10.9 allows to share files like Wetransfer. You may install it **on your own server**. It **does not require** any database system, it works with JSON files into the storage folder. It is **multilingual** and comes with english, french, german and korean translations for now. You're welcome to help translating the app. This application provides two links per bundle : - a bundle preview link : you can send this link to your recipients who will see the bundle content. For example: http://yourdomain/bundle/dda2d646b6746b96ea9b?auth=965242. The recipient can see all the files of the bundle and download the bundle as a ZIP archive. @@ -28,7 +28,7 @@ The application also comes with a Laravel Artisan command as a background task w - ability to download the entire bundle as ZIP archive (password protected when applicable) - direct download link (doesn't preview the bundle content) - garbage collector which removes the expired bundles as a background task -- multilingual (EN and FR) +- multilingual (EN, FR, DE and KR) - easy installation, **no database required** - secured by tokens, authentication codes and non-publicly-accessible files @@ -173,7 +173,7 @@ In order to configure your application, copy the .env.example file into .env. Th | `APP_ENV`     | change this to `production` when in production (`local` otherwise) | | `APP_DEBUG` | change this to `false` when in production (`true` otherwise) | | `APP_TIMEZONE` | change this to your current timezone | -| `APP_LOCALE` | change this to "fr", "en" or "kr" | +| `APP_LOCALE` | change this to "fr", "en", "de" or "kr" | | `UPLOAD_PREVENT_DUPLICATES` | Should the app block duplicate files (true / false) | | `HASH_MAX_FILESIZE`| max size for hashing file to check for duplicate files. If files are bigger than limit, they will not be hashed. Find the best value for better cpu / memory consumption | | `UPLOAD_MAX_FILES` | (*optional*) maximal number of files per bundle | From 4dbf92e51874988c900c382430d5b12e1739e66d Mon Sep 17 00:00:00 2001 From: Tade Strehk <42637916+TadeSF@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:49:00 +0100 Subject: [PATCH 4/6] =?UTF-8?q?=F0=9F=9A=A7=20wip:=20TODO=20translate=20va?= =?UTF-8?q?lidation.php=20branch:=20de-translation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/de/validation.php | 184 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 lang/de/validation.php diff --git a/lang/de/validation.php b/lang/de/validation.php new file mode 100644 index 0000000..99f7c61 --- /dev/null +++ b/lang/de/validation.php @@ -0,0 +1,184 @@ + 'The :attribute field must be accepted.', + 'accepted_if' => 'The :attribute field must be accepted when :other is :value.', + 'active_url' => 'The :attribute field must be a valid URL.', + 'after' => 'The :attribute field must be a date after :date.', + 'after_or_equal' => 'The :attribute field must be a date after or equal to :date.', + 'alpha' => 'The :attribute field must only contain letters.', + 'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.', + 'alpha_num' => 'The :attribute field must only contain letters and numbers.', + 'array' => 'The :attribute field must be an array.', + 'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.', + 'before' => 'The :attribute field must be a date before :date.', + 'before_or_equal' => 'The :attribute field must be a date before or equal to :date.', + 'between' => [ + 'array' => 'The :attribute field must have between :min and :max items.', + 'file' => 'The :attribute field must be between :min and :max kilobytes.', + 'numeric' => 'The :attribute field must be between :min and :max.', + 'string' => 'The :attribute field must be between :min and :max characters.', + ], + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute field confirmation does not match.', + 'current_password' => 'The password is incorrect.', + 'date' => 'The :attribute field must be a valid date.', + 'date_equals' => 'The :attribute field must be a date equal to :date.', + 'date_format' => 'The :attribute field must match the format :format.', + 'decimal' => 'The :attribute field must have :decimal decimal places.', + 'declined' => 'The :attribute field must be declined.', + 'declined_if' => 'The :attribute field must be declined when :other is :value.', + 'different' => 'The :attribute field and :other must be different.', + 'digits' => 'The :attribute field must be :digits digits.', + 'digits_between' => 'The :attribute field must be between :min and :max digits.', + 'dimensions' => 'The :attribute field has invalid image dimensions.', + 'distinct' => 'The :attribute field has a duplicate value.', + 'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.', + 'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.', + 'email' => 'The :attribute field must be a valid email address.', + 'ends_with' => 'The :attribute field must end with one of the following: :values.', + 'enum' => 'The selected :attribute is invalid.', + 'exists' => 'The selected :attribute is invalid.', + 'file' => 'The :attribute field must be a file.', + 'filled' => 'The :attribute field must have a value.', + 'gt' => [ + 'array' => 'The :attribute field must have more than :value items.', + 'file' => 'The :attribute field must be greater than :value kilobytes.', + 'numeric' => 'The :attribute field must be greater than :value.', + 'string' => 'The :attribute field must be greater than :value characters.', + ], + 'gte' => [ + 'array' => 'The :attribute field must have :value items or more.', + 'file' => 'The :attribute field must be greater than or equal to :value kilobytes.', + 'numeric' => 'The :attribute field must be greater than or equal to :value.', + 'string' => 'The :attribute field must be greater than or equal to :value characters.', + ], + 'image' => 'The :attribute field must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'in_array' => 'The :attribute field must exist in :other.', + 'integer' => 'The :attribute field must be an integer.', + 'ip' => 'The :attribute field must be a valid IP address.', + 'ipv4' => 'The :attribute field must be a valid IPv4 address.', + 'ipv6' => 'The :attribute field must be a valid IPv6 address.', + 'json' => 'The :attribute field must be a valid JSON string.', + 'lowercase' => 'The :attribute field must be lowercase.', + 'lt' => [ + 'array' => 'The :attribute field must have less than :value items.', + 'file' => 'The :attribute field must be less than :value kilobytes.', + 'numeric' => 'The :attribute field must be less than :value.', + 'string' => 'The :attribute field must be less than :value characters.', + ], + 'lte' => [ + 'array' => 'The :attribute field must not have more than :value items.', + 'file' => 'The :attribute field must be less than or equal to :value kilobytes.', + 'numeric' => 'The :attribute field must be less than or equal to :value.', + 'string' => 'The :attribute field must be less than or equal to :value characters.', + ], + 'mac_address' => 'The :attribute field must be a valid MAC address.', + 'max' => [ + 'array' => 'The :attribute field must not have more than :max items.', + 'file' => 'The :attribute field must not be greater than :max kilobytes.', + 'numeric' => 'The :attribute field must not be greater than :max.', + 'string' => 'The :attribute field must not be greater than :max characters.', + ], + 'max_digits' => 'The :attribute field must not have more than :max digits.', + 'mimes' => 'The :attribute field must be a file of type: :values.', + 'mimetypes' => 'The :attribute field must be a file of type: :values.', + 'min' => [ + 'array' => 'The :attribute field must have at least :min items.', + 'file' => 'The :attribute field must be at least :min kilobytes.', + 'numeric' => 'The :attribute field must be at least :min.', + 'string' => 'The :attribute field must be at least :min characters.', + ], + 'min_digits' => 'The :attribute field must have at least :min digits.', + 'missing' => 'The :attribute field must be missing.', + 'missing_if' => 'The :attribute field must be missing when :other is :value.', + 'missing_unless' => 'The :attribute field must be missing unless :other is :value.', + 'missing_with' => 'The :attribute field must be missing when :values is present.', + 'missing_with_all' => 'The :attribute field must be missing when :values are present.', + 'multiple_of' => 'The :attribute field must be a multiple of :value.', + 'not_in' => 'The selected :attribute is invalid.', + 'not_regex' => 'The :attribute field format is invalid.', + 'numeric' => 'The :attribute field must be a number.', + 'password' => [ + 'letters' => 'The :attribute field must contain at least one letter.', + 'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.', + 'numbers' => 'The :attribute field must contain at least one number.', + 'symbols' => 'The :attribute field must contain at least one symbol.', + 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', + ], + 'present' => 'The :attribute field must be present.', + 'prohibited' => 'The :attribute field is prohibited.', + 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', + 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', + 'prohibits' => 'The :attribute field prohibits :other from being present.', + 'regex' => 'The :attribute field format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_array_keys' => 'The :attribute field must contain entries for: :values.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_if_accepted' => 'The :attribute field is required when :other is accepted.', + 'required_unless' => 'The :attribute field is required unless :other is in :values.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values are present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute field must match :other.', + 'size' => [ + 'array' => 'The :attribute field must contain :size items.', + 'file' => 'The :attribute field must be :size kilobytes.', + 'numeric' => 'The :attribute field must be :size.', + 'string' => 'The :attribute field must be :size characters.', + ], + 'starts_with' => 'The :attribute field must start with one of the following: :values.', + 'string' => 'The :attribute field must be a string.', + 'timezone' => 'The :attribute field must be a valid timezone.', + 'unique' => 'The :attribute has already been taken.', + 'uploaded' => 'The :attribute failed to upload.', + 'uppercase' => 'The :attribute field must be uppercase.', + 'url' => 'The :attribute field must be a valid URL.', + 'ulid' => 'The :attribute field must be a valid ULID.', + 'uuid' => 'The :attribute field must be a valid UUID.', + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention "attribute.rule" to name the lines. This makes it quick to + | specify a specific custom language line for a given attribute rule. + | + */ + + 'custom' => [ + 'attribute-name' => [ + 'rule-name' => 'custom-message', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap our attribute placeholder + | with something more reader friendly such as "E-Mail Address" instead + | of "email". This simply helps us make our message more expressive. + | + */ + + 'attributes' => [], + +]; From 018d09503a8b90157e1cde1238abb37888b3102e Mon Sep 17 00:00:00 2001 From: Tade Strehk <42637916+TadeSF@users.noreply.github.com> Date: Thu, 11 Jan 2024 01:30:00 +0100 Subject: [PATCH 5/6] =?UTF-8?q?=E2=9C=A8=20feat:=20Translate=20validation?= =?UTF-8?q?=20language=20lines=20branch:=20de-translation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/de/validation.php | 238 ++++++++++++++++++++--------------------- 1 file changed, 119 insertions(+), 119 deletions(-) diff --git a/lang/de/validation.php b/lang/de/validation.php index 99f7c61..c429315 100644 --- a/lang/de/validation.php +++ b/lang/de/validation.php @@ -13,143 +13,143 @@ return [ | */ - 'accepted' => 'The :attribute field must be accepted.', - 'accepted_if' => 'The :attribute field must be accepted when :other is :value.', - 'active_url' => 'The :attribute field must be a valid URL.', - 'after' => 'The :attribute field must be a date after :date.', - 'after_or_equal' => 'The :attribute field must be a date after or equal to :date.', - 'alpha' => 'The :attribute field must only contain letters.', - 'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.', - 'alpha_num' => 'The :attribute field must only contain letters and numbers.', - 'array' => 'The :attribute field must be an array.', - 'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.', - 'before' => 'The :attribute field must be a date before :date.', - 'before_or_equal' => 'The :attribute field must be a date before or equal to :date.', + 'accepted' => 'Das Feld :attribute muss akzeptiert werden.', + 'accepted_if' => 'Das Feld :attribute muss akzeptiert werden, wenn :other gleich :value ist.', + 'active_url' => 'Das Feld :attribute muss eine gültige URL sein.', + 'after' => 'Das Feld :attribute muss ein Datum nach dem :date sein.', + 'after_or_equal' => 'Das Feld :attribute muss ein Datum nach oder gleich dem :date sein.', + 'alpha' => 'Das Feld :attribute darf nur Buchstaben enthalten.', + 'alpha_dash' => 'Das Feld :attribute darf nur Buchstaben, Zahlen, Striche und Unterstriche enthalten.', + 'alpha_num' => 'Das Feld :attribute darf nur Buchstaben und Zahlen enthalten.', + 'array' => 'Das Feld :attribute muss ein Array sein.', + 'ascii' => 'Das Feld :attribute darf nur einbyte alphanumerische Zeichen und Symbole enthalten.', + 'before' => 'Das Feld :attribute muss ein Datum vor dem :date sein.', + 'before_or_equal' => 'Das Feld :attribute muss ein Datum vor oder gleich dem :date sein.', 'between' => [ - 'array' => 'The :attribute field must have between :min and :max items.', - 'file' => 'The :attribute field must be between :min and :max kilobytes.', - 'numeric' => 'The :attribute field must be between :min and :max.', - 'string' => 'The :attribute field must be between :min and :max characters.', + 'array' => 'Das Feld :attribute muss zwischen :min und :max Elemente haben.', + 'file' => 'Das Feld :attribute muss zwischen :min und :max Kilobytes groß sein.', + 'numeric' => 'Das Feld :attribute muss zwischen :min und :max liegen.', + 'string' => 'Das Feld :attribute muss zwischen :min und :max Zeichen lang sein.', ], - 'boolean' => 'The :attribute field must be true or false.', - 'confirmed' => 'The :attribute field confirmation does not match.', - 'current_password' => 'The password is incorrect.', - 'date' => 'The :attribute field must be a valid date.', - 'date_equals' => 'The :attribute field must be a date equal to :date.', - 'date_format' => 'The :attribute field must match the format :format.', - 'decimal' => 'The :attribute field must have :decimal decimal places.', - 'declined' => 'The :attribute field must be declined.', - 'declined_if' => 'The :attribute field must be declined when :other is :value.', - 'different' => 'The :attribute field and :other must be different.', - 'digits' => 'The :attribute field must be :digits digits.', - 'digits_between' => 'The :attribute field must be between :min and :max digits.', - 'dimensions' => 'The :attribute field has invalid image dimensions.', - 'distinct' => 'The :attribute field has a duplicate value.', - 'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.', - 'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.', - 'email' => 'The :attribute field must be a valid email address.', - 'ends_with' => 'The :attribute field must end with one of the following: :values.', - 'enum' => 'The selected :attribute is invalid.', - 'exists' => 'The selected :attribute is invalid.', - 'file' => 'The :attribute field must be a file.', - 'filled' => 'The :attribute field must have a value.', + 'boolean' => 'Das Feld :attribute muss wahr oder falsch sein.', + 'confirmed' => 'Die Bestätigung für das Feld :attribute stimmt nicht überein.', + 'current_password' => 'Das Passwort ist falsch.', + 'date' => 'Das Feld :attribute muss ein gültiges Datum sein.', + 'date_equals' => 'Das Feld :attribute muss ein Datum gleich dem :date sein.', + 'date_format' => 'Das Feld :attribute muss dem Format :format entsprechen.', + 'decimal' => 'Das Feld :attribute muss :decimal Dezimalstellen haben.', + 'declined' => 'Das Feld :attribute muss abgelehnt werden.', + 'declined_if' => 'Das Feld :attribute muss abgelehnt werden, wenn :other gleich :value ist.', + 'different' => 'Das Feld :attribute und :other müssen unterschiedlich sein.', + 'digits' => 'Das Feld :attribute muss :digits Ziffern haben.', + 'digits_between' => 'Das Feld :attribute muss zwischen :min und :max Ziffern haben.', + 'dimensions' => 'Das Feld :attribute hat ungültige Bildabmessungen.', + 'distinct' => 'Das Feld :attribute hat einen doppelten Wert.', + 'doesnt_end_with' => 'Das Feld :attribute darf nicht mit einem der folgenden enden: :values.', + 'doesnt_start_with' => 'Das Feld :attribute darf nicht mit einem der folgenden beginnen: :values.', + 'email' => 'Das Feld :attribute muss eine gültige E-Mail-Adresse sein.', + 'ends_with' => 'Das Feld :attribute muss mit einem der folgenden enden: :values.', + 'enum' => 'Das ausgewählte :attribute ist ungültig.', + 'exists' => 'Das ausgewählte :attribute ist ungültig.', + 'file' => 'Das Feld :attribute muss eine Datei sein.', + 'filled' => 'Das Feld :attribute muss einen Wert haben.', 'gt' => [ - 'array' => 'The :attribute field must have more than :value items.', - 'file' => 'The :attribute field must be greater than :value kilobytes.', - 'numeric' => 'The :attribute field must be greater than :value.', - 'string' => 'The :attribute field must be greater than :value characters.', + 'array' => 'Das Feld :attribute muss mehr als :value Elemente haben.', + 'file' => 'Das Feld :attribute muss größer als :value Kilobytes sein.', + 'numeric' => 'Das Feld :attribute muss größer als :value sein.', + 'string' => 'Das Feld :attribute muss mehr als :value Zeichen haben.', ], 'gte' => [ - 'array' => 'The :attribute field must have :value items or more.', - 'file' => 'The :attribute field must be greater than or equal to :value kilobytes.', - 'numeric' => 'The :attribute field must be greater than or equal to :value.', - 'string' => 'The :attribute field must be greater than or equal to :value characters.', + 'array' => 'Das Feld :attribute muss :value oder mehr Elemente haben.', + 'file' => 'Das Feld :attribute muss gleich oder größer als :value Kilobytes sein.', + 'numeric' => 'Das Feld :attribute muss gleich oder größer als :value sein.', + 'string' => 'Das Feld :attribute muss gleich oder mehr als :value Zeichen haben.', ], - 'image' => 'The :attribute field must be an image.', - 'in' => 'The selected :attribute is invalid.', - 'in_array' => 'The :attribute field must exist in :other.', - 'integer' => 'The :attribute field must be an integer.', - 'ip' => 'The :attribute field must be a valid IP address.', - 'ipv4' => 'The :attribute field must be a valid IPv4 address.', - 'ipv6' => 'The :attribute field must be a valid IPv6 address.', - 'json' => 'The :attribute field must be a valid JSON string.', - 'lowercase' => 'The :attribute field must be lowercase.', + 'image' => 'Das Feld :attribute muss ein Bild sein.', + 'in' => 'Das ausgewählte :attribute ist ungültig.', + 'in_array' => 'Das Feld :attribute muss in :other vorhanden sein.', + 'integer' => 'Das Feld :attribute muss eine Ganzzahl sein.', + 'ip' => 'Das Feld :attribute muss eine gültige IP-Adresse sein.', + 'ipv4' => 'Das Feld :attribute muss eine gültige IPv4-Adresse sein.', + 'ipv6' => 'Das Feld :attribute muss eine gültige IPv6-Adresse sein.', + 'json' => 'Das Feld :attribute muss ein gültiger JSON-String sein.', + 'lowercase' => 'Das Feld :attribute muss in Kleinbuchstaben sein.', 'lt' => [ - 'array' => 'The :attribute field must have less than :value items.', - 'file' => 'The :attribute field must be less than :value kilobytes.', - 'numeric' => 'The :attribute field must be less than :value.', - 'string' => 'The :attribute field must be less than :value characters.', + 'array' => 'Das Feld :attribute muss weniger als :value Elemente haben.', + 'file' => 'Das Feld :attribute muss kleiner als :value Kilobytes sein.', + 'numeric' => 'Das Feld :attribute muss kleiner als :value sein.', + 'string' => 'Das Feld :attribute muss weniger als :value Zeichen haben.', ], 'lte' => [ - 'array' => 'The :attribute field must not have more than :value items.', - 'file' => 'The :attribute field must be less than or equal to :value kilobytes.', - 'numeric' => 'The :attribute field must be less than or equal to :value.', - 'string' => 'The :attribute field must be less than or equal to :value characters.', + 'array' => 'Das Feld :attribute darf nicht mehr als :value Elemente haben.', + 'file' => 'Das Feld :attribute muss kleiner oder gleich :value Kilobyte sein.', + 'numeric' => 'Das Feld :attribute muss kleiner oder gleich :value sein.', + 'string' => 'Das Feld :attribute muss kleiner oder gleich :value Zeichen sein.', ], - 'mac_address' => 'The :attribute field must be a valid MAC address.', + 'mac_address' => 'Das Feld :attribute muss eine gültige MAC-Adresse sein.', 'max' => [ - 'array' => 'The :attribute field must not have more than :max items.', - 'file' => 'The :attribute field must not be greater than :max kilobytes.', - 'numeric' => 'The :attribute field must not be greater than :max.', - 'string' => 'The :attribute field must not be greater than :max characters.', + 'array' => 'Das Feld :attribute darf nicht mehr als :max Elemente haben.', + 'file' => 'Das Feld :attribute darf nicht größer als :max Kilobyte sein.', + 'numeric' => 'Das Feld :attribute darf nicht größer als :max sein.', + 'string' => 'Das Feld :attribute darf nicht mehr als :max Zeichen haben.', ], - 'max_digits' => 'The :attribute field must not have more than :max digits.', - 'mimes' => 'The :attribute field must be a file of type: :values.', - 'mimetypes' => 'The :attribute field must be a file of type: :values.', + 'max_digits' => 'Das Feld :attribute darf nicht mehr als :max Ziffern haben.', + 'mimes' => 'Das Feld :attribute muss eine Datei vom Typ: :values sein.', + 'mimetypes' => 'Das Feld :attribute muss eine Datei vom Typ: :values sein.', 'min' => [ - 'array' => 'The :attribute field must have at least :min items.', - 'file' => 'The :attribute field must be at least :min kilobytes.', - 'numeric' => 'The :attribute field must be at least :min.', - 'string' => 'The :attribute field must be at least :min characters.', + 'array' => 'Das Feld :attribute muss mindestens :min Elemente haben.', + 'file' => 'Das Feld :attribute muss mindestens :min Kilobyte sein.', + 'numeric' => 'Das Feld :attribute muss mindestens :min sein.', + 'string' => 'Das Feld :attribute muss mindestens :min Zeichen haben.', ], - 'min_digits' => 'The :attribute field must have at least :min digits.', - 'missing' => 'The :attribute field must be missing.', - 'missing_if' => 'The :attribute field must be missing when :other is :value.', - 'missing_unless' => 'The :attribute field must be missing unless :other is :value.', - 'missing_with' => 'The :attribute field must be missing when :values is present.', - 'missing_with_all' => 'The :attribute field must be missing when :values are present.', - 'multiple_of' => 'The :attribute field must be a multiple of :value.', - 'not_in' => 'The selected :attribute is invalid.', - 'not_regex' => 'The :attribute field format is invalid.', - 'numeric' => 'The :attribute field must be a number.', + 'min_digits' => 'Das Feld :attribute muss mindestens :min Ziffern haben.', + 'missing' => 'Das Feld :attribute muss fehlen.', + 'missing_if' => 'Das Feld :attribute muss fehlen, wenn :other :value ist.', + 'missing_unless' => 'Das Feld :attribute muss fehlen, es sei denn, :other ist :value.', + 'missing_with' => 'Das Feld :attribute muss fehlen, wenn :values vorhanden ist.', + 'missing_with_all' => 'Das Feld :attribute muss fehlen, wenn :values vorhanden sind.', + 'multiple_of' => 'Das Feld :attribute muss ein Vielfaches von :value sein.', + 'not_in' => 'Das ausgewählte :attribute ist ungültig.', + 'not_regex' => 'Das Format des Feldes :attribute ist ungültig.', + 'numeric' => 'Das Feld :attribute muss eine Zahl sein.', 'password' => [ - 'letters' => 'The :attribute field must contain at least one letter.', - 'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.', - 'numbers' => 'The :attribute field must contain at least one number.', - 'symbols' => 'The :attribute field must contain at least one symbol.', - 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', + 'letters' => 'Das Feld :attribute muss mindestens einen Buchstaben enthalten.', + 'mixed' => 'Das Feld :attribute muss mindestens einen Groß- und einen Kleinbuchstaben enthalten.', + 'numbers' => 'Das Feld :attribute muss mindestens eine Zahl enthalten.', + 'symbols' => 'Das Feld :attribute muss mindestens ein Symbol enthalten.', + 'uncompromised' => 'Das angegebene :attribute ist in einem Datenleck aufgetaucht. Bitte wählen Sie ein anderes :attribute.', ], - 'present' => 'The :attribute field must be present.', - 'prohibited' => 'The :attribute field is prohibited.', - 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', - 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', - 'prohibits' => 'The :attribute field prohibits :other from being present.', - 'regex' => 'The :attribute field format is invalid.', - 'required' => 'The :attribute field is required.', - 'required_array_keys' => 'The :attribute field must contain entries for: :values.', - 'required_if' => 'The :attribute field is required when :other is :value.', - 'required_if_accepted' => 'The :attribute field is required when :other is accepted.', - 'required_unless' => 'The :attribute field is required unless :other is in :values.', - 'required_with' => 'The :attribute field is required when :values is present.', - 'required_with_all' => 'The :attribute field is required when :values are present.', - 'required_without' => 'The :attribute field is required when :values is not present.', - 'required_without_all' => 'The :attribute field is required when none of :values are present.', - 'same' => 'The :attribute field must match :other.', + 'present' => 'Das Feld :attribute muss vorhanden sein.', + 'prohibited' => 'Das Feld :attribute ist verboten.', + 'prohibited_if' => 'Das Feld :attribute ist verboten, wenn :other :value ist.', + 'prohibited_unless' => 'Das Feld :attribute ist verboten, es sei denn :other befindet sich in :values.', + 'prohibits' => 'Das Feld :attribute verbietet das Vorhandensein von :other.', + 'regex' => 'Das Format des Feldes :attribute ist ungültig.', + 'required' => 'Das Feld :attribute ist erforderlich.', + 'required_array_keys' => 'Das Feld :attribute muss Einträge für: :values enthalten.', + 'required_if' => 'Das Feld :attribute ist erforderlich, wenn :other :value ist.', + 'required_if_accepted' => 'Das Feld :attribute ist erforderlich, wenn :other akzeptiert ist.', + 'required_unless' => 'Das Feld :attribute ist erforderlich, es sei denn :other befindet sich in :values.', + 'required_with' => 'Das Feld :attribute ist erforderlich, wenn :values vorhanden ist.', + 'required_with_all' => 'Das Feld :attribute ist erforderlich, wenn :values vorhanden sind.', + 'required_without' => 'Das Feld :attribute ist erforderlich, wenn :values nicht vorhanden ist.', + 'required_without_all' => 'Das Feld :attribute ist erforderlich, wenn keines von :values vorhanden ist.', + 'same' => 'Das Feld :attribute muss mit :other übereinstimmen.', 'size' => [ - 'array' => 'The :attribute field must contain :size items.', - 'file' => 'The :attribute field must be :size kilobytes.', - 'numeric' => 'The :attribute field must be :size.', - 'string' => 'The :attribute field must be :size characters.', + 'array' => 'Das Feld :attribute muss :size Elemente enthalten.', + 'file' => 'Das Feld :attribute muss :size Kilobyte sein.', + 'numeric' => 'Das Feld :attribute muss :size sein.', + 'string' => 'Das Feld :attribute muss :size Zeichen sein.', ], - 'starts_with' => 'The :attribute field must start with one of the following: :values.', - 'string' => 'The :attribute field must be a string.', - 'timezone' => 'The :attribute field must be a valid timezone.', - 'unique' => 'The :attribute has already been taken.', - 'uploaded' => 'The :attribute failed to upload.', - 'uppercase' => 'The :attribute field must be uppercase.', - 'url' => 'The :attribute field must be a valid URL.', - 'ulid' => 'The :attribute field must be a valid ULID.', - 'uuid' => 'The :attribute field must be a valid UUID.', + 'starts_with' => 'Das Feld :attribute muss mit einem der folgenden beginnen: :values.', + 'string' => 'Das Feld :attribute muss ein String sein.', + 'timezone' => 'Das Feld :attribute muss eine gültige Zeitzone sein.', + 'unique' => 'Das :attribute wurde bereits vergeben.', + 'uploaded' => 'Das Hochladen von :attribute ist fehlgeschlagen.', + 'uppercase' => 'Das Feld :attribute muss in Großbuchstaben sein.', + 'url' => 'Das Feld :attribute muss eine gültige URL sein.', + 'ulid' => 'Das Feld :attribute muss eine gültige ULID sein.', + 'uuid' => 'Das Feld :attribute muss eine gültige UUID sein.', /* |-------------------------------------------------------------------------- From 2ed716beb90434bf744cd5c02f7935ce520602fa Mon Sep 17 00:00:00 2001 From: Sanskar Tiwari Date: Tue, 5 Mar 2024 14:30:31 +0530 Subject: [PATCH 6/6] fix locale variable discrepancy --- lang/de/app.php | 2 +- lang/en/app.php | 2 +- lang/kr/app.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/de/app.php b/lang/de/app.php index 6f5d2ed..6a2ce85 100644 --- a/lang/de/app.php +++ b/lang/de/app.php @@ -84,7 +84,7 @@ return [ 'pending' => 'Entwürfe', 'duplicate-file' => 'Diese Datei ist bereits Teil des Pakets', 'unexpected-error' => 'Ein unerwarteter Fehler ist aufgetreten', - 'login-to-get-bundles' => 'um Ihre Pakete zu sehen', + 'to-get-bundles' => 'um Ihre Pakete zu sehen', 'you-are-logged-in' => 'Sie sind eingelogged als ":username"', 'logout' => 'Logout', 'forever' => 'Für immer', diff --git a/lang/en/app.php b/lang/en/app.php index b92e362..b448d6b 100644 --- a/lang/en/app.php +++ b/lang/en/app.php @@ -84,7 +84,7 @@ return [ 'pending' => 'Drafts', 'duplicate-file' => 'This file already exists in the bundle', 'unexpected-error' => 'An unexpected error has occurred', - 'login-to-get-bundles' => 'to get your bundles', + 'to-get-bundles' => 'to get your bundles', 'you-are-logged-in' => 'You are logged in as ":username"', 'logout' => 'Logout', 'forever' => 'Forever', diff --git a/lang/kr/app.php b/lang/kr/app.php index e50cbbc..4911e4a 100644 --- a/lang/kr/app.php +++ b/lang/kr/app.php @@ -84,7 +84,7 @@ return [ 'pending' => 'Drafts', 'duplicate-file' => '이 파일이 번들에 이미 있습니다', 'unexpected-error' => '예기치 않은 오류가 발생했습니다', - 'login-to-get-bundles' => 'to get your bundles', + 'to-get-bundles' => 'to get your bundles', 'you-are-logged-in' => '"username"로 로그인 했습니다', 'logout' => '로그아웃', 'forever' => '로그인 기억',