From 9a51f6fc76ce0b60829cc31ccab9643c73b26440 Mon Sep 17 00:00:00 2001
From: Jerome Jutteau <jerome@jutteau.fr>
Date: Sat, 5 Dec 2020 14:13:49 +0100
Subject: [PATCH 1/1] [FEATURE] provide details for bug opening

refs #235

Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
---
 README.md                 |  2 +
 admin.php                 | 15 +++++++
 lib/functions.php         | 89 +++++++++++++++++++++++++++++++++++++++
 lib/locales/ar.json       |  1 +
 lib/locales/be.json       |  1 +
 lib/locales/bn_IN.json    |  1 +
 lib/locales/bo.json       |  1 +
 lib/locales/ca.json       |  1 +
 lib/locales/cs.json       |  1 +
 lib/locales/da.json       |  1 +
 lib/locales/de.json       |  1 +
 lib/locales/el.json       |  1 +
 lib/locales/en.json       |  1 +
 lib/locales/es.json       |  1 +
 lib/locales/et.json       |  1 +
 lib/locales/fi.json       |  1 +
 lib/locales/fr.json       |  1 +
 lib/locales/he.json       |  1 +
 lib/locales/hi.json       |  1 +
 lib/locales/hr.json       |  1 +
 lib/locales/hu.json       |  1 +
 lib/locales/id.json       |  1 +
 lib/locales/it.json       |  1 +
 lib/locales/ja.json       |  1 +
 lib/locales/ko.json       |  1 +
 lib/locales/ku.json       |  1 +
 lib/locales/la.json       |  1 +
 lib/locales/mfe.json      |  1 +
 lib/locales/ms.json       |  1 +
 lib/locales/nb_NO.json    |  1 +
 lib/locales/nl.json       |  1 +
 lib/locales/pl.json       |  1 +
 lib/locales/ps.json       |  1 +
 lib/locales/pt.json       |  1 +
 lib/locales/pt_BR.json    |  1 +
 lib/locales/ro.json       |  1 +
 lib/locales/ru.json       |  1 +
 lib/locales/sh.json       |  1 +
 lib/locales/sk.json       |  1 +
 lib/locales/sl.json       |  1 +
 lib/locales/sq.json       |  1 +
 lib/locales/sr.json       |  1 +
 lib/locales/sv.json       |  1 +
 lib/locales/ta.json       |  1 +
 lib/locales/template.json |  1 +
 lib/locales/th.json       |  1 +
 lib/locales/tr.json       |  1 +
 lib/locales/uk.json       |  1 +
 lib/locales/vi.json       |  1 +
 lib/locales/zh.json       |  1 +
 lib/locales/zh_TW.json    |  1 +
 51 files changed, 154 insertions(+)

diff --git a/README.md b/README.md
index 968f6a1..4a243a2 100644
--- a/README.md
+++ b/README.md
@@ -210,6 +210,8 @@ Hint: To create a custom theme just copy the »courgette« folder and name your
 ### I found a bug, what should I do?
 
 Feel free to open a bug in the [GitLab's issues](https://gitlab.com/mojo42/Jirafeau/issues).
+If you can, please copy-paste informations related to bug opening provided in admin interface.
+Admin interface can be reached by accessing `/admin.php`.
 
 ### How to set maximum file size?
 
diff --git a/admin.php b/admin.php
index 93b7d35..7974ce6 100644
--- a/admin.php
+++ b/admin.php
@@ -219,6 +219,19 @@ if (php_sapi_name() == "cli") {
               </td>
           </tr>
           </form>
+          <form method="post">
+          <tr>
+              <input type = "hidden" name = "action" value = "bug_report_info"/>
+              <?php echo jirafeau_admin_csrf_field() ?>
+              <td class = "info">
+                  <?php echo t('REPORTING_AN_ISSUE'); ?>
+              </td>
+              <td></td>
+              <td>
+                  <input type = "submit" value = "<?php echo t('INFO'); ?>" />
+              </td>
+          </tr>
+          </form>
           </table>
           <form method="post">
               <input type = "hidden" name = "action" value = "logout" />
@@ -282,6 +295,8 @@ if (php_sapi_name() == "cli") {
                 fclose($r);
             }
             exit;
+        } elseif (strcmp($_POST['action'], 'bug_report_info') == 0) {
+            echo jirafeau_admin_bug_report($cfg);
         }
     }
 
