From a1aac10bd5427d5e64dcb0e1ab955ba2b1edb1b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= <nicolas.loeuillet@prestashop.com>
Date: Fri, 28 Jul 2023 11:21:41 +0200
Subject: [PATCH] Remove mobi export Fix #6746

---
 .../Version20230728091417.php                 | 24 +++++++++++++++++++
 app/config/config.yml                         |  5 +---
 app/config/wallabag.yml                       |  4 ----
 composer.json                                 |  1 -
 .../Resources/views/Entry/entries.html.twig   |  1 -
 .../Resources/views/Entry/entry.html.twig     |  1 -
 .../Resources/views/Static/about.html.twig    |  1 -
 translations/CraueConfigBundle.cs.yml         |  1 -
 translations/CraueConfigBundle.da.yml         |  1 -
 translations/CraueConfigBundle.de.yml         |  1 -
 translations/CraueConfigBundle.el.yml         |  1 -
 translations/CraueConfigBundle.en.yml         |  1 -
 translations/CraueConfigBundle.es.yml         |  1 -
 translations/CraueConfigBundle.fa.yml         |  1 -
 translations/CraueConfigBundle.fr.yml         |  1 -
 translations/CraueConfigBundle.gl.yml         |  1 -
 translations/CraueConfigBundle.hu.yml         |  1 -
 translations/CraueConfigBundle.id.yml         |  1 -
 translations/CraueConfigBundle.it.yml         |  1 -
 translations/CraueConfigBundle.ja.yml         |  1 -
 translations/CraueConfigBundle.ko.yml         |  1 -
 translations/CraueConfigBundle.nb.yml         |  1 -
 translations/CraueConfigBundle.nl.yml         |  1 -
 translations/CraueConfigBundle.oc.yml         |  1 -
 translations/CraueConfigBundle.pl.yml         |  1 -
 translations/CraueConfigBundle.pt.yml         |  1 -
 translations/CraueConfigBundle.ro.yml         |  1 -
 translations/CraueConfigBundle.ru.yml         |  1 -
 translations/CraueConfigBundle.th.yml         |  1 -
 translations/CraueConfigBundle.tr.yml         |  1 -
 translations/CraueConfigBundle.uk.yml         |  1 -
 translations/CraueConfigBundle.zh.yml         |  1 -
 32 files changed, 25 insertions(+), 37 deletions(-)
 create mode 100644 app/DoctrineMigrations/Version20230728091417.php

diff --git a/app/DoctrineMigrations/Version20230728091417.php b/app/DoctrineMigrations/Version20230728091417.php
new file mode 100644
index 000000000..934a9c030
--- /dev/null
+++ b/app/DoctrineMigrations/Version20230728091417.php
@@ -0,0 +1,24 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Application\Migrations;
+
+use Doctrine\DBAL\Schema\Schema;
+use Wallabag\CoreBundle\Doctrine\WallabagMigration;
+
+/**
+ * Remove mobi export.
+ */
+final class Version20230728091417 extends WallabagMigration
+{
+    public function up(Schema $schema): void
+    {
+        $this->addSql('DELETE FROM' . $this->getTable('internal_setting') . " WHERE name = 'export_mobi';");
+    }
+
+    public function down(Schema $schema): void
+    {
+        $this->addSql('INSERT INTO ' . $this->getTable('internal_setting') . " (name, value, section) VALUES ('export_mobi', '1', 'export');");
+    }
+}
diff --git a/app/config/config.yml b/app/config/config.yml
index b31b29e0d..63980e5b5 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -100,8 +100,6 @@ fos_rest:
                 - 'application/pdf'
             epub:
                 - 'application/epub+zip'
-            mobi:
-                - 'application/x-mobipocket-ebook'
         view_response_listener: 'force'
         formats:
             xml: true
@@ -110,13 +108,12 @@ fos_rest:
             csv: true
             pdf: true
             epub: true
-            mobi: true
         failed_validation: HTTP_BAD_REQUEST
     routing_loader: false
     format_listener:
         enabled: true
         rules:
-            - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
+            - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
             - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
             - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
 
diff --git a/app/config/wallabag.yml b/app/config/wallabag.yml
index bbbe46939..277fde6e6 100644
--- a/app/config/wallabag.yml
+++ b/app/config/wallabag.yml
@@ -85,10 +85,6 @@ wallabag_core:
             name: export_epub
             value: 1
             section: export
