This repository has been archived by the owner on Sep 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds mandate allocation view to election compound
- Loading branch information
Marc Sommerhalder
committed
Mar 18, 2019
1 parent
db7c20d
commit a09f77c
Showing
15 changed files
with
201 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE 1.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-11-05 09:12+0100\n" | ||
"PO-Revision-Date: 2018-11-05 09:15+0100\n" | ||
"POT-Creation-Date: 2019-03-18 07:52+0100\n" | ||
"PO-Revision-Date: 2019-03-18 07:53+0100\n" | ||
"Last-Translator: Marc Sommerhalder <[email protected]>\n" | ||
"Language-Team: German\n" | ||
"Language: de_CH\n" | ||
|
@@ -12,7 +12,7 @@ msgstr "" | |
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Lingua 3.12\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Poedit 2.2\n" | ||
"X-Generator: Poedit 2.2.1\n" | ||
|
||
msgid "Last change" | ||
msgstr "Aktualisiert" | ||
|
@@ -41,6 +41,9 @@ msgstr "Absolutes Mehr" | |
msgid "Tacit election" | ||
msgstr "Stille Wahl" | ||
|
||
msgid "Expats" | ||
msgstr "Auslandschweizer" | ||
|
||
msgid "Distinct district" | ||
msgstr "Eindeutiger Wahlkreis" | ||
|
||
|
@@ -89,6 +92,15 @@ msgstr "Relativ" | |
msgid "Elections" | ||
msgstr "Wahlen" | ||
|
||
msgid "Party strengths" | ||
msgstr "Parteistärken" | ||
|
||
msgid "Views" | ||
msgstr "Ansichten" | ||
|
||
msgid "Mandate allocation" | ||
msgstr "Sitzzuteilung" | ||
|
||
msgid "Cantonal" | ||
msgstr "Kantonal" | ||
|
||
|
@@ -324,9 +336,6 @@ msgstr "" | |
"proportional zu den Stimmen, blau eingefärbte Balken enthalten die Anzahl " | ||
"der Mandate." | ||
|
||
msgid "Party strengths" | ||
msgstr "Parteistärken" | ||
|
||
#. | ||
#. Default: The diagram shows the votes and mandates of the parties. The rimmed | ||
#. bars (left scale) correspond to the number of mandates, the colored bars | ||
|
@@ -359,9 +368,6 @@ msgstr "Panaschierstatistik (Listen)" | |
msgid "Mandates" | ||
msgstr "Mandate" | ||
|
||
msgid "Expats" | ||
msgstr "Auslandschweizer" | ||
|
||
msgid "Proposal and counter proposal rejected" | ||
msgstr "Initative und Gegenentwurf abgelehnt" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,16 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: \n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-11-05 09:12+0100\n" | ||
"PO-Revision-Date: 2018-11-05 09:15+0100\n" | ||
"POT-Creation-Date: 2019-03-18 07:52+0100\n" | ||
"PO-Revision-Date: 2019-03-18 07:58+0100\n" | ||
"Last-Translator: Marc Sommerhalder <[email protected]>\n" | ||
"Language-Team: \n" | ||
"Language: fr_CH\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: xls-to-po 1.0\n" | ||
"X-Generator: Poedit 2.2\n" | ||
"X-Generator: Poedit 2.2.1\n" | ||
|
||
msgid "Last change" | ||
msgstr "Actualisé" | ||
|
@@ -41,6 +41,9 @@ msgstr "Majorité absolue" | |
msgid "Tacit election" | ||
msgstr "Élection tacite" | ||
|
||
msgid "Expats" | ||
msgstr "Suisses de l'étranger" | ||
|
||
msgid "Distinct district" | ||
msgstr "District unique" | ||
|
||
|
@@ -89,6 +92,15 @@ msgstr "Relative" | |
msgid "Elections" | ||
msgstr "Elections" | ||
|
||
msgid "Party strengths" | ||
msgstr "Force des partis" | ||
|
||
msgid "Views" | ||
msgstr "Vues" | ||
|
||
msgid "Mandate allocation" | ||
msgstr "Répartition des sièges" | ||
|
||
msgid "Cantonal" | ||
msgstr "Cantonal" | ||
|
||
|
@@ -323,9 +335,6 @@ msgstr "" | |
"largeur des barres et des connexions est proportionnelle aux votes, les " | ||
"barres de couleur bleue contiennent le nombre de mandats." | ||
|
||
msgid "Party strengths" | ||
msgstr "Force des partis" | ||
|
||
#. | ||
#. Default: The diagram shows the votes and mandates of the parties. The rimmed | ||
#. bars (left scale) correspond to the number of mandates, the colored bars | ||
|
@@ -357,9 +366,6 @@ msgstr "Panachage (listes)" | |
msgid "Mandates" | ||
msgstr "Mandats" | ||
|
||
msgid "Expats" | ||
msgstr "Suisses de l'étranger" | ||
|
||
msgid "Proposal and counter proposal rejected" | ||
msgstr "Initiative et contre-projet rejetées" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,16 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: \n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-11-05 09:12+0100\n" | ||
"PO-Revision-Date: 2018-11-05 09:16+0100\n" | ||
"POT-Creation-Date: 2019-03-18 07:52+0100\n" | ||
"PO-Revision-Date: 2019-03-18 07:56+0100\n" | ||
"Last-Translator: Marc Sommerhalder <[email protected]>\n" | ||
"Language-Team: \n" | ||
"Language: it_CH\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: xls-to-po 1.0\n" | ||
"X-Generator: Poedit 2.2\n" | ||
"X-Generator: Poedit 2.2.1\n" | ||
|
||
msgid "Last change" | ||
msgstr "Aggiornato" | ||
|
@@ -41,6 +41,9 @@ msgstr "Maggioranza assoluta" | |
msgid "Tacit election" | ||
msgstr "Elezione tacita" | ||
|
||
msgid "Expats" | ||
msgstr "Svizzeri all'estero" | ||
|
||
msgid "Distinct district" | ||
msgstr "Distretto Unico" | ||
|
||
|
@@ -89,6 +92,15 @@ msgstr "Relativo" | |
msgid "Elections" | ||
msgstr "Elezioni" | ||
|
||
msgid "Party strengths" | ||
msgstr "Forza delle parti" | ||
|
||
msgid "Views" | ||
msgstr "Visualizzazioni" | ||
|
||
msgid "Mandate allocation" | ||
msgstr "Ripartizione dei seggi" | ||
|
||
msgid "Cantonal" | ||
msgstr "Cantonale" | ||
|
||
|
@@ -323,9 +335,6 @@ msgstr "" | |
"liste. L'ampiezza delle barre e delle connessioni è proporzionale ai voti, " | ||
"le barre colorate di blu contengono i numeri dei mandati." | ||
|
||
msgid "Party strengths" | ||
msgstr "Forza delle parti" | ||
|
||
#. | ||
#. Default: The diagram shows the votes and mandates of the parties. The rimmed | ||
#. bars (left scale) correspond to the number of mandates, the colored bars | ||
|
@@ -357,9 +366,6 @@ msgstr "Panachage (liste)" | |
msgid "Mandates" | ||
msgstr "Mandati" | ||
|
||
msgid "Expats" | ||
msgstr "Svizzeri all'estero" | ||
|
||
msgid "Proposal and counter proposal rejected" | ||
msgstr "Iniziativa e controprogetto sono state rifiutate" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: \n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-11-05 09:12+0100\n" | ||
"POT-Creation-Date: 2019-03-18 07:52+0100\n" | ||
"PO-Revision-Date: 2018-11-05 12:07+0100\n" | ||
"Last-Translator: Marc Sommerhalder <[email protected]>\n" | ||
"Language-Team: \n" | ||
|
@@ -40,6 +40,9 @@ msgstr "Maioritad absoluta" | |
msgid "Tacit election" | ||
msgstr "Elecziun taciturna" | ||
|
||
msgid "Expats" | ||
msgstr "Svizzers a l'exteriur" | ||
|
||
msgid "Distinct district" | ||
msgstr "Clera regiun" | ||
|
||
|
@@ -88,6 +91,15 @@ msgstr "Relativ" | |
msgid "Elections" | ||
msgstr "Elecziuns" | ||
|
||
msgid "Party strengths" | ||
msgstr "Forza da las partidas" | ||
|
||
msgid "Views" | ||
msgstr "" | ||
|
||
msgid "Mandate allocation" | ||
msgstr "" | ||
|
||
msgid "Cantonal" | ||
msgstr "Sin plaun chantunal" | ||
|
||
|
@@ -324,9 +336,6 @@ msgstr "" | |
"travs e da las colliaziuns è proporziunala a las vuschs, las travs blauas " | ||
"cuntegnan il dumber da mandats." | ||
|
||
msgid "Party strengths" | ||
msgstr "Forza da las partidas" | ||
|
||
#. | ||
#. Default: The diagram shows the votes and mandates of the parties. The rimmed | ||
#. bars (left scale) correspond to the number of mandates, the colored bars | ||
|
@@ -359,9 +368,6 @@ msgstr "Statistica da panaschar (glistas)" | |
msgid "Mandates" | ||
msgstr "Mandats" | ||
|
||
msgid "Expats" | ||
msgstr "Svizzers a l'exteriur" | ||
|
||
msgid "Proposal and counter proposal rejected" | ||
msgstr "Refusà l'iniziativa e la cuntraproposta" | ||
|
||
|
27 changes: 27 additions & 0 deletions
27
onegov/election_day/templates/election_compound/mandate_allocation.pt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<div metal:use-macro="layout.base" i18n:domain="onegov.election_day"> | ||
<tal:block metal:fill-slot="title">${election_compound.title}</tal:block> | ||
<tal:block metal:fill-slot="before-content"> | ||
<div metal:use-macro="layout.macros['election_header']" tal:define="election election_compound" /> | ||
</tal:block> | ||
<tal:block metal:fill-slot="content"> | ||
|
||
<div metal:use-macro="layout.macros['status_callout']" /> | ||
|
||
<tal:block tal:condition="layout.visible"> | ||
|
||
<h2 i18n:translate="">Results</h2> | ||
|
||
<div metal:use-macro="layout.macros['election_compound_factoids']" /> | ||
|
||
<div metal:use-macro="layout.macros['tab_menu']" /> | ||
|
||
<h3 tal:content="layout.title()" /> | ||
|
||
<div metal:use-macro="layout.macros['party_strengths']" /> | ||
|
||
</tal:block> | ||
|
||
<div metal:use-macro="layout.macros['related_link']" /> | ||
|
||
</tal:block> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.