Closed strump closed 1 month ago
Should we synchronize organicmaps/data/faq.html
file with this repo? Some Python script to copy text from MD to HTML?
Latest commit: |
9f182c0
|
Status: | ✅ Deploy successful! |
Preview URL: | https://ba39b946.organicmaps.pages.dev |
Branch Preview URL: | https://faq-updates-from-main-repo.organicmaps.pages.dev |
Thanks a lot for your work! I love the translation status page! Is it possible in addition to compare FAQ article dates, and mark translations as outdated if they were not changed after the English md file was edited?
Left some comments, it would be great to also sync ru, uk and other languages.
Is there any preview page on Cloudflare? I can't find a link.
It was hidden. Thanks!!!
Copied FAQ from https://github.com/organicmaps/organicmaps/blob/master/data/faq.html Nothing changed.
Added service page
/faq/translation_status
with all FAQ questions with translations as a table to track statuses.FAQ categories need translations:
I think Roman's PR #115 could be closed.
Update 2022-06-17
Added "Edit on GitHub" link to every FAQ page.
Should we translate link text?
Should we add the link to every page (now only FAQ pages have it)?
Should we move link to top? For example https://sphinx-rtd-theme.readthedocs.io/en/stable/ have github link on top.
Update 2022-06-18
Page
/faq/translation_status
now have coloring depending on last update date. Yellow cell color means thatupdated
field is missing. Red cell means that translated page is older than English page.Coloring was implemented with Javascript 'cause Zola/Tera doesn't support strings or dates comparison. Only numbers could be compared with
<
operator 😕Update 2022-06-21
FAQ sections are now translated in
config.toml
. So instead offaq: ["Map Editing"]
we usefaq: ["editing"]
for all languages. And actual UI title is loaded fromfaq_section_editing
string constant.New translation constants:
faq_section_app = "App"
faq_section_bookmarks = "Bookmarks and Tracks"
faq_section_editing = "Map Editing"
faq_section_map = "Map"
faq_section_tts = "Voice Directions"
Update 2022-06-22
Updated
README.md
in FAQ section to reflect latest changes.Update 2022-06-28
Updated
/faq/translation_status
page to work without JavaScript.