From 725720dea8ad1d7dfde940a557185d7ab87374aa Mon Sep 17 00:00:00 2001 From: Dan Niles <56271899+dan-niles@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:35:29 +0530 Subject: [PATCH] Remove locale files & folder --- CHANGELOG | 1 + Dockerfile | 1 - .../locale/fr/LC_MESSAGES/messages.po | 35 ------------------- 3 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 scraper/src/youtube2zim/locale/fr/LC_MESSAGES/messages.po diff --git a/CHANGELOG b/CHANGELOG index 5e0cfcc8..d17d4840 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update dependencies in pyproject.toml (pydantic, pyhumps, python-slugify) - Update scraper to generate JSON files for `zimui` (#212) - Remove template files (home.html, article.html) and `make_html_files` method in scraper.py +- Remove locale folder and files ## [2.3.0] - 2024-05-22 diff --git a/Dockerfile b/Dockerfile index 17b1fb36..80a3f4ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,6 @@ LABEL org.opencontainers.image.source https://github.com/openzim/youtube # Install necessary packages RUN apt-get update \ && apt-get install -y --no-install-recommends \ - locales-all \ wget \ unzip \ ffmpeg \ diff --git a/scraper/src/youtube2zim/locale/fr/LC_MESSAGES/messages.po b/scraper/src/youtube2zim/locale/fr/LC_MESSAGES/messages.po deleted file mode 100644 index 84f1cc09..00000000 --- a/scraper/src/youtube2zim/locale/fr/LC_MESSAGES/messages.po +++ /dev/null @@ -1,35 +0,0 @@ -# French translations for PROJECT. -# Copyright (C) 2019 ORGANIZATION -# This file is distributed under the same license as the PROJECT project. -# FIRST AUTHOR , 2019. -# -msgid "" -msgstr "" -"Project-Id-Version: PROJECT VERSION\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-09-25 08:13+0000\n" -"PO-Revision-Date: 2019-09-05 11:50+0000\n" -"Last-Translator: reg \n" -"Language: fr\n" -"Language-Team: \n" -"Plural-Forms: nplurals=2; plural=(n > 1)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" - -#: youtube2zim/scraper.py:738 -msgid "Youtube Channel “{title}”" -msgstr "Chaîne Youtube « {title} »" - -#: youtube2zim/scraper.py:742 -msgid "Youtube Channels" -msgstr "Chaînes Youtube" - -#: youtube2zim/scraper.py:871 -msgid "Page {current}/{total}" -msgstr "Page {current}/{total}" - -#: youtube2zim/scraper.py:872 -msgid "Back to top" -msgstr "Haut"