Skip to content

Commit

Permalink
Add localization to GPlay / AppGallery / F-Droid links
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Tsisyk <[email protected]>
  • Loading branch information
rtsisyk authored and biodranik committed Nov 19, 2022
1 parent be9ea0d commit 60a6d45
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion content/_index.it.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extra:
**Organic Maps** è un'applicazione gratuita di mappe offline per Android e iOS per viaggiatori, turisti, escursionisti e ciclisti, basata su dati crowd-sourced di **[OpenStreetMap](https://www.openstreetmap.org)**.
Si tratta di un [fork](https://it.wikipedia.org/wiki/Fork_(sviluppo_software)) open source dell'applicazione **Maps.me** (precedentemente nota come [**MapsWithMe**](https://en.wikipedia.org/wiki/Maps.me)), incentrato sulla privacy e gestito dalle stesse persone che hanno creato **MapsWithMe** nel 2011.

{{ badges() }}
{{ badges(lang='it') }}

{{ screenshot(src='/images/screenshots/hiking.jpg', alt='Hiking') }}
{{ screenshot(src='/images/screenshots/prague.jpg', alt='Prague') }}
Expand Down
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extra:
**[OpenStreetMap](https://www.openstreetmap.org)** data.
It is a privacy-focused, open-source [fork](https://en.wikipedia.org/wiki/Fork_(software_development)) of **Maps.me** app (previously known as [**MapsWithMe**](https://en.wikipedia.org/wiki/Maps.me)), maintained by the same people who created **MapsWithMe** in 2011.

{{ badges() }}
{{ badges(lang='en') }}

{{ screenshot(src='/images/screenshots/hiking.jpg', alt='Hiking') }}
{{ screenshot(src='/images/screenshots/prague.jpg', alt='Prague') }}
Expand Down
2 changes: 1 addition & 1 deletion content/_index.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extra:

<p id='install'>

{{ badges() }}
{{ badges(lang='ru') }}

{{ screenshot(src='/images/screenshots/hiking.jpg', alt='Пеший поход') }}
{{ screenshot(src='/images/screenshots/prague.jpg', alt='Прага') }}
Expand Down
2 changes: 1 addition & 1 deletion content/_index.tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extra:
Topluluk kaynaklı [**OpenStreetMap**](https://www.openstreetmap.org) verilerine dayanmaktadır.
Daha önce [**MapsWithMe**](https://en.wikipedia.org/wiki/Maps.me) olarak bilinen **Maps.me** uygulamasının gizlilik odaklı, açık kaynaklı bir [çatalı](https://tr.wikipedia.org/wiki/%C3%87atal_(yaz%C4%B1l%C4%B1m_geli%C5%9Ftirme)) olan Organic Maps, 2011 yılında **MapsWithMe** uygulamasını geliştiren kişiler tarafından sürdürülmektedir.

{{ badges() }}
{{ badges(lang='tr') }}

{{ screenshot(src='/images/screenshots/hiking.jpg', alt='Yürüyüş') }}
{{ screenshot(src='/images/screenshots/prague.jpg', alt='Prag') }}
Expand Down
6 changes: 3 additions & 3 deletions templates/shortcodes/badges.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<a href="https://apps.apple.com/app/organic-maps/id1567437057" title="{{ trans(key='install-appstore', lang=lang) }}"><img src="/images/badges/googleplay.svg"></a>
</span>
<span class="badge">
<a href="https://play.google.com/store/apps/details?id=app.organicmaps" title="{{ trans(key='install-googleplay', lang=lang) }}"><img src="/images/badges/apple-appstore.svg"></a>
<a href="https://play.google.com/store/apps/details?id=app.organicmaps&hl={{ lang }}" title="{{ trans(key='install-googleplay', lang=lang) }}"><img src="/images/badges/apple-appstore.svg"></a>
</span>
<span class="badge">
<a href="https://f-droid.org/en/packages/app.organicmaps/" title="{{ trans(key='install-fdroid', lang=lang) }}"><img src="/images/badges/f-droid.svg"></a>
<a href="https://f-droid.org/{{ lang }}/packages/app.organicmaps/" title="{{ trans(key='install-fdroid', lang=lang) }}"><img src="/images/badges/f-droid.svg"></a>
</span>
<span class="badge">
<a href="https://appgallery.huawei.com/#/app/C104325611" title="{{ trans(key='install-appgallery', lang=lang) }}"><img src="/images/badges/huawei-appgallery.png"></a>
<a href="https://appgallery.huawei.com/#/app/C104325611?local={{ lang }}" title="{{ trans(key='install-appgallery', lang=lang) }}"><img src="/images/badges/huawei-appgallery.png"></a>
</span>
</p>

0 comments on commit 60a6d45

Please sign in to comment.