Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a pre-commit hook that remove PO files metadata. #1813

Merged
merged 2 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ repos:
rev: "0.7.1"
hooks:
- id: nbstripout

- repo: https://github.com/mondeja/pre-commit-po-hooks
rev: v1.7.3
hooks:
- id: remove-metadata
14 changes: 0 additions & 14 deletions src/pydata_sphinx_theme/locale/ca/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@
# Cristhian Rivera, 2024
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-04-29 13:43+0200\n"
"PO-Revision-Date: 2023-04-14 14:57+0000\n"
"Last-Translator: Cristhian Rivera, 2024\n"
"Language: ca\n"
"Language-Team: Catalan "
"(https://app.transifex.com/12rambau/teams/166811/ca/)\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.13.0\n"

#: docs/conf.py:94
msgid "Click to expand"
Expand Down Expand Up @@ -179,4 +166,3 @@ msgstr "Navegació del lloc"

#~ msgid "Twitter"
#~ msgstr "Twitter"

14 changes: 0 additions & 14 deletions src/pydata_sphinx_theme/locale/cs/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,6 @@
# Jan Breuer <j123b567@jaybee.cz>, 2024
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-04-29 13:43+0200\n"
"PO-Revision-Date: 2023-04-14 14:57+0000\n"
"Last-Translator: Jan Breuer <j123b567@jaybee.cz>, 2024\n"
"Language: cs\n"
"Language-Team: Czech "
"(https://app.transifex.com/12rambau/teams/166811/cs/)\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && "
"n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.13.0\n"

#: docs/conf.py:94
msgid "Click to expand"
Expand Down
12 changes: 0 additions & 12 deletions src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-04-29 13:43+0200\n"
"PO-Revision-Date: 2023-02-16 13:19-0500\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
"Language-Team: en <LL@li.org>\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.13.0\n"

#: docs/conf.py:94
msgid "Click to expand"
Expand Down
14 changes: 0 additions & 14 deletions src/pydata_sphinx_theme/locale/es/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,6 @@
# Cristhian Rivera, 2024
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-04-29 13:43+0200\n"
"PO-Revision-Date: 2023-04-14 14:57+0000\n"
"Last-Translator: Cristhian Rivera, 2024\n"
"Language: es\n"
"Language-Team: Spanish "
"(https://app.transifex.com/12rambau/teams/166811/es/)\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 "
"? 1 : 2;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.13.0\n"

#: docs/conf.py:94
msgid "Click to expand"
Expand Down
12 changes: 0 additions & 12 deletions src/pydata_sphinx_theme/locale/fr/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-04-29 13:43+0200\n"
"PO-Revision-Date: 2023-04-14 14:57+0000\n"
"Last-Translator: Denis Bitouzé <dbitouze@wanadoo.fr>, 2024\n"
"Language-Team: French (https://app.transifex.com/12rambau/teams/166811/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.13.0\n"
"Language: fr\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"

#: docs/conf.py:94
msgid "Click to expand"
Expand Down
15 changes: 0 additions & 15 deletions src/pydata_sphinx_theme/locale/ru/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,6 @@
# Rambaud Pierrick <pierrick.rambaud49@gmail.com>, 2023
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-04-29 13:43+0200\n"
"PO-Revision-Date: 2023-04-14 14:57+0000\n"
"Last-Translator: Rambaud Pierrick <pierrick.rambaud49@gmail.com>, 2023\n"
"Language: ru\n"
"Language-Team: Russian "
"(https://app.transifex.com/12rambau/teams/166811/ru/)\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) "
"|| (n%100>=11 && n%100<=14)? 2 : 3);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.13.0\n"

#: docs/conf.py:94
msgid "Click to expand"
Expand Down
Loading