-        -
-            name: export_mobi
-            value: 0
-            section: export
         -
             name: export_pdf
             value: 1
diff --git a/composer.json b/composer.json
index 03b0a44ee..e61035b24 100644
--- a/composer.json
+++ b/composer.json
@@ -147,7 +147,6 @@
         "twig/extra-bundle": "^3.4",
         "twig/string-extra": "^3.4",
         "twig/twig": "^3.4.3",
-        "wallabag/php-mobi": "~1.0",
         "wallabag/phpepub": "^4.0.10",
         "willdurand/hateoas": "^3.8",
         "willdurand/hateoas-bundle": "~2.1"
diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig
index 6ad6f562e..55b58180b 100644
--- a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig
@@ -101,7 +101,6 @@
         <h4 class="center">{{ 'entry.list.export_title'|trans }}</h4>
         <ul>
             {% if craue_setting('export_epub') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'epub', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">EPUB</a></li>{% endif %}
-            {% if craue_setting('export_mobi') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'mobi', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">MOBI (deprecated)</a></li>{% endif %}
             {% if craue_setting('export_pdf') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'pdf', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">PDF</a></li>{% endif %}
             {% if craue_setting('export_json') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'json', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">JSON</a></li>{% endif %}
             {% if craue_setting('export_csv') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', {'category': current_route, 'format': 'csv', 'tag': current_tag, 'search_entry[term]': export_search_term, 'currentRoute': previous_route, 'entry': entry}) }}">CSV</a></li>{% endif %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig
index 7ae98bf94..66228b17a 100644
--- a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig
@@ -209,7 +209,6 @@
             <div class="collapsible-body">
                 <ul>
                     {% if craue_setting('export_epub') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'epub'}) }}" title="Generate ePub file">EPUB</a></li>{% endif %}
-                    {% if craue_setting('export_mobi') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'mobi'}) }}" title="Generate Mobi file">MOBI (deprecated)</a></li>{% endif %}
                     {% if craue_setting('export_pdf') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'pdf'}) }}" title="Generate PDF file">PDF</a></li>{% endif %}
                     {% if craue_setting('export_csv') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'csv'}) }}" title="Generate CSV file">CSV</a></li>{% endif %}
                     {% if craue_setting('export_json') %}<li><a href="{{ path('export_entry', {'id': entry.id, 'format': 'json'}) }}" title="Generate JSON file">JSON</a></li>{% endif %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig
index 2e2e987c7..014b8f83c 100644
--- a/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig
@@ -140,7 +140,6 @@
                             <tr><td>tecnickcom/tcpdf</td><td>LGPLv3</td></tr>
                             <tr><td>twig/extensions</td><td>MIT</td></tr>
                             <tr><td>twig/twig</td><td>BSD-3-Clause</td></tr>
-                            <tr><td>wallabag/php-mobi</td><td>Apache-2.0</td></tr>
                             <tr><td>willdurand/hateoas</td><td>MIT</td></tr>
                             <tr><td>willdurand/hateoas-bundle</td><td>MIT</td></tr>
                             <tr><td>willdurand/jsonp-callback-validator</td><td>MIT</td></tr>
diff --git a/translations/CraueConfigBundle.cs.yml b/translations/CraueConfigBundle.cs.yml
index 503046bfe..9361d2f97 100644
--- a/translations/CraueConfigBundle.cs.yml
+++ b/translations/CraueConfigBundle.cs.yml
@@ -12,7 +12,6 @@ export_epub: Povolit export do ePub
 export_json: Povolit export do JSON
 export_csv: Povolit export do CSV
 export_pdf: Povolit export do PDF
-export_mobi: Povolit export do .mobi
 diaspora_url: Adresa URL diaspora*, pokud je služba povolena
 download_pictures: Stáhnout obrázky na váš server
 settings_changed: Konfigurace byla aktualizována
diff --git a/translations/CraueConfigBundle.da.yml b/translations/CraueConfigBundle.da.yml
index f73b5ee12..0e2f10557 100644
--- a/translations/CraueConfigBundle.da.yml
+++ b/translations/CraueConfigBundle.da.yml
@@ -1,7 +1,6 @@
 download_pictures: Download billeder på din server
 diaspora_url: diaspora* URL, hvis tjenesten er aktiv
 export_epub: Aktiver eksport til ePub
-export_mobi: Aktiver eksport til .mobi
 export_pdf: Aktiver eksport til PDF
 export_csv: Aktiver eksport til CSV
 export_json: Aktiver eksport til JSON
diff --git a/translations/CraueConfigBundle.de.yml b/translations/CraueConfigBundle.de.yml
index 33121da21..410c30a57 100644
--- a/translations/CraueConfigBundle.de.yml
+++ b/translations/CraueConfigBundle.de.yml
@@ -2,7 +2,6 @@ settings_changed: Konfiguration aktualisiert
 download_pictures: Bilder auf den Server herunterladen
 diaspora_url: diaspora*-URL, sofern der Service aktiviert ist
 export_epub: ePUB-Export aktivieren
-export_mobi: mobi-Export aktivieren
 export_pdf: PDF-Export aktivieren
 export_csv: CSV-Export aktivieren
 export_json: JSON-Export aktivieren
diff --git a/translations/CraueConfigBundle.el.yml b/translations/CraueConfigBundle.el.yml
index 464517bd4..4350d49c7 100644
--- a/translations/CraueConfigBundle.el.yml
+++ b/translations/CraueConfigBundle.el.yml
@@ -28,7 +28,6 @@ export_txt: Ενεργοποίηση εξαγωγής TXT
 export_json: Ενεργοποίηση εξαγωγής JSON
 export_csv: Ενεργοποίηση εξαγωγής CSV
 export_pdf: Ενεργοποίηση εξαγωγής PDF
-export_mobi: Ενεργοποίηση εξαγωγής .mobi
 export_epub: Ενεργοποίηση εξαγωγής ePub
 diaspora_url: URL του diaspora*, αν είναι ενεργοποιημένη η υπηρεσία
 download_pictures: Λήψη των εικόνων στον διακομιστή σας
diff --git a/translations/CraueConfigBundle.en.yml b/translations/CraueConfigBundle.en.yml
index e1a913389..0ae9388c1 100644
--- a/translations/CraueConfigBundle.en.yml
+++ b/translations/CraueConfigBundle.en.yml
@@ -2,7 +2,6 @@ settings_changed: Configuration updated
 download_pictures: Download pictures onto your server
 diaspora_url: diaspora* URL, if the service is enabled
 export_epub: Enable ePub export
-export_mobi: Enable .mobi export (deprecated, will be removed soon)
 export_pdf: Enable PDF export
 export_csv: Enable CSV export
 export_json: Enable JSON export
diff --git a/translations/CraueConfigBundle.es.yml b/translations/CraueConfigBundle.es.yml
index 36e1a29c8..911190445 100644
--- a/translations/CraueConfigBundle.es.yml
+++ b/translations/CraueConfigBundle.es.yml
@@ -2,7 +2,6 @@ settings_changed: Configuración actualizada
 download_pictures: Descargar imágenes en el servidor
 diaspora_url: URL de diaspora*, si el servicio está activado
 export_epub: Activar exportación a ePub
-export_mobi: Activar exportación a .mobi (deprecado, se eliminará pronto)
 export_pdf: Activar exportación a PDF
 export_csv: Activar exportación a CSV
 export_json: Activar exportación a JSON
diff --git a/translations/CraueConfigBundle.fa.yml b/translations/CraueConfigBundle.fa.yml
index cce8b005b..8ef4e4419 100644
--- a/translations/CraueConfigBundle.fa.yml
+++ b/translations/CraueConfigBundle.fa.yml
@@ -1,7 +1,6 @@
 download_pictures: تصاویر را در کارگزار خودتان باربگیرید
 diaspora_url: نشانی Diaspora، اگر فعال بود
 export_epub: فعال‌سازی برون‌سپاری به ePub
-export_mobi: فعال‌سازی برون‌سپاری به mobi
 export_pdf:  فعال‌سازی برون‌سپاری به PDF
 export_csv:  فعال‌سازی برون‌سپاری به CSV
 export_json:  فعال‌سازی برون‌سپاری به JSON
diff --git a/translations/CraueConfigBundle.fr.yml b/translations/CraueConfigBundle.fr.yml
index 0625ed0c4..dd120d6c0 100644
--- a/translations/CraueConfigBundle.fr.yml
+++ b/translations/CraueConfigBundle.fr.yml
@@ -2,7 +2,6 @@ settings_changed: Configuration mise à jour
 download_pictures: Télécharger les images sur le serveur
 diaspora_url: URL de diaspora*, si le service est activé
 export_epub: Activer l'export ePub
-export_mobi: Activer l'export .mobi (déprécié, sera supprimé prochainement)
 export_pdf: Activer l'export PDF
 export_csv: Activer l'export CSV
 export_json: Activer l'export JSON
diff --git a/translations/CraueConfigBundle.gl.yml b/translations/CraueConfigBundle.gl.yml
index 8652eb052..471186c4b 100644
--- a/translations/CraueConfigBundle.gl.yml
+++ b/translations/CraueConfigBundle.gl.yml
@@ -28,7 +28,6 @@ export_txt: Activar exportación TXT
 export_json: Activar exportación JSON
 export_csv: Activar exportación CSV
 export_pdf: Activar exportación PDF
-export_mobi: Activar exportación .mobi (xa non se usa, vai ser eliminada)
 export_epub: Activar exportación ePub
 diaspora_url: URL de diaspora*, se o servizo está activo
 download_pictures: Descargar imaxes no teu servidor
diff --git a/translations/CraueConfigBundle.hu.yml b/translations/CraueConfigBundle.hu.yml
index b99434380..50b9d1897 100644
--- a/translations/CraueConfigBundle.hu.yml
+++ b/translations/CraueConfigBundle.hu.yml
@@ -2,7 +2,6 @@ settings_changed: Beállítások frissítve
 download_pictures: Képek letöltése a kiszolgálóra
 diaspora_url: diaspora* URL, ha a szolgáltatás engedélyezett
 export_epub: ePub-ba exportálás engedélyezése
-export_mobi: .mobi-ba exportálás engedélyezése
 export_pdf: PDF-be exportálás engedélyezése
 export_csv: CSV-be exportálás engedélyezése
 export_json: JSON-ba exportálás engedélyezése
diff --git a/translations/CraueConfigBundle.id.yml b/translations/CraueConfigBundle.id.yml
index 36c3de58f..8d2e5f103 100644
--- a/translations/CraueConfigBundle.id.yml
+++ b/translations/CraueConfigBundle.id.yml
@@ -2,7 +2,6 @@ export_txt: Aktifkan pengeksporan TXT
 export_json: Aktifkan pengeksporan JSON
 export_csv: Aktifkan pengeksporan CSV
 export_pdf: Aktifkan pengeksporan PDF
-export_mobi: Aktifkan pengeksporan .mobi
 export_epub: Aktifkan pengeksporan ePub
 diaspora_url: URL diaspora*, jika layanan diaktifkan
 settings_changed: Konfigurasi diperbarui
diff --git a/translations/CraueConfigBundle.it.yml b/translations/CraueConfigBundle.it.yml
index c8017ca3c..94cd4e744 100644
--- a/translations/CraueConfigBundle.it.yml
+++ b/translations/CraueConfigBundle.it.yml
@@ -1,7 +1,6 @@
 download_pictures: Scarica le immagini sul tuo server
 diaspora_url: URL di diaspora*, se il servizio è abilitato
 export_epub: Abilita esportazione ePub
-export_mobi: Abilita esportazione .mobi (deprecato, verrà rimosso presto)
 export_pdf: Abilita esportazione PDF
 export_csv: Abilita esportazione CSV
 export_json: Abilita esportazione JSON
diff --git a/translations/CraueConfigBundle.ja.yml b/translations/CraueConfigBundle.ja.yml
index 987360c69..358b0207f 100644
--- a/translations/CraueConfigBundle.ja.yml
+++ b/translations/CraueConfigBundle.ja.yml
@@ -2,7 +2,6 @@ settings_changed: 設定を更新しました
 download_pictures: サーバー上の画像をダウンロード
 diaspora_url: diaspora* URL、サービスが有効になっている場合
 export_epub: ePub のエクスポートを有効にする
-export_mobi: .mobi のエクスポートを有効にする(非推奨、近日中に削除されます)
 export_pdf: PDF のエクスポートを有効にする
 export_csv: CSV のエクスポートを有効にする
 export_json: JSON のエクスポートを有効にする
diff --git a/translations/CraueConfigBundle.ko.yml b/translations/CraueConfigBundle.ko.yml
index 0f00095c5..a61f7dbd9 100644
--- a/translations/CraueConfigBundle.ko.yml
+++ b/translations/CraueConfigBundle.ko.yml
@@ -30,6 +30,5 @@ export_txt: TXT 내보내기 활성화
 export_json: JSON 내보내기 활성화
 export_csv: CSV 내보내기 활성화
 export_pdf: PDF 내보내기 활성화
-export_mobi: .mobi 내보내기 활성화
 export_epub: ePub 내보내기 활성화
 settings_changed: 설정을 업데이트했습니다
diff --git a/translations/CraueConfigBundle.nb.yml b/translations/CraueConfigBundle.nb.yml
index e0c244b09..8c823994d 100644
--- a/translations/CraueConfigBundle.nb.yml
+++ b/translations/CraueConfigBundle.nb.yml
@@ -2,7 +2,6 @@ settings_changed: Oppsett oppdatert
 download_pictures: Last ned bilder til tjeneren din
 diaspora_url: diaspora*-nettadresse, hvis tjenesten er avskrudd
 export_epub: Skru på ePub-eksport
-export_mobi: Skru på .mobi-eksport
 export_pdf: Skru på PDF-eksport
 export_csv: Skru på CSV-eksport
 export_json: Skru på JSON-eksport
diff --git a/translations/CraueConfigBundle.nl.yml b/translations/CraueConfigBundle.nl.yml
index 6ee28ecbb..701406a27 100644
--- a/translations/CraueConfigBundle.nl.yml
+++ b/translations/CraueConfigBundle.nl.yml
@@ -28,7 +28,6 @@ export_txt: Schakel TXT-export in
 export_json: Schakel JSON-export in
 export_csv: Schakel CSV-export in
 export_pdf: Schakel PDF-export in
-export_mobi: Schakel .mobi-export in
 export_epub: Schakel ePub-export in
 download_pictures: Download foto's naar jouw server
 settings_changed: Instellingen bijgewerkt
diff --git a/translations/CraueConfigBundle.oc.yml b/translations/CraueConfigBundle.oc.yml
index dbbadf586..511e11b2f 100644
--- a/translations/CraueConfigBundle.oc.yml
+++ b/translations/CraueConfigBundle.oc.yml
@@ -2,7 +2,6 @@ settings_changed: Configuracion mesa a jorn
 download_pictures: Telecargar los imatges sul servidor
 diaspora_url: URL de diaspora*, se lo servici diaspora* es activat
 export_epub: Activar l'expòrt ePub
-export_mobi: Activar l'expòrt .mobi
 export_pdf: Activar l'expòrt PDF
 export_csv: Activar l'expòrt CSV
 export_json: Activar l'expòrt JSON
diff --git a/translations/CraueConfigBundle.pl.yml b/translations/CraueConfigBundle.pl.yml
index bd38066c7..77f497ee9 100644
--- a/translations/CraueConfigBundle.pl.yml
+++ b/translations/CraueConfigBundle.pl.yml
@@ -2,7 +2,6 @@ settings_changed: Konfiguracja zaktualizowana
 download_pictures: Pobierz obrazy na swój serwer
 diaspora_url: Adres URL Diaspora, jeżeli usługa jest włączona
 export_epub: Włącz eksport do ePub
-export_mobi: Włącz eksport do plików .mobi (przestarzałe, zostanie wkrótce usunięte)
 export_pdf: Włącz eksport do PDF
 export_csv: Włącz eksport do CSV
 export_json: Włącz eksport do JSON
diff --git a/translations/CraueConfigBundle.pt.yml b/translations/CraueConfigBundle.pt.yml
index e5b70c2c3..9237ba191 100644
--- a/translations/CraueConfigBundle.pt.yml
+++ b/translations/CraueConfigBundle.pt.yml
@@ -1,7 +1,6 @@
 download_pictures: Descarregar imagens ao seu servidor
 diaspora_url: URL de diaspora* caso o serviço esteja ativado
 export_epub: Habilita exportação para ePub
-export_mobi: Habilita exportação para .mobi
 export_pdf: Habilita exportação para PDF
 export_csv: Habilita exportação para CSV
 export_json: Habilita exportação para JSON
diff --git a/translations/CraueConfigBundle.ro.yml b/translations/CraueConfigBundle.ro.yml
index 28f68da3f..14f1dbaaa 100644
--- a/translations/CraueConfigBundle.ro.yml
+++ b/translations/CraueConfigBundle.ro.yml
@@ -1,7 +1,6 @@
 download_pictures: Descarcă poze pe server
 diaspora_url: diaspora* URL, dacă serviciul este permis
 export_epub: Permite exportare ePub
-export_mobi: Permite exportare .mobi
 export_pdf: Permite exportare PDF
 export_csv: Permite exportare CSV
 export_json: Permite exportare JSON
diff --git a/translations/CraueConfigBundle.ru.yml b/translations/CraueConfigBundle.ru.yml
index f0d01796d..d3d66aadb 100644
--- a/translations/CraueConfigBundle.ru.yml
+++ b/translations/CraueConfigBundle.ru.yml
@@ -2,7 +2,6 @@ settings_changed: "Настройки обновлены"
 download_pictures: "Скачивать картинки на Ваш сервер"
 diaspora_url: "Diaspora URL, если сервис включен"
 export_epub: "Включить ePub экспорт"
-export_mobi: "Включить .mobi экспорт"
 export_pdf: "Включить PDF экспорт"
 export_csv: "Включить CSV экспорт"
 export_json: "Включить JSON экспорт"
diff --git a/translations/CraueConfigBundle.th.yml b/translations/CraueConfigBundle.th.yml
index 2e9227b98..85c114389 100644
--- a/translations/CraueConfigBundle.th.yml
+++ b/translations/CraueConfigBundle.th.yml
@@ -2,7 +2,6 @@ settings_changed: ปรับปรุงองค์ประกอบ
 download_pictures: ดาวน์โหลดรูปภาพผ่านเซิฟเวอร์ของคุณ
 diaspora_url: Diaspora-URL, ถ้าเซิฟเวอร์ถูกเปิดใช้งาน
 export_epub: เปิดใช้งานการนำเข้าข้อมูลแบบ ePub
-export_mobi: เปิดใช้งานการนำเข้าข้อมูลแบบ .mobi
 export_pdf: เปิดใช้งานการนำเข้าข้อมูลแบบ PDF
 export_csv: เปิดใช้งานการนำเข้าข้อมูลแบบ CSV
 export_json: เปิดใช้งานการนำเข้าข้อมูลแบบ JSON
diff --git a/translations/CraueConfigBundle.tr.yml b/translations/CraueConfigBundle.tr.yml
index 441e7c9bc..9ac9529d5 100644
--- a/translations/CraueConfigBundle.tr.yml
+++ b/translations/CraueConfigBundle.tr.yml
@@ -2,7 +2,6 @@ settings_changed: Ayarlar güncellendi
 download_pictures: Resimleri sunucuya indir
 diaspora_url: hizmet etkinse diaspora* URL'si
 export_epub: ePub dışa aktarımını etkinleştir
-export_mobi: .mobi dışa aktarımını etkinleştir (kullanım dışı, yakında kaldırılacak)
 export_pdf: PDF dışa aktarımını etkinleştir
 export_csv: CSV dışa aktarımını etkinleştir
 export_json: JSON dışa aktarımını etkinleştir
diff --git a/translations/CraueConfigBundle.uk.yml b/translations/CraueConfigBundle.uk.yml
index 7d12cf104..4b8ac709f 100644
--- a/translations/CraueConfigBundle.uk.yml
+++ b/translations/CraueConfigBundle.uk.yml
@@ -2,7 +2,6 @@ settings_changed: Конфігурацію оновлено
 download_pictures: Завантажити картинки на ваш сервер
 diaspora_url: diaspora* адреса, якщо сервіс увімкнено
 export_epub: Увімкнути експорт в ePub
-export_mobi: Увімкнути експорт в .mobi
 export_pdf: Увімкнути експорт в PDF
 export_csv: Увімкнути експорт в CSV
 export_json: Увімкнути експорт в JSON
diff --git a/translations/CraueConfigBundle.zh.yml b/translations/CraueConfigBundle.zh.yml
index 8820ab875..be747ffff 100644
--- a/translations/CraueConfigBundle.zh.yml
+++ b/translations/CraueConfigBundle.zh.yml
@@ -2,7 +2,6 @@ settings_changed: 配置已更新
 download_pictures: 在你的服务器上缓存图片
 diaspora_url: diaspora* 链接,如果该服务已被启用
 export_epub: 启用 ePub 导出
-export_mobi: 启用 .mobi 导出(已废弃,不久后将移除)
 export_pdf: 启用 PDF 导出
 export_csv: 启用 CSV 导出
 export_json: 启用 JSON 导出