diff --git a/.gitignore b/.gitignore index 011303c5..f07519b6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules public translations.yaml +.idea/* diff --git a/config.toml b/config.toml index bd37bde4..0397f6d0 100644 --- a/config.toml +++ b/config.toml @@ -42,6 +42,8 @@ install-fdroid="Install Organic Maps from F-Droid" language = "English" name = "Name" token = "Token" +faq-menu-title = "F.A.Q" +faq-questions = "questions" # Please sort all other translation sections and values in alphabetical order. [languages.de] @@ -108,6 +110,9 @@ install-fdroid = "Установите Organic Maps из F-Droid" language = "Русский" name = "Название" token = "Токен" +faq-menu-title = "Справка" +faq-questions = "вопросы" + [languages.tr] [languages.tr.translations] address = "Adres" diff --git a/content/faq/android/what-android-version-can-run-organic-maps/index.ru.md b/content/faq/android/what-android-version-can-run-organic-maps/index.ru.md new file mode 100644 index 00000000..b7438988 --- /dev/null +++ b/content/faq/android/what-android-version-can-run-organic-maps/index.ru.md @@ -0,0 +1,14 @@ +--- +title: Какие версии Android поддерживает Organic Maps? +description: "Frequently asked questions for Organic Maps application" + +taxonomies: + faq: ["Android"] + +extra: + order: 10 +--- + +Для работы Organic Maps достаточно устройства с Android 5 или выше. Если у вас самая свежая версия Android, значит Organic Maps точно заработает. + +Карта может работать как при наличии Google сервисов, так и без них. diff --git a/templates/base.html b/templates/base.html index 1110e5f5..e4d936c8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -85,10 +85,10 @@
{% if page.taxonomies and page.taxonomies.faq %}{# Show FAQ breadcrumbs #} - F.A.Q. - {% set categories = get_taxonomy(kind='faq') | get(key="items") %} + {{ trans(key='faq-menu-title', lang=lang) }} + {% set categories = get_taxonomy(kind='faq', lang=page.lang) | get(key="items") %} {% for item in categories %} - • {{ item.name }} + • {{ item.name }} {% endfor %} {% endif %} {% block content %}{% endblock %} diff --git a/templates/faq/list.html b/templates/faq/list.html index 12436dec..67930a98 100644 --- a/templates/faq/list.html +++ b/templates/faq/list.html @@ -5,9 +5,9 @@ {% endblock %} {% block content %} -

F.A.Q.

+

{{ trans(key='faq-menu-title', lang=lang) }}

{%- for term in terms -%} -

{{term.name}} questions

+

{{term.name}} {{ trans(key='faq-questions', lang=lang) }}