Skip to content

Commit

Permalink
Add link to OSMCha RSS feed (#890)
Browse files Browse the repository at this point in the history
* Update index.html.twig

* Update translations
  • Loading branch information
jbelien authored Jan 22, 2023
1 parent 512bb37 commit c79771c
Show file tree
Hide file tree
Showing 15 changed files with 68 additions and 0 deletions.
12 changes: 12 additions & 0 deletions templates/app/list/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@
</div>

{{ include('app/list/table.html.twig') }}

<div class="text-center mt-3 text-sm text-gray-600">
<a href="https://osmcha.org/api/v1/aoi/{{ region['osmcha.id'] }}/changesets/feed/" class="flex items-center gap-1">
<!-- Heroicon name: mini/rss -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4">
<path d="M3.75 3a.75.75 0 00-.75.75v.5c0 .414.336.75.75.75H4c6.075 0 11 4.925 11 11v.25c0 .414.336.75.75.75h.5a.75.75 0 00.75-.75V16C17 8.82 11.18 3 4 3h-.25z" />
<path d="M3 8.75A.75.75 0 013.75 8H4a8 8 0 018 8v.25a.75.75 0 01-.75.75h-.5a.75.75 0 01-.75-.75V16a6 6 0 00-6-6h-.25A.75.75 0 013 9.25v-.5zM7 15a2 2 0 11-4 0 2 2 0 014 0z" />
</svg>

{{ 'Download OSMCha RSS feed'|trans }}
</a>
</div>
</main>

{% endblock %}
Expand Down
4 changes: 4 additions & 0 deletions translations/messages.bg.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ It helps you discover new mappers in your region and welcome them.</source>
<source>Mapper detected in {count} region(s)</source>
<target state="needs-translation">Mapper detected in {count} region(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ Es hilft dir, neue Kartierer in deiner Region zu entdecken und sie willkommen zu
<source>Mapper detected in {count} region(s)</source>
<target state="translated">Kartierer in {count} Region(en) entdeckt</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ It helps you discover new mappers in your region and welcome them.</target>
<source>Mapper detected in {count} region(s)</source>
<target>Mapper detected in {count} region(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target>Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.es_ES.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ Ayuda a descubrir nuevos colaboradores en tu región y darles la bienvenida.</ta
<source>Mapper detected in {count} region(s)</source>
<target state="needs-translation">Mapper detected in {count} region(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ Il vous aide à détecter les nouveaux contributeurs dans votre région et à le
<source>Mapper detected in {count} region(s)</source>
<target state="final">Cartographe détecté dans {count} région(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="final">Télécharger le flux RSS d'OSMCha</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.hu.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ Segít megtalálni a régiódban először szerkesztőket és üdvözölni őket
<source>Mapper detected in {count} region(s)</source>
<target state="needs-translation">Mapper detected in {count} region(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ Ti aiuta a scoprire i nuovi contributori nella tua regione e dargli il benvenuto
<source>Mapper detected in {count} region(s)</source>
<target state="translated">Mappatore rilevato in {count} regione/i</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ It helps you discover new mappers in your region and welcome them.</source>
<source>Mapper detected in {count} region(s)</source>
<target state="needs-translation">Mapper detected in {count} region(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ It helps you discover new mappers in your region and welcome them.</source>
<source>Mapper detected in {count} region(s)</source>
<target state="translated">{count}개 지역에서 감지된 기여자</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.nl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ De tool helpt je nieuwe mappers in je regio te vinden en te verwelkomen.</target
<source>Mapper detected in {count} region(s)</source>
<target state="needs-translation">Mapper detected in {count} region(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ Pomaga znaleźć nowych mapowiczów w twoim regionie i powitać ich.</target>
<source>Mapper detected in {count} region(s)</source>
<target state="needs-translation">Mapper detected in {count} region(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.sq.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ Ju ndihmon të zbuloni dhe mirëprisni hartografues të rinj në rajonin tuaj.</
<source>Mapper detected in {count} region(s)</source>
<target state="needs-translation">Mapper detected in {count} region(s)</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.zh_CN.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ It helps you discover new mappers in your region and welcome them.</source>
<source>Mapper detected in {count} region(s)</source>
<target state="translated">在{count}个区域活跃的绘图者</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions translations/messages.zh_TW.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ It helps you discover new mappers in your region and welcome them.</source>
<source>Mapper detected in {count} region(s)</source>
<target state="translated">在 {count} 個區域活躍的圖客</target>
</trans-unit>
<trans-unit id="uZEt4z7" resname="Download OSMCha RSS feed">
<source>Download OSMCha RSS feed</source>
<target state="needs-translation">Download OSMCha RSS feed</target>
</trans-unit>
</body>
</file>
</xliff>

0 comments on commit c79771c

Please sign in to comment.