diff --git a/lib/functions.php b/lib/functions.php
index 546decc..e72359e 100644
--- a/lib/functions.php
+++ b/lib/functions.php
@@ -788,6 +788,95 @@ function jirafeau_admin_clean_async()
     }
     return $count;
 }
+
+/**
+ * Better strval function for debug purposes
+ */
+function jirafeau_strval($value)
+{
+    if (gettype($value) == "boolean") {
+        return $value ? 'true' : 'false';
+    }
+    return strval($value);
+}
+
+/**
+ * Show file/folder permissions
+ */
+function jirafeau_fileperms($path)
+{
+    $out = substr(sprintf("%o", @fileperms($path)), -4) . ", ";
+    $out .= "read " . (is_readable($path) ? "OK" : "KO") . ", ";
+    $out .= "write " . (is_writable($path) ? "OK" : "KO");
+    return $out;
+}
+
+/**
+ * Show some useful informations for bug reporting.
+ */
+function jirafeau_admin_bug_report($cfg)
+{
+    $out = "<fieldset><legend>" . t('REPORTING_AN_ISSUE') . "</legend>";
+    $out .= "If you have a problem related to Jirafeau, please <a href='https://gitlab.com/mojo42/Jirafeau/-/issues'>open an issue</a>, explain your problem in english and copy-paste the following content:<br/><br/><code>";
+
+    $out .= "# Jirafeau<br/>";
+    $out .= "- version: " . JIRAFEAU_VERSION . "<br/>";
+    $jirafeau_options = [
+        'debug',
+        'file_hash',
+        'litespeed_workaround',
+        'store_uploader_ip',
+        'installation_done',
+        'enable_crypt',
+        'preview',
+        'maximal_upload_size',
+        'store_uploader_ip'
+    ];
+    foreach ($jirafeau_options as &$o) {
+        $v = $cfg[$o];
+        $out .= "- $o: " . jirafeau_strval($v) . " (" . gettype($v) . ")<br/>";
+    }
+    $out .= "<br/>";
+
+    $out .= "# PHP options<br/>";
+    $out .= "- php version: " . phpversion() . "<br/>";
+    $out .= "- mcrypt version: " . phpversion('mcrypt') . "<br/>";
+    $php_options =  [
+        'post_max_size',
+        'upload_max_filesize'
+    ];
+    foreach ($php_options as &$o) {
+        $v = ini_get($o);
+        $out .= "- $o: " . jirafeau_strval($v) . " (" . gettype($v). ")<br/>";
+    }
+    $out .= "<br/>";
+
+    $out .= "# File permissions<br/>";
+    $out .= "- 'var' folder permissions: " . jirafeau_fileperms($cfg['var_root']) . "<br/>";
+    $out .= "- 'file' folder permissions: " . jirafeau_fileperms(VAR_FILES) . "<br/>";
+    $out .= "- 'links' folder permissions: " . jirafeau_fileperms(VAR_LINKS) . "<br/>";
+    $out .= "- 'async' folder permissions: " . jirafeau_fileperms(VAR_ASYNC) . "<br/>";
+    $out .= "<br/>";
+
+    $out .= "# Server details<br/>";
+    $out .= "- server software: " . $_SERVER["SERVER_SOFTWARE"] . "<br/>";
+    $out .= "<br/>";
+
+    $out .= "# OS details<br/>";
+    $out .= "- OS: " . php_uname() . "<br/>";
+    $out .= "<br/>";
+
+    $out .= "# Browser details<br/>";
+    $out .= "<script type='text/javascript' lang='Javascript'>
+        // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
+        document.write('- HTML5 support: ' + (check_html5_file_api() ? 'yes' : 'no') + '<br/>');
+        document.write('- User agent: ' + navigator.userAgent + '<br/>');
+        // @license-end
+        </script>";
+    $out .= "</code></fieldset>";
+    return $out;
+}
+
 /**
  * Read async transfert informations
  * @return array containing informations.
diff --git a/lib/locales/ar.json b/lib/locales/ar.json
index 6593671..1c0cbac 100644
--- a/lib/locales/ar.json
+++ b/lib/locales/ar.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "حجم البيانات",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "قد لا يدعم متصفحك HTML5، لذا فإن الحد الأقصى لحجم الملف هو ",
diff --git a/lib/locales/be.json b/lib/locales/be.json
index 3c4d25d..201128d 100644
--- a/lib/locales/be.json
+++ b/lib/locales/be.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "Ваш браўзер не падтрымлівае HTML5, таму максімальны памер файла ",
diff --git a/lib/locales/bn_IN.json b/lib/locales/bn_IN.json
index 0a519de..ac7b8e8 100644
--- a/lib/locales/bn_IN.json
+++ b/lib/locales/bn_IN.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "আপনার ব্রাউজার HTML5 সমর্থন নাও করতে পারে, তাই সর্বোচ্চ ফাইলের আকার ",
diff --git a/lib/locales/bo.json b/lib/locales/bo.json
index e1079f8..aaf4850 100644
--- a/lib/locales/bo.json
+++ b/lib/locales/bo.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/ca.json b/lib/locales/ca.json
index 0d50c1a..8caea3b 100644
--- a/lib/locales/ca.json
+++ b/lib/locales/ca.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "El teu navegador no és compatible amb HTML5, per tant, la mida màxima del fitxers és ",
diff --git a/lib/locales/cs.json b/lib/locales/cs.json
index 4be15c1..3babc97 100644
--- a/lib/locales/cs.json
+++ b/lib/locales/cs.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "Váš prohlížeč nepodporuje HTML5, proto je maximílní velikost souboru ",
diff --git a/lib/locales/da.json b/lib/locales/da.json
index d355e5b..b7f1cdf 100644
--- a/lib/locales/da.json
+++ b/lib/locales/da.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/de.json b/lib/locales/de.json
index bd9d077..66970f3 100644
--- a/lib/locales/de.json
+++ b/lib/locales/de.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Datengröße",
     "INCOMPATIBLE_OPTIONS_W": "Die folgenden Konfigurationsoptionen sind nicht kompatibel:",
     "NO_BROWSER_SUPPORT": "Dein Browser unterstützt möglicherweise kein HTML5, demnach beträgt die maximale Dateigröße ",
diff --git a/lib/locales/el.json b/lib/locales/el.json
index c8f48f2..49c4168 100644
--- a/lib/locales/el.json
+++ b/lib/locales/el.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/en.json b/lib/locales/en.json
index b14ac03..fdf4a65 100644
--- a/lib/locales/en.json
+++ b/lib/locales/en.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "Reporting an issue",
     "SIZE_DATA": "Data size",
     "INCOMPATIBLE_OPTIONS_W": "The following configuration options are incompatible:",
     "NO_BROWSER_SUPPORT": "Your browser may not support HTML5, so the maximum file size is ",
diff --git a/lib/locales/es.json b/lib/locales/es.json
index 78a484c..a8255df 100644
--- a/lib/locales/es.json
+++ b/lib/locales/es.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "Tu navegador puede no soportar HTML5, debido a esto el tamaño máximo de archivo es ",
diff --git a/lib/locales/et.json b/lib/locales/et.json
index ae3cd57..4196693 100644
--- a/lib/locales/et.json
+++ b/lib/locales/et.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/fi.json b/lib/locales/fi.json
index e52135a..0c427d7 100644
--- a/lib/locales/fi.json
+++ b/lib/locales/fi.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/fr.json b/lib/locales/fr.json
index 5edde94..2450de5 100644
--- a/lib/locales/fr.json
+++ b/lib/locales/fr.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "Rapporter un bogue",
     "SIZE_DATA": "Volume de données",
     "INCOMPATIBLE_OPTIONS_W": "Les options de configuration suivantes sont incompatibles :",
     "NO_BROWSER_SUPPORT": "Votre navigateur ne supporte apparemment pas HTML5, la taille maximale de fichier téléchargable est de ",
diff --git a/lib/locales/he.json b/lib/locales/he.json
index 2f2400e..edc6376 100644
--- a/lib/locales/he.json
+++ b/lib/locales/he.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "גודל הנתונים",
     "INCOMPATIBLE_OPTIONS_W": "אפשרויות ההגדרה הבאות אינן תואמות:",
     "NO_BROWSER_SUPPORT": "יתכן שהדפדפן שלך אינו תומך ב־HTML5, לכן גודל הקובץ המרבי הוא ",
diff --git a/lib/locales/hi.json b/lib/locales/hi.json
index 0ec7ce1..5c8e5ff 100644
--- a/lib/locales/hi.json
+++ b/lib/locales/hi.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/hr.json b/lib/locales/hr.json
index 2075141..9b07fc4 100644
--- a/lib/locales/hr.json
+++ b/lib/locales/hr.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Veličina podataka",
     "INCOMPATIBLE_OPTIONS_W": "Sljedeće opcije konfiguracije su nekompatibilne:",
     "NO_BROWSER_SUPPORT": "Preglednik možda ne podržava HTML5, stoga je maksimalna veličina datoteke ",
diff --git a/lib/locales/hu.json b/lib/locales/hu.json
index 743c38e..6e649fd 100644
--- a/lib/locales/hu.json
+++ b/lib/locales/hu.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/id.json b/lib/locales/id.json
index e1079f8..aaf4850 100644
--- a/lib/locales/id.json
+++ b/lib/locales/id.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/it.json b/lib/locales/it.json
index dd1d2cf..01e5723 100644
--- a/lib/locales/it.json
+++ b/lib/locales/it.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Dimensione dei dati",
     "INCOMPATIBLE_OPTIONS_W": "Le seguenti opzioni di configurazione sono incompatibili:",
     "NO_BROWSER_SUPPORT": "Il tuo browser potrebbe non supportare HTML5, quindi la dimensione massima del file è ",
diff --git a/lib/locales/ja.json b/lib/locales/ja.json
index ffbbae1..c44738a 100644
--- a/lib/locales/ja.json
+++ b/lib/locales/ja.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/ko.json b/lib/locales/ko.json
index 0ec7ce1..5c8e5ff 100644
--- a/lib/locales/ko.json
+++ b/lib/locales/ko.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/ku.json b/lib/locales/ku.json
index ae3cd57..4196693 100644
--- a/lib/locales/ku.json
+++ b/lib/locales/ku.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/la.json b/lib/locales/la.json
index e29fba6..ca1d56a 100644
--- a/lib/locales/la.json
+++ b/lib/locales/la.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/mfe.json b/lib/locales/mfe.json
index ae3cd57..4196693 100644
--- a/lib/locales/mfe.json
+++ b/lib/locales/mfe.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/ms.json b/lib/locales/ms.json
index e1079f8..aaf4850 100644
--- a/lib/locales/ms.json
+++ b/lib/locales/ms.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/nb_NO.json b/lib/locales/nb_NO.json
index a1f87d7..41fb695 100644
--- a/lib/locales/nb_NO.json
+++ b/lib/locales/nb_NO.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Datastørrelse",
     "INCOMPATIBLE_OPTIONS_W": "Følgende oppsettsvalg er ikke kompatible:",
     "NO_BROWSER_SUPPORT": "Det kan hende at nettleseren din ikke støtter HTML5, så største tillatte filstørrelse er ",
diff --git a/lib/locales/nl.json b/lib/locales/nl.json
index 5a7acdb..8e5a4a0 100644
--- a/lib/locales/nl.json
+++ b/lib/locales/nl.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/pl.json b/lib/locales/pl.json
index fb48c95..cc24eda 100644
--- a/lib/locales/pl.json
+++ b/lib/locales/pl.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Rozmiar danych",
     "INCOMPATIBLE_OPTIONS_W": "Następujące opcje konfiguracji są niezgodne:",
     "NO_BROWSER_SUPPORT": "Twoja przeglądarka może nie obsługiwać HTML5, więc maksymalny rozmiar pliku to ",
diff --git a/lib/locales/ps.json b/lib/locales/ps.json
index ae3cd57..4196693 100644
--- a/lib/locales/ps.json
+++ b/lib/locales/ps.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/pt.json b/lib/locales/pt.json
index ebb3ddf..6ecd828 100644
--- a/lib/locales/pt.json
+++ b/lib/locales/pt.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Tamanho dos dados",
     "NO_BROWSER_SUPPORT": "O seu navegador pode não suportar HTML5, então o tamanho máximo do ficheiro é ",
     "INCOMPATIBLE_OPTIONS_W": "As seguintes opções de configuração são incompatíveis:",
diff --git a/lib/locales/pt_BR.json b/lib/locales/pt_BR.json
index a3660d8..032a7dc 100644
--- a/lib/locales/pt_BR.json
+++ b/lib/locales/pt_BR.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "Seu navegador pode não suportar HTML5, portanto, o tamanho máximo do arquivo é ",
diff --git a/lib/locales/ro.json b/lib/locales/ro.json
index 4afb37e..2c63ef7 100644
--- a/lib/locales/ro.json
+++ b/lib/locales/ro.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Mărime date",
     "INCOMPATIBLE_OPTIONS_W": "Următoarele opţiuni de configurare sunt incompatibile:",
     "NO_BROWSER_SUPPORT": "Este posibil ca browserul dvs. să nu accepte HTML5, astfel încât dimensiunea maximă a fișierului este ",
diff --git a/lib/locales/ru.json b/lib/locales/ru.json
index af8e30e..ebc13f3 100644
--- a/lib/locales/ru.json
+++ b/lib/locales/ru.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/sh.json b/lib/locales/sh.json
index ae3cd57..4196693 100644
--- a/lib/locales/sh.json
+++ b/lib/locales/sh.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/sk.json b/lib/locales/sk.json
index 288732c..e942ba6 100644
--- a/lib/locales/sk.json
+++ b/lib/locales/sk.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "Zdá sa, že Váš prehliadač nepodporuje HTML5. Maximálna veľkosť súboru je preto obmedzená na ",
diff --git a/lib/locales/sl.json b/lib/locales/sl.json
index ae3cd57..4196693 100644
--- a/lib/locales/sl.json
+++ b/lib/locales/sl.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/sq.json b/lib/locales/sq.json
index ae3cd57..4196693 100644
--- a/lib/locales/sq.json
+++ b/lib/locales/sq.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/sr.json b/lib/locales/sr.json
index e10fdb4..09781a9 100644
--- a/lib/locales/sr.json
+++ b/lib/locales/sr.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/sv.json b/lib/locales/sv.json
index 2955fd0..7dbea8c 100644
--- a/lib/locales/sv.json
+++ b/lib/locales/sv.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Data storlek",
     "INCOMPATIBLE_OPTIONS_W": "Följande inställningar är inkompatibla:",
     "NO_BROWSER_SUPPORT": "Din webbläsare verkar inte stödja HTML5, så max filstorlek är ",
diff --git a/lib/locales/ta.json b/lib/locales/ta.json
index a22979e..2d8fdfb 100644
--- a/lib/locales/ta.json
+++ b/lib/locales/ta.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/template.json b/lib/locales/template.json
index c8fedae..283ba93 100644
--- a/lib/locales/template.json
+++ b/lib/locales/template.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/th.json b/lib/locales/th.json
index ae3cd57..4196693 100644
--- a/lib/locales/th.json
+++ b/lib/locales/th.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/tr.json b/lib/locales/tr.json
index 73330e8..77168b2 100644
--- a/lib/locales/tr.json
+++ b/lib/locales/tr.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Veri boyutu",
     "INCOMPATIBLE_OPTIONS_W": "Aşağıdaki yapılandırma seçenekleri uyumsuz:",
     "NO_BROWSER_SUPPORT": "Tarayıcınız HTML5'i desteklemeyebilir, bu nedenle en fazla dosya boyutu ",
diff --git a/lib/locales/uk.json b/lib/locales/uk.json
index bfc8d1d..8dad8a1 100644
--- a/lib/locales/uk.json
+++ b/lib/locales/uk.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "Розмір даних",
     "NO_BROWSER_SUPPORT": "Ваш веб-переглядач може не підтримує HTML5, тому найбільший розмір файлу - це ",
     "PLURAL_ENDING": "(-ів)",
diff --git a/lib/locales/vi.json b/lib/locales/vi.json
index ffbbae1..c44738a 100644
--- a/lib/locales/vi.json
+++ b/lib/locales/vi.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "",
diff --git a/lib/locales/zh.json b/lib/locales/zh.json
index 1a2fa88..5b7373a 100644
--- a/lib/locales/zh.json
+++ b/lib/locales/zh.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "您的浏览器可能不支持 HTML5,因此文件最大为 ",
diff --git a/lib/locales/zh_TW.json b/lib/locales/zh_TW.json
index 6f876c9..a73ab7c 100644
--- a/lib/locales/zh_TW.json
+++ b/lib/locales/zh_TW.json
@@ -1,4 +1,5 @@
 {
+    "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
     "NO_BROWSER_SUPPORT": "您的瀏覽器可能不支持 HTML5,因此文件最大為 ",
-- 
2.34.1