From 3ad8a366a681ae1416970f487e35adbeb9b4bb47 Mon Sep 17 00:00:00 2001 From: nuc Date: Fri, 16 Feb 2018 11:22:11 +0000 Subject: [PATCH 1/2] Add Polish Translation --- resources/lang/pl/app.php | 80 ++++++++++++++++++++ resources/lang/pl/auth.php | 19 +++++ resources/lang/pl/pagination.php | 19 +++++ resources/lang/pl/passwords.php | 22 ++++++ resources/lang/pl/validation.php | 121 +++++++++++++++++++++++++++++++ 5 files changed, 261 insertions(+) create mode 100644 resources/lang/pl/app.php create mode 100644 resources/lang/pl/auth.php create mode 100644 resources/lang/pl/pagination.php create mode 100644 resources/lang/pl/passwords.php create mode 100644 resources/lang/pl/validation.php diff --git a/resources/lang/pl/app.php b/resources/lang/pl/app.php new file mode 100644 index 00000000..e8d1a2ab --- /dev/null +++ b/resources/lang/pl/app.php @@ -0,0 +1,80 @@ + 'System', + 'settings.appearance' => 'Wygląd', + 'settings.miscellaneous' => 'Różne', + + 'settings.version' => 'Wersja', + 'settings.background_image' => 'Tapeta Pulpitu', + 'settings.homepage_search' => 'Strona Domowa Wyszukiwanie', + 'settings.search_provider' => 'Operator Wyszukiwania', + 'settings.language' => 'Język', + 'settings.reset' => 'Przywróć ustawienia domyślne', + 'settings.remove' => 'Usuń', + 'settings.search' => 'szukaj', + 'settings.no_items' => 'Nic nie znaleziono', + + + 'settings.label' => 'Etykieta', + 'settings.value' => 'Wartość', + 'settings.edit' => 'Edytuj', + 'settings.view' => 'Widok', + + 'options.none' => '- not set -', + 'options.google' => 'Google', + 'options.ddg' => 'DuckDuckGo', + 'options.bing' => 'Bing', + 'options.yes' => 'Tak', + 'options.no' => 'Nie', + + 'buttons.save' => 'Zapisz', + 'buttons.cancel' => 'Anuluj', + 'buttons.add' => 'Dodaj', + 'buttons.upload' => 'Prześlij plik', + + 'dash.pin_item' => 'Przypnij element do pulpitu', + 'dash.no_apps' => 'Obecnie nie ma przypiętych aplikacji, :link1 or :link2', + 'dash.link1' => 'Dodaj aplikację tutaj', + 'dash.link2' => 'Przypnij element do pulpitu', + 'dash.pinned_items' => 'Przypięte elementy', + + 'apps.app_list' => 'Lista aplikacji', + 'apps.view_trash' => 'Widok kosza', + 'apps.add_application' => 'Dodaj Aplikacje', + 'apps.application_name' => 'Nazwa Aplikacji', + 'apps.colour' => 'Kolor', + 'apps.icon' => 'Ikona', + 'apps.pinned' => 'Przypięty', + 'apps.title' => 'Tytuł', + 'apps.hex' => 'Kolor HEX', + 'apps.username' => 'Nazwa Użytkownika', + 'apps.password' => 'Hasło', + 'apps.config' => 'Ustawienia', + 'apps.apikey' => 'Klucz API', + 'apps.enable' => 'Włącz', + + 'url' => 'URL', + 'title' => 'Tytuł', + 'delete' => 'Usuń', + 'optional' => 'Opcjonalny', + 'restore' => 'Przywróć', + + 'alert.success.item_created' => 'Element utworzony', + 'alert.success.item_updated' => 'Element zaktualizowany', + 'alert.success.item_deleted' => 'Element usunięty', + 'alert.success.item_restored' => 'Przywrócono element', + + 'alert.success.setting_updated' => 'Ustawienie zostało zaktualizowane', + 'alert.error.not_exist' => 'Takie ustawienie nie istnieje', + + +]; diff --git a/resources/lang/pl/auth.php b/resources/lang/pl/auth.php new file mode 100644 index 00000000..bc6ded4a --- /dev/null +++ b/resources/lang/pl/auth.php @@ -0,0 +1,19 @@ + 'Nieprawidłowe dane uwierzytelnienia', + 'throttle' => 'Zbyt wiele prób logowania. Spróbuj ponownie za :seconds sekund.', + +]; diff --git a/resources/lang/pl/pagination.php b/resources/lang/pl/pagination.php new file mode 100644 index 00000000..9bf3804c --- /dev/null +++ b/resources/lang/pl/pagination.php @@ -0,0 +1,19 @@ + '« Poprzedni', + 'next' => 'Następny »', + +]; diff --git a/resources/lang/pl/passwords.php b/resources/lang/pl/passwords.php new file mode 100644 index 00000000..cde4698d --- /dev/null +++ b/resources/lang/pl/passwords.php @@ -0,0 +1,22 @@ + 'Hasła muszą mieć co najmniej sześć znaków i być zgodne z potwierdzeniem.', + 'reset' => 'Twoje hasło zostało zresetowane!', + 'sent' => 'Wysłaliśmy e-mailem link do resetowania hasła!', + 'token' => 'Ten token resetowania hasła jest nieprawidłowy', + 'user' => 'Nie możemy znaleźć użytkownika z tym adresem e-mail', + +]; diff --git a/resources/lang/pl/validation.php b/resources/lang/pl/validation.php new file mode 100644 index 00000000..57911357 --- /dev/null +++ b/resources/lang/pl/validation.php @@ -0,0 +1,121 @@ + 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', + ], + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'dimensions' => 'The :attribute has invalid image dimensions.', + 'distinct' => 'The :attribute field has a duplicate value.', + 'email' => 'The :attribute must be a valid email address.', + 'exists' => 'The selected :attribute is invalid.', + 'file' => 'The :attribute must be a file.', + 'filled' => 'The :attribute field must have a value.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'in_array' => 'The :attribute field does not exist in :other.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'ipv4' => 'The :attribute must be a valid IPv4 address.', + 'ipv6' => 'The :attribute must be a valid IPv6 address.', + 'json' => 'The :attribute must be a valid JSON string.', + 'max' => [ + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'mimetypes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', + ], + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'present' => 'The :attribute field must be present.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + '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 is 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 and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', + ], + 'string' => ':attribute must be a string.', + 'timezone' => ':attribute musi być prawidłową strefą czasową.', + 'unique' => ':attribute jest już zajety.', + 'uploaded' => 'Nie udało się przesłać :attribute.', + 'url' => ':attribute ma nieprawidłowy format.', + + /* + |-------------------------------------------------------------------------- + | 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' => 'dowlona-wiadomość', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap attribute place-holders + | with something more reader friendly such as E-Mail Address instead + | of "email". This simply helps us make messages a little cleaner. + | + */ + + 'attributes' => [], + +]; From 52d2322955f6a6f83173cf5d47c2f29f7a631987 Mon Sep 17 00:00:00 2001 From: nuc Date: Tue, 20 Feb 2018 05:40:50 +0000 Subject: [PATCH 2/2] Rough translation based on EN translation --- resources/lang/pl/validation.php | 126 +++++++++++++++---------------- 1 file changed, 63 insertions(+), 63 deletions(-) diff --git a/resources/lang/pl/validation.php b/resources/lang/pl/validation.php index 57911357..a6908949 100644 --- a/resources/lang/pl/validation.php +++ b/resources/lang/pl/validation.php @@ -13,76 +13,76 @@ return [ | */ - 'accepted' => 'The :attribute must be accepted.', - 'active_url' => 'The :attribute is not a valid URL.', - 'after' => 'The :attribute must be a date after :date.', - 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', - 'alpha' => 'The :attribute may only contain letters.', - 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', - 'alpha_num' => 'The :attribute may only contain letters and numbers.', - 'array' => 'The :attribute must be an array.', - 'before' => 'The :attribute must be a date before :date.', - 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', + 'accepted' => ':attribute musi zostać zaakceptowany.', + 'active_url' => ':attribute nie jest prawidłowym adresem URL.', + 'after' => ':attribute musi być datą następną po :date.', + 'after_or_equal' => ':attribute musi być datą następną lub równą dacie :date.', + 'alpha' => ':attribute może zawierać tylko litery.', + 'alpha_dash' => ':attribute mogą zawierać tylko litery, cyfry i myślniki.', + 'alpha_num' => ':attribute może zawierać tylko litery i cyfry.', + 'array' => ':attribute musi być tablicą.', + 'before' => ':attribute musi być datą wcześniejszą od daty :date.', + 'before_or_equal' => ':attribute musi być datą wcześniejszą lub równą dacie :date.', 'between' => [ - 'numeric' => 'The :attribute must be between :min and :max.', - 'file' => 'The :attribute must be between :min and :max kilobytes.', - 'string' => 'The :attribute must be between :min and :max characters.', - 'array' => 'The :attribute must have between :min and :max items.', + 'numeric' => 'Numer :attribute musi byc większy niż :min oraz mniejszy niż :max.', + 'file' => 'Rozmiar pliku :attribute musi byc większy niż :min oraz mniejszy niż :max kilobajtów.', + 'string' => 'Tekst :attribute musi posiadać więcej niż :min oraz mniej niż :max znaków.', + 'array' => 'Tablica :attribute musi zawierać więcej niż :min oraz mniej niż :max elementów.', ], - 'boolean' => 'The :attribute field must be true or false.', - 'confirmed' => 'The :attribute confirmation does not match.', - 'date' => 'The :attribute is not a valid date.', - 'date_format' => 'The :attribute does not match the format :format.', - 'different' => 'The :attribute and :other must be different.', - 'digits' => 'The :attribute must be :digits digits.', - 'digits_between' => 'The :attribute must be between :min and :max digits.', - 'dimensions' => 'The :attribute has invalid image dimensions.', - 'distinct' => 'The :attribute field has a duplicate value.', - 'email' => 'The :attribute must be a valid email address.', - 'exists' => 'The selected :attribute is invalid.', - 'file' => 'The :attribute must be a file.', - 'filled' => 'The :attribute field must have a value.', - 'image' => 'The :attribute must be an image.', - 'in' => 'The selected :attribute is invalid.', - 'in_array' => 'The :attribute field does not exist in :other.', - 'integer' => 'The :attribute must be an integer.', - 'ip' => 'The :attribute must be a valid IP address.', - 'ipv4' => 'The :attribute must be a valid IPv4 address.', - 'ipv6' => 'The :attribute must be a valid IPv6 address.', - 'json' => 'The :attribute must be a valid JSON string.', + 'boolean' => ':attribute musi zwracac wartość logiczną TRUE lub FALSE.', + 'confirmed' => ':attribute nie jest zgodny z polem potwierdzenia.', + 'date' => ':attribute nieprawidłowy format daty.', + 'date_format' => 'Format daty :attribute musi byc zgodny z formatem :format.', + 'different' => 'Wartości :attribute oraz :other muszą być różne.', + 'digits' => 'Wartość :attribute musi być liczbą o długość :digits znaków.', + 'digits_between' => 'Wartość :attribute musi być liczbą o długość co najmniej :min oraz nie więcej niz :max digits.', + 'dimensions' => ':attribute ma nieprawidłowe wymiary obrazu.', + 'distinct' => 'Pole :attribute ma zduplikowaną wartość.', + 'email' => ':attribute musi być prawidłowym adresem e-mail.', + 'exists' => 'Wybrnay :attribute nie istnieje.', + 'file' => ':attribute musi być plikiem.', + 'filled' => 'Pole :attribute nie może być puste.', + 'image' => ':attribute musi być obrazem.', + 'in' => 'Wybrany :attribute jest nieprawidłowy.', + 'in_array' => 'Pole :attribute nie istnieje w :other.', + 'integer' => ':attribute musi być liczbą całkowitą.', + 'ip' => ':attribute musi być prawidłowym adresem IP.', + 'ipv4' => ':attribute musi być prawidłowym adresem IPv4.', + 'ipv6' => ':attribute musi być prawidłowym adresem IPv6.', + 'json' => ':attribute musi być poprawnym łańcuchem JSON.', 'max' => [ - 'numeric' => 'The :attribute may not be greater than :max.', - 'file' => 'The :attribute may not be greater than :max kilobytes.', - 'string' => 'The :attribute may not be greater than :max characters.', - 'array' => 'The :attribute may not have more than :max items.', + 'numeric' => ':attribute nie może być większa niż :max.', + 'file' => 'Rozmiar :attribute nie może być większy niż :max kilobajtów.', + 'string' => ':attribute nie może zawierać więcej niż :max znaków.', + 'array' => ':attribute nie może zawierać więcej niż :max elementów.', ], - 'mimes' => 'The :attribute must be a file of type: :values.', - 'mimetypes' => 'The :attribute must be a file of type: :values.', + 'mimes' => ':attribute musi być plikiem typu: :values.', + 'mimetypes' => ':attribute musi być plikiem typu: :values.', 'min' => [ - 'numeric' => 'The :attribute must be at least :min.', - 'file' => 'The :attribute must be at least :min kilobytes.', - 'string' => 'The :attribute must be at least :min characters.', - 'array' => 'The :attribute must have at least :min items.', + 'numeric' => ':attribute musi wynosić conajmniej :min.', + 'file' => 'Rozmiar :attribute musi być rowny lub większy niż :min kilobajtów.', + 'string' => ':attribute musi zawierać conajmniej :min znaków.', + 'array' => ':attribute musi zawierać conajmniej :min elementów.', ], - 'not_in' => 'The selected :attribute is invalid.', - 'numeric' => 'The :attribute must be a number.', - 'present' => 'The :attribute field must be present.', - 'regex' => 'The :attribute format is invalid.', - 'required' => 'The :attribute field is required.', - 'required_if' => 'The :attribute field is required when :other is :value.', - '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 is 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 and :other must match.', + 'not_in' => ':attribute jest nieprawidłowy.', + 'numeric' => ':attribute musi być liczbą.', + 'present' => 'Obecność pola :attribute jest obowiązkowa.', + 'regex' => 'Format :attribute jest nieprawidłowy.', + 'required' => ':attribute jest wymagany.', + 'required_if' => 'Pole :attribute jest wymagane gdy :other wynosi :value.', + 'required_unless' => 'Pole :attribute jest wymagane, chyba że :other jest zawarte w :values.', + 'required_with' => 'Pole :attribute jest wymagane gdy pole :values jest obecne.', + 'required_with_all' => 'Pole :attribute jest wymagane gdy :values jest obecne.', + 'required_without' => 'Pole :attribute jest wymagane gdy pole :values NIE jest obecne.', + 'required_without_all' => 'Pole :attribute jest wymagane gdy żadne z pól :values NIE jest obecne.', + 'same' => 'Pole :attribute oraz :other muszą być takie same.', 'size' => [ - 'numeric' => 'The :attribute must be :size.', - 'file' => 'The :attribute must be :size kilobytes.', - 'string' => 'The :attribute must be :size characters.', - 'array' => 'The :attribute must contain :size items.', + 'numeric' => ':attribute musi wynosić dokladnie :size.', + 'file' => 'Rozmiar :attribute musi być równy :size kilobajtów.', + 'string' => ':attribute musi składać się dokładnie z :size znaków.', + 'array' => ':attribute musi składać się dokładnie z :size elementów.', ], - 'string' => ':attribute must be a string.', + 'string' => ':attribute musi być łańcuchem znaków.', 'timezone' => ':attribute musi być prawidłową strefą czasową.', 'unique' => ':attribute jest już zajety.', 'uploaded' => 'Nie udało się przesłać :attribute.', @@ -101,7 +101,7 @@ return [ 'custom' => [ 'attribute-name' => [ - 'rule-name' => 'dowlona-wiadomość', + 'rule-name' => 'dowlona-wiadomosc', ], ],