jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/881583 )
Change subject: Localisation updates from https://translatewiki.net.
......................................................................
Localisation updates from https://translatewiki.net.
Change-Id: Ib63fb1ef0b253a79f0305e35460661a4886b3af1
---
M category/de.json
1 file changed, 10 insertions(+), 1 deletion(-)
Approvals:
L10n-bot: Looks good to me, approved
jenkins-bot: Verified
diff --git a/category/de.json b/category/de.json
index 86906d3..5763868 100644
--- a/category/de.json
+++ b/category/de.json
@@ -12,7 +12,7 @@
},
"category-adding": "Bot: Ergänze Kategorie [[:Category:%(newcat)s|%(newcat)s]]",
"category-also-in": "(auch in %(alsocat)s)",
- "category-clean": "Bot: Entfernen der Kategorie %(category)s, die bereits in %(child)s enthalten ist",
+ "category-clean": "Bot: Entferne Kategorie %(category)s, weil sie bereits unter %(child)s ist",
"category-listifying": "Bot: Liste aus %(fromcat)s ({{PLURAL:num|1 Eintrag|%(num)d Einträge}})",
"category-removing": "Bot: Entferne aus %(oldcat)s",
"category-renamed": "Bot: Verschoben von %(oldcat)s. Autoren: %(authors)s",
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/881583
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/i18n
Gerrit-Branch: master
Gerrit-Change-Id: Ib63fb1ef0b253a79f0305e35460661a4886b3af1
Gerrit-Change-Number: 881583
Gerrit-PatchSet: 1
Gerrit-Owner: L10n-bot <l10n-bot(a)translatewiki.net>
Gerrit-Reviewer: L10n-bot <l10n-bot(a)translatewiki.net>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/880881 )
Change subject: [bugfix] Fix setup.read_desc() regex
......................................................................
[bugfix] Fix setup.read_desc() regex
If a space was behind a sphinx link and the link was different from
the label, the link was removed but the alignment does not match the
previous line. Modify the regex pattern to remove a following space
in such case.
Also test the long_description created by setup.py in make_dist.py
script
Bug: T327056
Change-Id: Ie71c4f9feb38e4ba822330b6978d19f506304c95
---
M setup.py
M make_dist.py
2 files changed, 25 insertions(+), 3 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/make_dist.py b/make_dist.py
index 4c75e43..d58c8f5 100755
--- a/make_dist.py
+++ b/make_dist.py
@@ -45,7 +45,7 @@
import shutil
import sys
from pathlib import Path
-from subprocess import check_call
+from subprocess import check_call, run
import setup
from pywikibot import __version__, error, info, input_yn, warning
@@ -109,6 +109,10 @@
finally:
self.cleanup()
+ # check description
+ if run('twine check dist/*', shell=True).returncode:
+ return
+
if self.local:
check_call('pip uninstall pywikibot -y', shell=True)
check_call(
diff --git a/setup.py b/setup.py
index 961cec2..081dbab 100755
--- a/setup.py
+++ b/setup.py
@@ -184,7 +184,7 @@
Combine included restructured text files which must be done before
uploading because the source isn't available after creating the package.
"""
- pattern = r'\:\w+\:`([^`]+?)(?:<.+>)?`', r'\1'
+ pattern = r'(?:\:\w+\:`([^`]+?)(?:<.+>)?` *)', r'\1'
desc = []
with open(filename) as f:
for line in f:
@@ -219,7 +219,7 @@
version=version,
description=metadata.__description__,
long_description=read_desc('README.rst'),
- # long_description_content_type
+ long_description_content_type='text/x-rst',
# author
# author_email
maintainer=metadata.__maintainer__,
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/880881
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie71c4f9feb38e4ba822330b6978d19f506304c95
Gerrit-Change-Number: 880881
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-CC: KBach <kbach(a)wikimedia.org>
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/880446 )
Change subject: Localisation updates from https://translatewiki.net.
......................................................................
Localisation updates from https://translatewiki.net.
Change-Id: I354e3435dc33f5f62c422395994fa69446c8c674
---
M solve_disambiguation/sl.json
M category/nl.json
M category/ia.json
3 files changed, 17 insertions(+), 7 deletions(-)
Approvals:
L10n-bot: Looks good to me, approved
jenkins-bot: Verified
diff --git a/category/ia.json b/category/ia.json
index 29105db..ee7b362 100644
--- a/category/ia.json
+++ b/category/ia.json
@@ -6,7 +6,7 @@
},
"category-adding": "Robot: Addition del categoria [[:Category:%(newcat)s|%(newcat)s]]",
"category-also-in": "(equalmente in %(alsocat)s)",
- "category-clean": "Robot: Remove le categoria %(category)s que es ja in %(child)s",
+ "category-clean": "Robot: Remove le categoria %(category)s perque illo es ja sub %(child)s",
"category-listifying": "Robot: Face lista de articulos in %(fromcat)s ({{PLURAL:%(num)d|1 entrata|%(num)d entratas}})",
"category-removing": "Robot: Removite de %(oldcat)s",
"category-renamed": "Robot: Transferite de %(oldcat)s. Autores: %(authors)s",
diff --git a/category/nl.json b/category/nl.json
index 06b86fa..17736c8 100644
--- a/category/nl.json
+++ b/category/nl.json
@@ -9,6 +9,7 @@
},
"category-adding": "Robot: categorie [[:Category:%(newcat)s|%(newcat)s]] toegevoegd",
"category-also-in": "(ook in %(alsocat)s)",
+ "category-clean": "Robot: Verwijdering van categorie %(category)s omdat deze al onder %(child)s staat",
"category-listifying": "Robot: lijst van %(fromcat)s (%(num)d pagina's)",
"category-removing": "Robot: verwijderd uit %(oldcat)s",
"category-renamed": "Robot: hernoemd van %(oldcat)s. Auteurs: %(authors)s",
diff --git a/solve_disambiguation/sl.json b/solve_disambiguation/sl.json
index 3fd5bc1..797c229 100644
--- a/solve_disambiguation/sl.json
+++ b/solve_disambiguation/sl.json
@@ -5,11 +5,11 @@
"Eleassar"
]
},
- "solve_disambiguation-adding-dn-template": "Razločitev s pomočjo robota: %(from)s – Označeno kot potrebno pozornosti strokovnjaka",
- "solve_disambiguation-links-removed": "Razločitev s pomočjo robota: %(from)s – odstranitev povezav",
- "solve_disambiguation-links-resolved": "Razločitev s pomočjo robota: %(from)s – Sprememba povezav v %(to)s",
- "solve_disambiguation-redirect-adding-dn-template": "Razločitev s pomočjo robota: %(from)s – Označeno kot potrebno pozornosti strokovnjaka",
- "solve_disambiguation-redirect-removed": "Razločitev s pomočjo robota: %(from)s – odstranitev povezav",
- "solve_disambiguation-redirect-resolved": "Razločitev s pomočjo robota: %(from)s – Sprememba povezav v %(to)s",
+ "solve_disambiguation-adding-dn-template": "Razločitev s pomočjo bota: %(from)s – označeno kot potrebno pozornosti strokovnjaka",
+ "solve_disambiguation-links-removed": "Razločitev s pomočjo bota: %(from)s – odstranitev povezav(e).",
+ "solve_disambiguation-links-resolved": "Razločitev s pomočjo bota: %(from)s – sprememba povezav(e) v %(to)s",
+ "solve_disambiguation-redirect-adding-dn-template": "Razločitev s pomočjo bota: %(from)s – označeno kot potrebno pozornosti strokovnjaka",
+ "solve_disambiguation-redirect-removed": "Razločitev s pomočjo bota: %(from)s – odstranitev povezav(e)",
+ "solve_disambiguation-redirect-resolved": "Razločitev s pomočjo bota: %(from)s – sprememba povezav(e) v %(to)s",
"solve_disambiguation-unknown-page": "(neznano)"
}
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/880446
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/i18n
Gerrit-Branch: master
Gerrit-Change-Id: I354e3435dc33f5f62c422395994fa69446c8c674
Gerrit-Change-Number: 880446
Gerrit-PatchSet: 1
Gerrit-Owner: L10n-bot <l10n-bot(a)translatewiki.net>
Gerrit-Reviewer: L10n-bot <l10n-bot(a)translatewiki.net>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged