Integrate extra.menu_title into Weblate

This commit is contained in:
Roman Tsisyk 2022-12-23 07:34:26 +02:00
parent 6af589d5c1
commit 46cf70500b
6 changed files with 21 additions and 22 deletions

View file

@ -3,7 +3,7 @@
[options] opt:"--verbose" opt:"--package-name='Organic Maps Website'" opt:"--package-version=1.0" opt:"--copyright-holder='Organic Maps'" opt:"--addendum-charset=UTF-8" opt:"--localized-charset=UTF-8" opt:"--master-charset=UTF-8" opt:"--master-language=en_US" opt:"--msgmerge-opt='--no-wrap'" opt:"--porefs=file" opt:"--wrap-po=newlines"
[po4a_alias:markdown] text opt:"--option markdown" opt:"--option keyvalue" opt:"--option yfm_keys=title,description" opt:"--addendum-charset=UTF-8" opt:"--localized-charset=UTF-8" opt:"--master-charset=UTF-8" opt:"--keep=80"
[po4a_alias:markdown] text opt:"--option markdown" opt:"--option keyvalue" opt:"--option yfm_keys=title,description,menu_title" opt:"--addendum-charset=UTF-8" opt:"--localized-charset=UTF-8" opt:"--master-charset=UTF-8" opt:"--keep=80"
[type: markdown] content/_index.md $lang:content/_index.$lang.md
[type: markdown] content/donate/index.md $lang:content/donate/index.$lang.md

View file

@ -79,7 +79,6 @@ brew install po4a
## Known Limitations
- Menu item names in `menu.title` YAML Front Matters are not updated properly, see [a relevant ticket for po4a](https://github.com/mquinson/po4a/issues/392).
- `./i18n.sh` removes line wrapping in `.po` files when a new language is added initially via WebLate.
- New web-site pages should be added to `.po4a.cfg` configuration file manually.

View file

@ -1,7 +1,7 @@
---
description: 'Peta luring cepat terperinci untuk pelancong, turis, pengemudi, pejalan kaki, dan pengendara sepeda yang dibuat oleh pendiri aplikasi MapsWithMe (Maps.Me).'
extra:
menu_title: Halaman depan
menu_title: 'Halaman depan'
page_template: index.html
sort_by: weight
title: 'Organic Maps: Pendakian, Bersepeda, Jalan Setapak, dan Navigasi Luring'

View file

@ -1,7 +1,7 @@
---
description: 'Ketentuan penggunaan untuk aplikasi Organic Maps'
extra:
menu_title: Terms
menu_title: Persyaratan
title: 'Organic Maps: persyaratan'
weight: 1000
---

View file

@ -27,7 +27,7 @@ msgstr "Peta luring cepat terperinci untuk pelancong, turis, pengemudi, pejalan
msgid "Organic Maps: Offline Hike, Bike, Trails and Navigation"
msgstr "Organic Maps: Pendakian, Bersepeda, Jalan Setapak, dan Navigasi Luring"
#. type: YAML Front Matter: extra.menu_title
#. type: YAML Front Matter: extra menu_title
#: content/_index.md
#, no-wrap
msgid "Home"
@ -386,8 +386,8 @@ msgstr "Uang Anda membayar semua pengeluaran yang terkait dengan proyek dan memo
msgid "Donate to support the development of Organic Maps"
msgstr "Berdonasi untuk mendukung pengembangan Organic Maps"
#. type: YAML Front Matter: extra.menu_title
#: content/_index.md
#. type: YAML Front Matter: extra menu_title
#: content/donate/_index.md
#, no-wrap
msgid "Donate"
msgstr "Donasi"
@ -550,7 +550,7 @@ msgstr "Dapatkah Anda membantu kami dengan cara lain?"
#. type: Plain text
#: content/donate/index.md
msgid "Yes! There are many ways to support Organic Maps. Please see [Support Us](@/support-us/index.id.md) page for more details."
msgid "Yes! There are many ways to support Organic Maps. Please see [Support Us](@/support-us/index.md) page for more details."
msgstr "Ya! Ada banyak cara untuk mendukung Peta Organik. Silakan lihat halaman [Dukung Kami](@/support-us/index.id.md) untuk lebih jelasnya."
#. type: Plain text
@ -575,7 +575,7 @@ msgstr "Tetap terhubung dengan rilis Organic Maps terbaru, berita dan pembaruan
msgid "Organic Maps: Latest news and updates from our team"
msgstr "Organic Maps: Berita dan pembaruan terbaru dari tim kami"
#. type: YAML Front Matter: extra.menu_title
#. type: YAML Front Matter: extra menu_title
#: content/news/_index.md
#, no-wrap
msgid "News"
@ -593,8 +593,8 @@ msgstr "Tanpa pelacakan, tanpa iklan, tanpa pengumpulan data, tanpa pengumpulan
msgid "Organic Maps: Privacy Policy"
msgstr "Organic Maps: Kebijakan Privasi"
#. type: YAML Front Matter: extra.menu_title
#: content/news/_index.md
#. type: YAML Front Matter: extra menu_title
#: content/privacy/_index.md
#, no-wrap
msgid "Privacy"
msgstr "Privasi"
@ -637,7 +637,7 @@ msgstr "Berbagai cara untuk mendukung pengembangan aplikasi gratis kami"
msgid "Support the development of Organic Maps"
msgstr "Dukung pengembangan Organic Maps"
#. type: YAML Front Matter: extra.menu_title
#. type: YAML Front Matter: extra menu_title
#: content/support-us/index.md
#, no-wrap
msgid "Support Us"
@ -730,11 +730,11 @@ msgstr "Ketentuan penggunaan untuk aplikasi Organic Maps"
msgid "Organic Maps: terms"
msgstr "Organic Maps: persyaratan"
#. type: YAML Front Matter: extra.menu_title
#. type: YAML Front Matter: extra menu_title
#: content/terms/index.md
#, no-wrap
msgid "Terms"
msgstr ""
msgstr "Persyaratan"
#. type: Plain text
#: content/terms/index.md

View file

@ -26,7 +26,7 @@ msgstr ""
msgid "Organic Maps: Offline Hike, Bike, Trails and Navigation"
msgstr ""
#. type: YAML Front Matter: extra.menu_title
#. type: YAML Front Matter: extra menu_title
#: content/_index.md
#, no-wrap
msgid "Home"
@ -440,8 +440,8 @@ msgstr ""
msgid "Donate to support the development of Organic Maps"
msgstr ""
#. type: YAML Front Matter: extra.menu_title
#: content/_index.md
#. type: YAML Front Matter: extra menu_title
#: content/donate/_index.md
#, no-wrap
msgid "Donate"
msgstr ""
@ -652,7 +652,7 @@ msgstr ""
msgid "Organic Maps: Latest news and updates from our team"
msgstr ""
#. type: YAML Front Matter: extra.menu_title
#. type: YAML Front Matter: extra menu_title
#: content/news/_index.md
#, no-wrap
msgid "News"
@ -670,8 +670,8 @@ msgstr ""
msgid "Organic Maps: Privacy Policy"
msgstr ""
#. type: YAML Front Matter: extra.menu_title
#: content/news/_index.md
#. type: YAML Front Matter: extra menu_title
#: content/privacy/_index.md
#, no-wrap
msgid "Privacy"
msgstr ""
@ -718,7 +718,7 @@ msgstr ""
msgid "Support the development of Organic Maps"
msgstr ""
#. type: YAML Front Matter: extra.menu_title
#. type: YAML Front Matter: extra menu_title
#: content/support-us/index.md
#, no-wrap
msgid "Support Us"
@ -826,7 +826,7 @@ msgstr ""
msgid "Organic Maps: terms"
msgstr ""
#. type: YAML Front Matter: extra.menu_title
#. type: YAML Front Matter: extra menu_title
#: content/terms/index.md
#, no-wrap
msgid "Terms"