Skip to content

Commit

Permalink
Add Animism as choice for when asked about the religion of a place (f…
Browse files Browse the repository at this point in the history
…ixes #3063)
  • Loading branch information
westnordost committed Aug 3, 2021
1 parent 7019275 commit b1962f7
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class AddReligionForm : AImageListQuestAnswerFragment<Religion, Religion>() {
// https://en.wikipedia.org/wiki/Chinese_folk_religion
// sorting relatively far up because there are many Chinese expats around the world
Item(CHINESE_FOLK, R.drawable.ic_religion_chinese_folk, R.string.quest_religion_chinese_folk),
Item(ANIMIST, R.drawable.ic_religion_animist, R.string.quest_religion_animist),
Item(BAHAI, R.drawable.ic_religion_bahai, R.string.quest_religion_bahai),
Item(SIKH, R.drawable.ic_religion_sikh, R.string.quest_religion_sikh),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ enum class Religion(val osmValue: String) {
// https://en.wikipedia.org/wiki/Chinese_folk_religion
// sorting relatively far up because there are many Chinese expats around the world
CHINESE_FOLK("chinese_folk"),
// basically the same applies to anything "Animist" because as this is not really one
// religion but a kind of belief. This value was added to accomodate for those spirit houses
// in Thailand, but really, animism is practiced all over the world
ANIMIST("animist"),
BAHAI("bahai"),
SIKH("sikh"),

Expand Down
7 changes: 7 additions & 0 deletions app/src/main/res/drawable/ic_religion_animist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="96dp"
android:height="96dp"
android:viewportWidth="96.0"
android:viewportHeight="96.0">
<!-- empty because there is no proper icon for that... -->
</vector>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ Otherwise, you can download another keyboard in the app store. Popular keyboards
<string name="quest_religion_sikh">Sikh</string>
<string name="quest_religion_jain">Jain</string>
<string name="quest_religion_bahai">Bahá’í Faith</string>
<string name="quest_religion_animist">Animist</string>
<string name="quest_religion_caodaist">Caodaism</string>
<string name="quest_religion_chinese_folk">Chinese folk religion</string>
<string name="quest_religion_for_wayside_shrine_title">What religion is represented at this shrine?</string>
Expand Down
10 changes: 5 additions & 5 deletions res/country_metadata/popularReligions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ GY: [christian, hindu, muslim]
HK: [chinese_folk, taoist, buddhist]
ID: [muslim, christian, hindu, buddhist, chinese_folk]
IL: [jewish, christian, muslim]
IN: [hindu, muslim, christian, buddhist, jain, sikh, bahai]
IN: [hindu, muslim, christian, buddhist, jain, sikh, bahai, animism]
IN-CH: [hindu, sikh]
IN-DL: [hindu, muslim, sikh]
IN-HR: [hindu, muslim, sikh]
IN-PB: [sikh, hindu]
IQ: [muslim]
IR: [muslim, bahai]
JO: [muslim]
JP: [shinto, buddhist]
JP: [shinto, buddhist, animism]
KG: [muslim]
KH: [buddhist, muslim]
KM: [muslim]
KR: [christian, buddhist]
KR: [christian, buddhist, animism]
KW: [muslim]
KZ: [muslim]
LA: [buddhist]
Expand All @@ -57,7 +57,7 @@ NL: [christian, muslim, jewish]
NZ: [christian, hindu, buddhist]
NP: [hindu, buddhist]
OM: [muslim]
PK: [muslim, hindu, christian]
PK: [muslim, hindu, christian, animism]
PS: [muslim, jewish]
PT: [christian, jewish, muslim]
QA: [muslim]
Expand All @@ -70,7 +70,7 @@ SO: [muslim]
SR: [christian, hindu, muslim]
SY: [muslim]
TD: [muslim]
TH: [buddhist, muslim, chinese_folk, taoist]
TH: [buddhist, animism, muslim, chinese_folk, taoist]
TJ: [muslim]
TM: [muslim]
TN: [muslim]
Expand Down

0 comments on commit b1962f7

Please sign in to comment.