Skip to content

NOW MANAGED ON CODEBERG

add missing polish translations for comments

Artur Trzęsiok98a3c815cf24
diff --git a/resources/lang/en/entities.php b/resources/lang/en/entities.php
index 6c5dd9f77..8a47ae011 100644
--- a/resources/lang/en/entities.php
+++ b/resources/lang/en/entities.php
@@ -245,6 +245,7 @@ return [
*/
'comment' => 'Comment',
'comments' => 'Comments',
+ 'comment_add' => 'Add Comment',
'comment_placeholder' => 'Leave a comment here',
'comment_count' => '{0} No Comments|{1} 1 Comment|[2,*] :count Comments',
'comment_save' => 'Save Comment',
diff --git a/resources/lang/pl/common.php b/resources/lang/pl/common.php
index f7741ba6f..84c9b0d67 100644
--- a/resources/lang/pl/common.php
+++ b/resources/lang/pl/common.php
@@ -10,6 +10,7 @@ return [
'save' => 'Zapisz',
'continue' => 'Kontynuuj',
'select' => 'Wybierz',
+ 'more' => 'Więcej',
/**
* Form Labels
@@ -46,6 +47,10 @@ return [
'no_items' => 'Brak elementów do wyświetlenia',
'back_to_top' => 'Powrót na górę',
'toggle_details' => 'Włącz/wyłącz szczegóły',
+ 'toggle_thumbnails' => 'Włącz/wyłącz miniatury',
+ 'details' => 'Szczegóły',
+ 'grid_view' => 'Widok kafelkowy',
+ 'list_view' => 'Widok listy',
/**
* Header
diff --git a/resources/lang/pl/entities.php b/resources/lang/pl/entities.php
index 30e853bce..cc00c32ff 100644
--- a/resources/lang/pl/entities.php
+++ b/resources/lang/pl/entities.php
@@ -70,6 +70,7 @@ return [
*/
'book' => 'Księga',
'books' => 'Księgi',
+ 'x_books' => ':count Księga|:count Księgi',
'books_empty' => 'Brak utworzonych ksiąg',
'books_popular' => 'Popularne księgi',
'books_recent' => 'Ostatnie księgi',
@@ -103,6 +104,7 @@ return [
*/
'chapter' => 'Rozdział',
'chapters' => 'Rozdziały',
+ 'x_chapters' => ':count Rozdział|:count Rozdziały',
'chapters_popular' => 'Popularne rozdziały',
'chapters_new' => 'Nowy rozdział',
'chapters_create' => 'Utwórz nowy rozdział',
@@ -234,4 +236,24 @@ return [
'profile_not_created_pages' => ':userName nie utworzył żadnych stron',
'profile_not_created_chapters' => ':userName nie utworzył żadnych rozdziałów',
'profile_not_created_books' => ':userName nie utworzył żadnych ksiąg',
+
+ /**
+ * Comments
+ */
+ 'comment' => 'Komentarz',
+ 'comments' => 'Komentarze',
+ 'comment_add' => 'Dodaj komentarz',
+ 'comment_placeholder' => 'Napisz swój komentarz tutaj',
+ 'comment_count' => '{0} Brak komentarzy |{1} 1 komentarz|[2,*] :count komentarzy',
+ 'comment_save' => 'Zapisz komentarz',
+ 'comment_saving' => 'Zapisywanie komentarza...',
+ 'comment_deleting' => 'Usuwanie komentarza...',
+ 'comment_new' => 'Nowy komentarz',
+ 'comment_created' => 'Skomentowano :createDiff',
+ 'comment_updated' => 'Zaktualizowano :updateDiff przez :username',
+ 'comment_deleted_success' => 'Komentarz usunięty',
+ 'comment_created_success' => 'Komentarz dodany',
+ 'comment_updated_success' => 'Komentarz zaktualizowany',
+ 'comment_delete_confirm' => 'Czy na pewno chcesz usunąc ten komentarz?',
+ 'comment_in_reply_to' => 'W odpowiedzi na :commentId',
];
\ No newline at end of file
diff --git a/resources/views/comments/comments.blade.php b/resources/views/comments/comments.blade.php
index 8186070c3..3d7763e22 100644
--- a/resources/views/comments/comments.blade.php
+++ b/resources/views/comments/comments.blade.php
@@ -33,7 +33,7 @@
</div>
<div class="form-group" comment-add-button>
- <button type="button" action="addComment" class="button outline">Add Comment</button>
+ <button type="button" action="addComment" class="button outline">{{ trans('entities.comment_add') }}</button>
</div>
@endif