Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
citizen-science
symbai
Commits
d8e5c120
Commit
d8e5c120
authored
May 12, 2014
by
Dave Griffiths
Browse files
full questions in income screen
parent
d547be53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
35 deletions
+58
-35
android/assets/starwisp.scm
android/assets/starwisp.scm
+24
-7
android/assets/translations.scm
android/assets/translations.scm
+18
-14
translations.csv
translations.csv
+16
-14
No files found.
android/assets/starwisp.scm
View file @
d8e5c120
...
@@ -68,7 +68,6 @@
...
@@ -68,7 +68,6 @@
(
define
married-list
'
(
ever-married
currently-married
currently-single
seperated
))
(
define
married-list
'
(
ever-married
currently-married
currently-single
seperated
))
(
define
residence-list
'
(
birthplace
spouse-village
))
(
define
residence-list
'
(
birthplace
spouse-village
))
(
define
gender-list
'
(
male
female
))
(
define
gender-list
'
(
male
female
))
(
define
occupation-list
'
(
agriculture
gathering
labour
cows
fishing
other
))
(
define
house-type-list
'
(
concrete
tin
thatched
other
))
(
define
house-type-list
'
(
concrete
tin
thatched
other
))
(
define
social-types-list
'
(
friendship
knowledge
prestige
))
(
define
social-types-list
'
(
friendship
knowledge
prestige
))
...
@@ -121,7 +120,12 @@
...
@@ -121,7 +120,12 @@
(
ktv
"num-residence-changes"
"int"
0
)
(
ktv
"num-residence-changes"
"int"
0
)
(
ktv
"village-visits-month"
"int"
0
)
(
ktv
"village-visits-month"
"int"
0
)
(
ktv
"village-visits-year"
"int"
0
)
(
ktv
"village-visits-year"
"int"
0
)
(
ktv
"occupation"
"varchar"
""
)
(
ktv
"occupation-agriculture"
"int"
0
)
(
ktv
"occupation-gathering"
"int"
0
)
(
ktv
"occupation-labour"
"int"
0
)
(
ktv
"occupation-cows"
"int"
0
)
(
ktv
"occupation-fishing"
"int"
0
)
(
ktv
"occupation-other"
"varchar"
""
)
(
ktv
"contribute"
"int"
0
)
(
ktv
"contribute"
"int"
0
)
(
ktv
"own-land"
"int"
0
)
(
ktv
"own-land"
"int"
0
)
(
ktv
"rent-land"
"int"
0
)
(
ktv
"rent-land"
"int"
0
)
...
@@ -1090,16 +1094,24 @@
...
@@ -1090,16 +1094,24 @@
(
activity
(
activity
"income"
"income"
(
build-activity
(
build-activity
(
mspinner
'occupation
occupation-list
(
vert
(
lambda
(
v
)
(
entity-set-value!
"occupation"
"varchar"
(
mtitle
'occupation
)
(
spinner-choice
occupation-list
v
))
(
horiz
'
()))
(
mtoggle-button-scale
'occupation-agriculture
(
lambda
(
v
)
(
entity-set-value!
"occupation-agriculture"
"int"
v
)
'
()))
(
mtoggle-button-scale
'occupation-gathering
(
lambda
(
v
)
(
entity-set-value!
"occupation-gathering"
"int"
v
)
'
()))
(
mtoggle-button-scale
'occupation-labour
(
lambda
(
v
)
(
entity-set-value!
"occupation-labour"
"int"
v
)
'
())))
(
horiz
(
mtoggle-button-scale
'occupation-cows
(
lambda
(
v
)
(
entity-set-value!
"occupation-cows"
"int"
v
)
'
()))
(
mtoggle-button-scale
'occupation-fishing
(
lambda
(
v
)
(
entity-set-value!
"occupation-fishing"
"int"
v
)
'
()))
(
medit-text
'occupation-other
"normal"
(
lambda
(
v
)
(
entity-set-value!
"occupation-other"
"varchar"
v
)
'
()))))
(
horiz
(
horiz
(
mtoggle-button-scale
'contribute
(
lambda
(
v
)
(
entity-set-value!
"contribute"
"int"
v
)
'
()))
(
mtoggle-button-scale
'contribute
(
lambda
(
v
)
(
entity-set-value!
"contribute"
"int"
v
)
'
()))
(
mtoggle-button-scale
'own-land
(
lambda
(
v
)
(
entity-set-value!
"own-land"
"int"
v
)
'
())))
(
mtoggle-button-scale
'own-land
(
lambda
(
v
)
(
entity-set-value!
"own-land"
"int"
v
)
'
())))
(
horiz
(
horiz
(
mtoggle-button-scale
'rent-land
(
lambda
(
v
)
(
entity-set-value!
"rent-land"
"int"
v
)
'
()))
(
mtoggle-button-scale
'rent-land
(
lambda
(
v
)
(
entity-set-value!
"rent-land"
"int"
v
)
'
()))
(
mtoggle-button-scale
'hire-land
(
lambda
(
v
)
(
entity-set-value!
"hire-land"
"int"
v
)
'
())))
(
mtoggle-button-scale
'hire-land
(
lambda
(
v
)
(
entity-set-value!
"hire-land"
"int"
v
)
'
())))
(
mtext
'crops-detail
)
(
build-list-widget
(
build-list-widget
db
"sync"
'crops
"crop"
"crop"
(
lambda
()
(
get-current
'individual
#f
))
db
"sync"
'crops
"crop"
"crop"
(
lambda
()
(
get-current
'individual
#f
))
(
lambda
()
crop-ktvlist
))
(
lambda
()
crop-ktvlist
))
...
@@ -1128,7 +1140,12 @@
...
@@ -1128,7 +1140,12 @@
(
mupdate-spinner-other
'house-type
"house-type"
house-type-list
)
(
mupdate-spinner-other
'house-type
"house-type"
house-type-list
)
(
list
(
list
(
update-list-widget
db
"sync"
"crop"
"crop"
(
get-current
'individual
#f
))
(
update-list-widget
db
"sync"
"crop"
"crop"
(
get-current
'individual
#f
))
(
mupdate-spinner
'occupation
"occupation"
occupation-list
)
(
mupdate
'toggle-button
'occupation-agriculture
"occupation-agriculture"
)
(
mupdate
'toggle-button
'occupation-gathering
"occupation-gathering"
)
(
mupdate
'toggle-button
'occupation-labour
"occupation-labour"
)
(
mupdate
'toggle-button
'occupation-cows
"occupation-cows"
)
(
mupdate
'toggle-button
'occupation-fishing
"occupation-fishing"
)
(
mupdate
'edit-text
'occupation-other
"occupation-other"
)
(
mupdate
'toggle-button
'contribute
"contribute"
)
(
mupdate
'toggle-button
'contribute
"contribute"
)
(
mupdate
'toggle-button
'own-land
"own-land"
)
(
mupdate
'toggle-button
'own-land
"own-land"
)
(
mupdate
'toggle-button
'rent-land
"rent-land"
)
(
mupdate
'toggle-button
'rent-land
"rent-land"
)
...
...
android/assets/translations.scm
View file @
d8e5c120
(
define
i18n-text
(
define
i18n-text
(
list
(
list
(
list
'test-num
(
list
"1"
"1"
"1"
""
))
(
list
'test-num
(
list
"1"
"1"
"1"
""
))
(
list
'test-text
(
list
"I am test text"
"I am test text"
"I am test text"
""
))
(
list
'test-text
(
list
"I am test text"
"I am test text"
"I am test text"
""
))
(
list
'one
(
list
"one"
""
))
(
list
'one
(
list
"one"
""
))
...
@@ -163,34 +164,30 @@
...
@@ -163,34 +164,30 @@
(
list
'village-visits-year
(
list
"Number of times you have visited another village in the last year (i.e. betwen last summer and this summer)"
""
))
(
list
'village-visits-year
(
list
"Number of times you have visited another village in the last year (i.e. betwen last summer and this summer)"
""
))
(
list
'occupation
(
list
"Occupation"
""
))
(
list
'occupation
(
list
"Occupation"
""
))
(
list
'occupation
(
list
"Occupation"
""
))
(
list
'occupation
(
list
"Occupation"
""
))
(
list
'agriculture
(
list
"Agriculture"
""
))
(
list
'gathering
(
list
"Gathering"
""
))
(
list
'labour
(
list
"Labour"
""
))
(
list
'cows
(
list
"Cows"
""
))
(
list
'fishing
(
list
"Fishing"
""
))
(
list
'num-people-in-house
(
list
"People living in house"
""
))
(
list
'num-people-in-house
(
list
"People living in house"
""
))
(
list
'contribute
(
list
"Contribute to family earnings?"
""
))
(
list
'contribute
(
list
"Do you contribute to the family earnings?"
""
))
(
list
'own-land
(
list
"Own land?"
""
))
(
list
'own-land
(
list
"Do you own land?"
""
))
(
list
'rent-land
(
list
"Rent out your land?"
""
))
(
list
'rent-land
(
list
"Do you rent out your land?"
""
))
(
list
'hire-land
(
list
"Hire land?"
""
))
(
list
'hire-land
(
list
"Do you hire someone else's land to work on?"
""
))
(
list
'crops-detail
(
list
"List the crops you grew last year:"
))
(
list
'crops
(
list
"Crops"
""
))
(
list
'crops
(
list
"Crops"
""
))
(
list
'unit
(
list
"Unit"
""
))
(
list
'unit
(
list
"Unit"
""
))
(
list
'quantity
(
list
"Quantity"
""
))
(
list
'quantity
(
list
"Quantity"
""
))
(
list
'used-or-eaten
(
list
"Used/Eaten"
""
))
(
list
'used-or-eaten
(
list
"Used/Eaten"
""
))
(
list
'sold
(
list
"Sold"
""
))
(
list
'sold
(
list
"Sold"
""
))
(
list
'seed
(
list
"Seed (hybrid/local)"
""
))
(
list
'seed
(
list
"Seed (hybrid/local)"
""
))
(
list
'house-type
(
list
"
House typ
e"
""
))
(
list
'house-type
(
list
"
Type of hous
e"
""
))
(
list
'concrete
(
list
"Concrete"
""
))
(
list
'concrete
(
list
"Concrete"
""
))
(
list
'tin
(
list
"Tin"
""
))
(
list
'tin
(
list
"Tin"
""
))
(
list
'thatched
(
list
"Thatched"
""
))
(
list
'thatched
(
list
"Thatched"
""
))
(
list
'loan
(
list
"Outstanding loans"
""
))
(
list
'loan
(
list
"Outstanding loans"
""
))
(
list
'earning
(
list
"
O
ne day's
earnings
"
""
))
(
list
'earning
(
list
"
How much do you earn for o
ne day's
labour?
"
""
))
(
list
'in-the-home
(
list
"In the home"
""
))
(
list
'in-the-home
(
list
"In the home"
""
))
(
list
'radio
(
list
"Radio"
""
))
(
list
'radio
(
list
"Radio"
""
))
(
list
'tv
(
list
"TV"
""
))
(
list
'tv
(
list
"TV"
""
))
(
list
'mobile
(
list
"Mobile phone"
""
))
(
list
'mobile
(
list
"Mobile phone"
""
))
(
list
'visit-market
(
list
"
T
ribal market
visits
"
""
))
(
list
'visit-market
(
list
"
How many times do you visit the t
ribal market
?
"
""
))
(
list
'town-sell
(
list
"
T
ow
n or city visits
"
""
))
(
list
'town-sell
(
list
"
H
ow
many times a month do you visit your nearest city or town to buy or sell something?
"
""
))
(
list
'default-crop-name
(
list
"A crop"
""
))
(
list
'default-crop-name
(
list
"A crop"
""
))
(
list
'crop-name
(
list
"Crop name"
""
))
(
list
'crop-name
(
list
"Crop name"
""
))
(
list
'crop-unit
(
list
"Crop unit"
""
))
(
list
'crop-unit
(
list
"Crop unit"
""
))
...
@@ -246,6 +243,13 @@
...
@@ -246,6 +243,13 @@
(
list
'add-are-you-sure
(
list
"Are you sure you want to add this individual?"
))
(
list
'add-are-you-sure
(
list
"Are you sure you want to add this individual?"
))
(
list
'gps-are-you-sure
(
list
"Are you sure you want to record your current position?"
))
(
list
'gps-are-you-sure
(
list
"Are you sure you want to record your current position?"
))
(
list
'gps-are-you-sure-2
(
list
"Please confirm again..."
))
(
list
'gps-are-you-sure-2
(
list
"Please confirm again..."
))
(
list
'
C
urrent-village
(
list
"Your current village"
))
(
list
'
c
urrent-village
(
list
"Your current village"
))
(
list
'num-children
(
list
"Number of children"
))
(
list
'num-children
(
list
"Number of children"
))
(
list
'occupation-agriculture
(
list
"Agriculture"
))
(
list
'occupation-gathering
(
list
"Gathering"
))
(
list
'occupation-labour
(
list
"Labour"
))
(
list
'occupation-cows
(
list
"Cows"
))
(
list
'occupation-fishing
(
list
"Fishing"
))
(
list
'occupation-other
(
list
"Other"
))
))
))
translations.csv
View file @
d8e5c120
...
@@ -160,34 +160,30 @@
...
@@ -160,34 +160,30 @@
"village-visits-year"," Number of times you have visited another village in the last year (i.e. betwen last summer and this summer)"," ",,
"village-visits-year"," Number of times you have visited another village in the last year (i.e. betwen last summer and this summer)"," ",,
"occupation"," Occupation"," ",,
"occupation"," Occupation"," ",,
"occupation"," Occupation"," ",,
"occupation"," Occupation"," ",,
"agriculture"," Agriculture"," ",,
"gathering"," Gathering"," ",,
"labour"," Labour"," ",,
"cows"," Cows"," ",,
"fishing"," Fishing"," ",,
"num-people-in-house"," People living in house"," ",,
"num-people-in-house"," People living in house"," ",,
"contribute"," Contribute to family earnings?"," ",,
"contribute"," Do you contribute to the family earnings?"," ",,
"own-land"," Own land?"," ",,
"own-land"," Do you own land?"," ",,
"rent-land"," Rent out your land?"," ",,
"rent-land"," Do you rent out your land?"," ",,
"hire-land"," Hire land?"," ",,
"hire-land"," Do you hire someone else's land to work on?"," ",,
"crops-detail","List the crops you grew last year:",,,
"crops"," Crops"," ",,
"crops"," Crops"," ",,
"unit"," Unit"," ",,
"unit"," Unit"," ",,
"quantity"," Quantity"," ",,
"quantity"," Quantity"," ",,
"used-or-eaten"," Used/Eaten"," ",,
"used-or-eaten"," Used/Eaten"," ",,
"sold"," Sold"," ",,
"sold"," Sold"," ",,
"seed"," Seed (hybrid/local)"," ",,
"seed"," Seed (hybrid/local)"," ",,
"house-type","
House typ
e"," ",,
"house-type","
Type of hous
e"," ",,
"concrete"," Concrete"," ",,
"concrete"," Concrete"," ",,
"tin"," Tin"," ",,
"tin"," Tin"," ",,
"thatched"," Thatched"," ",,
"thatched"," Thatched"," ",,
"loan"," Outstanding loans"," ",,
"loan"," Outstanding loans"," ",,
"earning","
O
ne day's
earnings
"," ",,
"earning","
How much do you earn for o
ne day's
labour?
"," ",,
"in-the-home"," In the home"," ",,
"in-the-home"," In the home"," ",,
"radio"," Radio"," ",,
"radio"," Radio"," ",,
"tv"," TV"," ",,
"tv"," TV"," ",,
"mobile"," Mobile phone"," ",,
"mobile"," Mobile phone"," ",,
"visit-market","
T
ribal market
visits
"," ",,
"visit-market","
How many times do you visit the t
ribal market
?
"," ",,
"town-sell","
Town or city visits
"," ",,
"town-sell","
How many times a month do you visit your nearest city or town to buy or sell something?
"," ",,
"default-crop-name"," A crop"," ",,
"default-crop-name"," A crop"," ",,
"crop-name"," Crop name"," ",,
"crop-name"," Crop name"," ",,
"crop-unit"," Crop unit"," ",,
"crop-unit"," Crop unit"," ",,
...
@@ -243,5 +239,11 @@
...
@@ -243,5 +239,11 @@
"add-are-you-sure","Are you sure you want to add this individual?",,,
"add-are-you-sure","Are you sure you want to add this individual?",,,
"gps-are-you-sure","Are you sure you want to record your current position?",,,
"gps-are-you-sure","Are you sure you want to record your current position?",,,
"gps-are-you-sure-2","Please confirm again...",,,
"gps-are-you-sure-2","Please confirm again...",,,
"
C
urrent-village","Your current village",,,
"
c
urrent-village","Your current village",,,
"num-children","Number of children",,,
"num-children","Number of children",,,
"occupation-agriculture","Agriculture",,,
"occupation-gathering","Gathering",,,
"occupation-labour","Labour",,,
"occupation-cows","Cows",,,
"occupation-fishing","Fishing",,,
"occupation-other","Other",,,
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment