Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ch32617] FM: custom translations field for db translations #3411

Closed
wants to merge 14 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 88 additions & 8 deletions src/etools/applications/core/data/field_monitoring_categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,63 +4,143 @@
"pk": 1,
"fields": {
"order": 1,
"name": "Community Engagement and Accountability"
"name": "Community Engagement and Accountability",
"translations": {
"name": {
"en": "Community Engagement and Accountability",
"fr": "Engagement Communautaire et Responsabilité",
"ru": "Вовлечение сообщества и подотчетность",
"pt": "Engajamento Comunitário e Prestação de Contas",
"es": "Participación comunitaria y rendición de cuentas",
"ar": "المشاركة المجتمعية والمساءلة"
}
}
}
},
{
"model": "field_monitoring_settings.category",
"pk": 2,
"fields": {
"order": 2,
"name": "HACT"
"name": "HACT",
"translations": {
"name": {
"en": "",
"fr": "",
"ru": "",
"pt": "",
"es": "",
"ar": ""
}
}
}
},
{
"model": "field_monitoring_settings.category",
"pk": 3,
"fields": {
"order": 3,
"name": "Quality"
"name": "Quality",
"translations": {
"name": {
"en": "Quality",
"fr": "Qualité",
"ru": "Качество",
"pt": "Qualidade",
"es": "Calidad",
"ar": "جودة"
}
}
}
},
{
"model": "field_monitoring_settings.category",
"pk": 4,
"fields": {
"order": 4,
"name": "Reach"
"name": "Reach",
"translations": {
"name": {
"en": "Reach",
"fr": "Atteindre",
"ru": "Достигать",
"pt": "Alcançar",
"es": "Alcanzar",
"ar": "يصل"
}
}
}
},
{
"model": "field_monitoring_settings.category",
"pk": 5,
"fields": {
"order": 5,
"name": "Enabling Environment"
"name": "Enabling Environment",
"translations": {
"name": {
"en": "Enabling Environment",
"fr": "Environnement Favorable",
"ru": "Создание благоприятных условий",
"pt": "Ambiente favorável",
"es": "Ambiente apto",
"ar": "احفظ البيئة"
}
}
}
},
{
"model": "field_monitoring_settings.category",
"pk": 6,
"fields": {
"order": 6,
"name": "PSEA"
"name": "PSEA",
"translations": {
"name": {
"en": "",
"fr": "",
"ru": "",
"pt": "",
"es": "",
"ar": ""
}
}
}
},
{
"model": "field_monitoring_settings.category",
"pk": 7,
"fields": {
"order": 7,
"name": "Supplies"
"name": "Supplies",
"translations": {
"name": {
"en": "Supplies",
"fr": "Produits",
"ru": "Запасы",
"pt": "Suprimentos",
"es": "Suministros",
"ar": "لوازم"
}
}
}
},
{
"model": "field_monitoring_settings.category",
"pk": 8,
"fields": {
"order": 8,
"name": "Acceptability"
"name": "Acceptability",
"translations": {
"name": {
"en": "Acceptability",
"fr": "Acceptabilité",
"ru": "Приемлемость",
"pt": "Aceitabilidade",
"es": "Aceptabilidad",
"ar": "القبول"
}
}
}
}
]

This file was deleted.

60 changes: 57 additions & 3 deletions src/etools/applications/core/data/field_monitoring_methods.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,25 @@
"fields": {
"name": "Key Informant Interview",
"short_name": "KII",
"use_information_source": true
"use_information_source": true,
"translations": {
"name": {
"en": "Key Informant Interview",
"fr": "Entretien avec un Informateur Clé",
"ru": "Интервью с ключевым информатором",
"pt": "Entrevista com o Informante-Chave",
"es": "Entrevista con informante clave",
"ar": "مقابلة المخبر الرئيسي"
},
"short_name": {
"en": "KII",
"fr": "EIC",
"ru": "",
"pt": "EIC",
"es": "EIC",
"ar": ""
}
}
}
},
{
Expand All @@ -14,7 +32,25 @@
"fields": {
"name": "Focus Group Discussion",
"short_name": "FGD",
"use_information_source": true
"use_information_source": true,
"translations": {
"name": {
"en": "Focus Group Discussion",
"fr": "Groupe de Discussion",
"ru": "Обсуждение в фокус-группе",
"pt": "Discussão em Grupo de Foco",
"es": "Discusión de grupos focales",
"ar": "مناقشة جماعية فى موضوع محدد"
},
"short_name": {
"en": "FGD",
"fr": "GD",
"ru": "",
"pt": "DGF",
"es": "DGF",
"ar": ""
}
}
}
},
{
Expand All @@ -23,7 +59,25 @@
"fields": {
"name": "Observation",
"short_name": "Obs.",
"use_information_source": false
"use_information_source": false,
"translations": {
"name": {
"en": "Observation",
"fr": "Observation",
"ru": "Наблюдение",
"pt": "Observação",
"es": "Observación",
"ar": "ملاحظة"
},
"short_name": {
"en": "",
"fr": "",
"ru": "",
"pt": "",
"es": "",
"ar": ""
}
}
}
}
]
29 changes: 0 additions & 29 deletions src/etools/applications/core/data/field_monitoring_methods_fr.json

This file was deleted.

Loading