From 8039b2db2404570af239d815f2d3657fba86adc6 Mon Sep 17 00:00:00 2001 From: VerioPL Date: Thu, 1 Feb 2018 15:31:09 +0100 Subject: [PATCH] Translation EN/PL of poll views --- resources/lang/en/poll.php | 10 +++++++++- resources/lang/pl/poll.php | 10 +++++++++- resources/views/poll/forms/make.blade.php | 18 +++++++++--------- resources/views/poll/forms/vote.blade.php | 4 ++-- 4 files changed, 29 insertions(+), 13 deletions(-) diff --git a/resources/lang/en/poll.php b/resources/lang/en/poll.php index 7208582dbe..6a6198d8f8 100644 --- a/resources/lang/en/poll.php +++ b/resources/lang/en/poll.php @@ -14,5 +14,13 @@ 'multiple-choice' => 'This is a multiple choice poll. Select as many answers as you like.', 'ip-checking' => 'This poll has duplicate vote checking. You can only vote once.', 'vote' => 'Vote', - 'votes' => 'Votes' + 'votes' => 'Votes', + 'title' => 'Title', + 'option' => 'Option', + 'add-option' => 'Add option', + 'delete-option' => 'Delete option', + 'ip-checking' => 'Enable duplicate IP checking', + 'ip-checking-warrning' => 'Only needed if site in public mode', + 'multiple-choice' => 'Allow multiple answers', + 'create-poll' => 'Create poll' ]; \ No newline at end of file diff --git a/resources/lang/pl/poll.php b/resources/lang/pl/poll.php index 5d6cc86478..21dd73bbb6 100644 --- a/resources/lang/pl/poll.php +++ b/resources/lang/pl/poll.php @@ -14,5 +14,13 @@ 'multiple-choice' => 'To jest ankieta wielokrotnego wyboru. Wybierz tyle odpowiedzi ile chcesz.', 'ip-checking' => 'Ta ankieta nie dopuszcza podwójnych głosów.', 'vote' => 'Zagłosuj', - 'votes' => 'Głosy' + 'votes' => 'Głosy', + 'title' => 'Tytuł', + 'option' => 'Opcja', + 'add-option' => 'Dodaj opcję', + 'delete-option' => 'Usuń opcję', + 'ip-checking' => 'Włącz sprawdzanie duplikowania adresów IP', + 'ip-checking-warrning' => 'Wymagane jedynie gdy rejestracja jest otwarta', + 'multiple-choice' => 'Test wielokrotnego wyboru', + 'create-poll' => 'Stwórz ankietę' ]; diff --git a/resources/views/poll/forms/make.blade.php b/resources/views/poll/forms/make.blade.php index 0ce6086591..c424448e73 100755 --- a/resources/views/poll/forms/make.blade.php +++ b/resources/views/poll/forms/make.blade.php @@ -12,43 +12,43 @@ {{ csrf_field() }}
- +
- +
- +
- - + +

- +
@@ -60,7 +60,7 @@ $('#add').on('click', function(e){ e.preventDefault(); options = options + 1; - var optionHTML = '
'; + var optionHTML = '
'; $('.more-options').append(optionHTML); }); diff --git a/resources/views/poll/forms/vote.blade.php b/resources/views/poll/forms/vote.blade.php index f6af415ce6..256f58d2b1 100755 --- a/resources/views/poll/forms/vote.blade.php +++ b/resources/views/poll/forms/vote.blade.php @@ -38,8 +38,8 @@
- + - +