mirror of
https://github.com/tomasriveral/ReSSPublica.git
synced 2026-08-11 18:28:38 +02:00
fix: duplicate and miss formated signature info
This commit is contained in:
@@ -163,7 +163,7 @@ def generateFederalFeed(CACHE):
|
||||
item["text"] += translatedEndDateAndInsufficientSignatures[lang]
|
||||
|
||||
elif item["collectedSignature"] == None:
|
||||
item["text"] += getSignatureInfo(item["creationDate"], lang)
|
||||
pass # we already put the text before. We just need to keep this elif condition to not raise the following ValueError
|
||||
|
||||
else:
|
||||
raise ValueError(
|
||||
|
||||
@@ -64,9 +64,9 @@ translatedMonths = {
|
||||
"luglio","agosto","settembre","ottobre","novembre","dicembre"]
|
||||
}
|
||||
translatedSignatureDates = {
|
||||
"fr": ("<p>La collecte des signatures a commencé le", "et se terminera vers</p>"),
|
||||
"de": ("<p>Die Unterschriftensammlung begann am", "und endet ungefähr im</p>"),
|
||||
"it": ("<p>La raccolta delle firme è iniziata il", "e terminerà circa nel</p>"),
|
||||
"fr": ("<p>La collecte des signatures a commencé le", "et se terminera en"),
|
||||
"de": ("<p>Die Unterschriftensammlung begann am", "und endet im"),
|
||||
"it": ("<p>La raccolta delle firme è iniziata il", "e terminerà nel"),
|
||||
}
|
||||
# used in bernAsianHornet.py
|
||||
translatedBernAsianHornetSightings = {
|
||||
|
||||
Reference in New Issue
Block a user