From d7f41748ad99850da23a9bcc85fb5291e49ffd50 Mon Sep 17 00:00:00 2001
From: slawkens <slawkens@gmail.com>
Date: Wed, 7 Oct 2020 23:46:14 +0200
Subject: [PATCH] Forgot to translate requirements

---
 install/steps/3-requirements.php | 6 +++---
 system/locale/en/install.php     | 3 +++
 system/locale/pl/install.php     | 3 +++
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/install/steps/3-requirements.php b/install/steps/3-requirements.php
index 0cef10ae..5b5e0aba 100644
--- a/install/steps/3-requirements.php
+++ b/install/steps/3-requirements.php
@@ -7,15 +7,15 @@ $dirs_required = [
 	'system/cache',
 ];
 $dirs_optional = [
-	'images/guilds' => 'Guild logo upload will not work',
-	'images/gallery' => 'Gallery image upload will not work',
+	'images/guilds' => $locale['step_requirements_warning_images_guilds'],
+	'images/gallery' => $locale['step_requirements_warning_images_gallery'],
 ];
 
 $extensions_required = [
 	'pdo', 'pdo_mysql', 'xml', 'zip'
 ];
 $extensions_optional = [
-	'gd' => 'Player Signatures will not work'
+	'gd' => $locale['step_requirements_warning_player_signatures'],
 ];
 /*
  *
diff --git a/system/locale/en/install.php b/system/locale/en/install.php
index a0a1f9bf..bd36d018 100644
--- a/system/locale/en/install.php
+++ b/system/locale/en/install.php
@@ -38,6 +38,9 @@ $locale['step_requirements_php_version'] = 'PHP Version';
 $locale['step_requirements_write_perms'] = 'Write permissions';
 $locale['step_requirements_failed'] = 'Installation will be disabled until these requirements will be passed.</b><br/>For more informations see <b>README</b> file.';
 $locale['step_requirements_extension'] = '$EXTENSION$ PHP extension';
+$locale['step_requirements_warning_images_guilds'] = 'Guild logo upload will not work';
+$locale['step_requirements_warning_images_gallery'] = 'Gallery image upload will not work';
+$locale['step_requirements_warning_player_signatures'] = 'Player Signatures will not work';
 
 // config
 $locale['step_config'] = 'Configuration';
diff --git a/system/locale/pl/install.php b/system/locale/pl/install.php
index 1090f018..4bcdcb92 100644
--- a/system/locale/pl/install.php
+++ b/system/locale/pl/install.php
@@ -38,6 +38,9 @@ $locale['step_requirements_php_version'] = 'Wersja PHP';
 $locale['step_requirements_write_perms'] = 'Uprawnienia do zapisu';
 $locale['step_requirements_failed'] = 'Instalacja zostanie zablokowana dopóki te wymagania nie zostaną spełnione.</b><br/>Po więcej informacji zasięgnij do pliku <b>README</b>.';
 $locale['step_requirements_extension'] = 'Rozszerzenie PHP - $EXTENSION$';
+$locale['step_requirements_warning_images_guilds'] = 'Nie będzie możliwości uploadu obrazków gildii';
+$locale['step_requirements_warning_images_gallery'] = 'Nie będzie możliwości uploadu obrazków do galerii';
+$locale['step_requirements_warning_player_signatures'] = 'Sygnatury graczy nie będą działać';
 
 // config
 $locale['step_config'] = 'Konfiguracja';