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

Add translatable strings for Religion field #263

Merged
merged 2 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
28 changes: 27 additions & 1 deletion data/fields/religion.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
{
"key": "religion",
"type": "combo",
"label": "Religion"
"label": "Religion",
"strings": {
"options": {
"bahai": "Bahá’í",
"benzhu": "Benzhu",
"buddhist": "Buddhist",
"caodaism": "Caodaist",
"chinese_folk": "Chinese Folk",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and “Vietnamese Folk” read a bit awkward. I wonder if the strings should be nouns rather than adjectives; “Chinese Folk Religion” sounds less awkward.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chinese Folk Religion seems far better but I am not a native speaker

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can make an exception for the particular entries that don’t have a natural adjective form.

"christian": "Christian",
"confucian": "Confucian",
"hindu": "Hindu",
"jain": "Jain",
"jewish": "Jewish",
"multifaith": "Multifaith",
"muslim": "Muslim",
"none": "Nonreligious",
"pagan": "Pagan",
"shinto": "Shinto",
"sikh": "Sikh",
"spiritualist": "Spiritualist",
"taoist": "Taoist",
"tenrikyo": "Tenrikyo",
"unitarian_universalist": "Unitarian Universalist",
"vietnamese_folk": "Vietnamese Folk",
"voodoo": "Voodoo"
}
}
}
45 changes: 45 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2133,6 +2133,51 @@ en:
religion:
# religion=*
label: Religion
options:
# religion=bahai
bahai: Bahá’í
# religion=benzhu
benzhu: Benzhu
# religion=buddhist
buddhist: Buddhist
# religion=caodaism
caodaism: Caodaist
# religion=chinese_folk
chinese_folk: Chinese Folk
# religion=christian
christian: Christian
# religion=confucian
confucian: Confucian
# religion=hindu
hindu: Hindu
# religion=jain
jain: Jain
# religion=jewish
jewish: Jewish
# religion=multifaith
multifaith: Multifaith
# religion=muslim
muslim: Muslim
# religion=none
none: Nonreligious
# religion=pagan
pagan: Pagan
# religion=shinto
shinto: Shinto
# religion=sikh
sikh: Sikh
# religion=spiritualist
spiritualist: Spiritualist
# religion=taoist
taoist: Taoist
# religion=tenrikyo
tenrikyo: Tenrikyo
# religion=unitarian_universalist
unitarian_universalist: Unitarian Universalist
# religion=vietnamese_folk
vietnamese_folk: Vietnamese Folk
# religion=voodoo
voodoo: Voodoo
terms: '[translate with synonyms or related terms for ''Religion'', separated by commas]'
reservation:
# reservation=*
Expand Down