diff --git a/android/assets/dbsync.scm b/android/assets/dbsync.scm index 0855e3ba63a4c26c0b2b644f518c1789c9fcd1bc..3907a3e5c6662ead0379ba5c6ea933094eafde72 100644 --- a/android/assets/dbsync.scm +++ b/android/assets/dbsync.scm @@ -107,19 +107,21 @@ (msg "INCORRECT TYPE FOR" key ":" type ":" value)) (let ((existing-type (ktv-get-type (get-current 'entity-values '()) key))) - (if (equal? existing-type type) - (set-current! - 'entity-values - (ktv-set - (get-current 'entity-values '()) - (ktv key type value))) - ;; - (begin - (msg "entity-set-value! - adding new " key "of type" type "to entity") - (entity-add-value-create! key type value))) - ;; save straight to local db every time - (entity-update-single-value! (list key type value)) - )) + (cond + ((equal? existing-type type) + ;; save straight to local db every time (checks for modification) + (entity-update-single-value! (list key type value)) + ;; then save to memory + (set-current! + 'entity-values + (ktv-set + (get-current 'entity-values '()) + (ktv key type value)))) + ;; + (else + (msg "entity-set-value! - adding new " key "of type" type "to entity") + (entity-add-value-create! key type value)) + ))) (define (date-time->string dt) @@ -179,6 +181,8 @@ (table (get-current 'table #f)) (unique-id (ktv-get (get-current 'entity-values '()) "unique_id"))) (cond + ((ktv-eq? (ktv-get-whole (get-current 'entity-values '()) (ktv-key ktv)) ktv) + (msg "eusv: no change for" (ktv-key ktv))) (unique-id (update-entity db table (entity-id-from-unique db table unique-id) (list ktv))) (else @@ -595,7 +599,7 @@ (vert (text-view (symbol->id id) (mtext-lookup id) - 30 (layout 'wrap-content 'wrap-content 1 'centre 10)) + 30 (layout 'wrap-content 'wrap-content 1 'centre 0)) (spinner (make-id (string-append (symbol->string id) "-spinner")) (map mtext-lookup types) (layout 'wrap-content 'wrap-content 1 'centre 0) diff --git a/android/assets/starwisp.scm b/android/assets/starwisp.scm index a776c59cfc2a240069454f9213ec64a064f762c0..41801f9a69e5ccfd262c2b17bec70797efebf89f 100644 --- a/android/assets/starwisp.scm +++ b/android/assets/starwisp.scm @@ -19,7 +19,7 @@ ;; colours (msg "starting up....") -(define entity-types (list "village" "household" "individual")) +(define entity-types (list "village" "household" "individual" "child" "crop")) (define trans-col (list 0 0 0 0)) (define colour-one (list 0 0 255 100)) @@ -62,18 +62,19 @@ ;;(display (db-all db "local" "app-settings"))(newline) -(define tribes-list '(khasi other)) -(define subtribe-list '(khynriam pnar bhoi war other)) -(define education-list '(primary middle high secondary university)) -(define married-list '(currently-married currently-single seperated)) -(define residence-list '(birthplace spouse-village)) -(define gender-list '(male female)) -(define house-type-list '(concrete tin thatched other)) +(define tribes-list '(not-set khasi other no-answered)) +(define subtribe-list '(not-set khynriam pnar bhoi war other not-answered)) +(define education-list '(not-set primary middle high secondary university not-answered)) +(define married-list '(not-set currently-married currently-single seperated not-answered)) +(define residence-list '(not-set birthplace spouse-village not-answered)) +(define gender-list '(not-set male female not-answered)) +(define house-type-list '(not-set concrete tin thatched other not-answered)) +(define yesno-list '(not-set yes no not-answered)) (define social-types-list '(knowledge prestige)) -(define social-relationship-list '(mother father sister brother spouse children co-wife spouse-mother spouse-father spouse-brother-wife spouse-sister-husband friend neighbour other)) -(define social-residence-list '(same other)) -(define social-strength-list '(daily weekly monthly less)) +(define social-relationship-list '(not-set mother father sister brother spouse children co-wife spouse-mother spouse-father spouse-brother-wife spouse-sister-husband friend neighbour other not-answered)) +(define social-residence-list '(not-set same other not-answered)) +(define social-strength-list '(not-set daily weekly monthly less not-answered)) (define village-ktvlist (list @@ -103,20 +104,22 @@ (define individual-ktvlist (list + (ktv "edit-history" "varchar" "") + (ktv "social-edit-history" "varchar" "") (ktv "name" "varchar" "") (ktv "first-name" "varchar" "") (ktv "family" "varchar" "") (ktv "photo-id" "varchar" "") (ktv "photo" "file" "") - (ktv "tribe" "varchar" "") - (ktv "subtribe" "varchar" "") + (ktv "tribe" "varchar" "not-set") + (ktv "subtribe" "varchar" "not-set") (ktv "child" "int" -1) (ktv "age" "int" -1) - (ktv "gender" "varchar" "") - (ktv "literate" "int" 0) - (ktv "education" "varchar" "") + (ktv "gender" "varchar" "not-set") + (ktv "literate" "varchar" "not-set") + (ktv "education" "varchar" "not-set") (ktv "head-of-house" "varchar" "") - (ktv "marital-status" "varchar" "") + (ktv "marital-status" "varchar" "not-set") (ktv "times-married" "int" -1) (ktv "id-spouse" "varchar" "") (ktv "children-living" "int" -1) @@ -131,22 +134,22 @@ (ktv "num-residence-changes" "int" -1) (ktv "village-visits-month" "int" -1) (ktv "village-visits-year" "int" -1) - (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-agriculture" "varchar" "not-set") + (ktv "occupation-gathering" "varchar" "not-set") + (ktv "occupation-labour" "varchar" "not-set") + (ktv "occupation-cows" "varchar" "not-set") + (ktv "occupation-fishing" "varchar" "not-set") (ktv "occupation-other" "varchar" "") - (ktv "contribute" "int" 0) - (ktv "own-land" "int" 0) - (ktv "rent-land" "int" 0) - (ktv "hire-land" "int" 0) - (ktv "house-type" "varchar" "") + (ktv "contribute" "varchar" "not-set") + (ktv "own-land" "varchar" "not-set") + (ktv "rent-land" "varchar" "not-set") + (ktv "hire-land" "varchar" "not-set") + (ktv "house-type" "varchar" "not-set") (ktv "loan" "int" -1) (ktv "earning" "int" -1) - (ktv "radio" "int" 0) - (ktv "tv" "int" 0) - (ktv "mobile" "int" 0) + (ktv "radio" "varchar" "not-set") + (ktv "tv" "varchar" "not-set") + (ktv "mobile" "varchar" "not-set") (ktv "visit-market" "int" -1) (ktv "town-sell" "int" -1) (ktv "social-one" "varchar" "") @@ -212,10 +215,10 @@ (define child-ktvlist (list (ktv "name" "varchar" (mtext-lookup 'default-child-name)) - (ktv "alive" "int" 1) - (ktv "gender" "varchar" "") + (ktv "alive" "varchar" "varchar" "not-set") + (ktv "gender" "varchar" "not-set") (ktv "age" "int" -1) - (ktv "living-at-home" "int" 0))) + (ktv "living-at-home" "varchar" "not-set"))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -228,6 +231,50 @@ (update-widget 'debug-text-view (get-id "sync-debug") 'text (get-current 'debug-text ""))) + +;; return last element from comma seperated list +(define (history-get-last txt) + (let ((l (string-split txt '(#\,)))) + (if (null? l) "" + (car (reverse l))))) + +(define (contains-social? ktv-list) + (foldl + (lambda (ktv r) + (if (and + (not r) + (> (string-length (ktv-key ktv)) 5) + (or + (equal? (substring (ktv-key ktv) 0 6) "friend") + (equal? (substring (ktv-key ktv) 0 6) "social"))) + #t r)) + #f ktv-list)) + +(define (update-edit-history db table user-id) + ;; get dirty individual entities + (let ((de (db-select + db (string-append + "select entity_id from " + table "_entity where dirty=1 and entity_type='individual';")))) + (when (not (null? de)) + (for-each + (lambda (i) + (msg i) + (let* ((entity-id (vector-ref i 0)) + (dirty-items (dbg (get-entity-plain-for-sync db table entity-id)))) + (when (not (null? dirty-items)) + ;; check if social change + (let ((type (if (contains-social? dirty-items) "social-edit-history" "edit-history"))) + ;; check if last editor is different + (let ((editors (car (get-value db table entity-id (list type "varchar"))))) + (when (or (equal? editors "") (not (equal? (history-get-last editors) user-id))) + ;; append user id + (msg "history - setting" type) + (if (equal? editors "") + (update-value db table entity-id (ktv type "varchar" (dbg user-id))) + (update-value db table entity-id (ktv type "varchar" (dbg (string-append editors "," user-id))))))))))) + (cdr de))))) + (define (debug-timer-cb) (alog "debug timer cb") (append @@ -242,6 +289,7 @@ (lambda () (msg "connected, going in...") (alog "got here...") + (update-edit-history db "sync" (get-current 'user-id "no id")) (append (list (toast "Syncing")) (upload-dirty db) @@ -1045,20 +1093,23 @@ (spacer 20) (mtext 'photo-id-display) )) - (mbutton 'agreement-button (lambda () (list (start-activity "agreement" 0 "")))) + (mtext 'last-editor) (horiz - (mbutton-scale 'details-button (lambda () (list (start-activity "details" 0 "")))) - (mbutton-scale 'family-button (lambda () (list (start-activity "family" 0 ""))))) + (mbutton-scale 'agreement-button (lambda () (list (start-activity "agreement" 0 "")))) + (mbutton-scale 'details-button (lambda () (list (start-activity "details" 0 ""))))) (horiz - (mbutton-scale 'migration-button (lambda () (list (start-activity "migration" 0 "")))) - (mbutton-scale 'income-button (lambda () (list (start-activity "income" 0 ""))))) + (mbutton-scale 'family-button (lambda () (list (start-activity "family" 0 "")))) + (mbutton-scale 'migration-button (lambda () (list (start-activity "migration" 0 ""))))) (horiz - (mbutton-scale 'genealogy-button (lambda () (list (start-activity "genealogy" 0 "")))) - (mbutton-scale 'friendship-button (lambda () (list (start-activity "friendship" 0 ""))))) + (mbutton-scale 'income-button (lambda () (list (start-activity "income" 0 "")))) + (mbutton-scale 'genealogy-button (lambda () (list (start-activity "genealogy" 0 ""))))) + (spacer 20) + (mtext 'last-social-editor) (horiz - (mbutton-scale 'social-button (lambda () (list (start-activity "social" 0 "")))) - (mbutton-scale 'move-button (lambda () (list (start-activity "move" 0 ""))))) + (mbutton-scale 'friendship-button (lambda () (list (start-activity "friendship" 0 "")))) + (mbutton-scale 'social-button (lambda () (list (start-activity "social" 0 ""))))) (spacer 20) + (mbutton-scale 'move-button (lambda () (list (start-activity "move" 0 "")))) (delete-button)) (lambda (activity arg) @@ -1070,6 +1121,10 @@ (append (update-top-bar) (list + (update-widget 'text-view (get-id "last-editor") 'text + (string-append "Last edit by " (history-get-last (entity-get-value "edit-history")))) + (update-widget 'text-view (get-id "last-social-editor") 'text + (string-append "Last edit by " (history-get-last (entity-get-value "social-edit-history")))) (mupdate 'text-view 'name-display "name") (mupdate 'text-view 'first-name-display "first-name") (mupdate 'text-view 'family-display "family") @@ -1106,7 +1161,8 @@ (medit-text 'age "numeric" (lambda (v) (entity-set-value! "age" "int" (string->number v)) '())) (mspinner 'gender gender-list (lambda (v) (entity-set-value! "gender" "varchar" (spinner-choice gender-list v)) '()))) (horiz - (mtoggle-button-scale 'literate (lambda (v) (entity-set-value! "literate" "int" v) '())) + (mspinner 'literate yesno-list (lambda (v) (entity-set-value! "literate" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner 'education education-list (lambda (v) (entity-set-value! "education" "varchar" @@ -1129,7 +1185,7 @@ (mupdate 'image-view 'photo "photo") (mupdate 'edit-text 'age "age") (mupdate-spinner 'gender "gender" gender-list) - (mupdate 'toggle-button 'literate "literate") + (mupdate-spinner 'literate "literate" yesno-list) (mupdate-spinner 'education "education" education-list) ))) (lambda (activity) '()) @@ -1289,20 +1345,20 @@ (vert (mtitle 'occupation) (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) '()))) + (mspinner 'occupation-agriculture yesno-list (lambda (v) (entity-set-value! "occupation-agriculture" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner 'occupation-gathering yesno-list (lambda (v) (entity-set-value! "occupation-gathering" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner 'occupation-labour yesno-list (lambda (v) (entity-set-value! "occupation-labour" "varchar" (spinner-choice yesno-list 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) '())) + (mspinner 'occupation-cows yesno-list (lambda (v) (entity-set-value! "occupation-cows" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner 'occupation-fishing yesno-list (lambda (v) (entity-set-value! "occupation-fishing" "varchar" (spinner-choice yesno-list v)) '())) (medit-text 'occupation-other "normal" (lambda (v) (entity-set-value! "occupation-other" "varchar" v) '())))) (horiz - (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) '()))) + (mspinner 'contribute yesno-list (lambda (v) (entity-set-value! "contribute" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner 'own-land yesno-list (lambda (v) (entity-set-value! "own-land" "varchar" (spinner-choice yesno-list v)) '()))) (horiz - (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) '()))) + (mspinner 'rent-land yesno-list (lambda (v) (entity-set-value! "rend-land" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner 'hire-land yesno-list (lambda (v) (entity-set-value! "hire-land" "varchar" (spinner-choice yesno-list v)) '()))) (mtext 'crops-detail) (build-list-widget db "sync" 'crops "crop" "crop" (lambda () (get-current 'individual #f)) @@ -1314,9 +1370,9 @@ (medit-text 'earning "numeric" (lambda (v) (entity-set-value! "earning" "int" (string->number v)) '()))) (mtext 'in-the-home) (horiz - (mtoggle-button-scale 'radio (lambda (v) (entity-set-value! "radio" "int" v) '())) - (mtoggle-button-scale 'tv (lambda (v) (entity-set-value! "tv" "int" v) '())) - (mtoggle-button-scale 'mobile (lambda (v) (entity-set-value! "mobile" "int" v) '()))) + (mspinner 'radio yesno-list (lambda (v) (entity-set-value! "radio" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner 'tv yesno-list (lambda (v) (entity-set-value! "tv" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner 'mobile yesno-list (lambda (v) (entity-set-value! "mobile" "varchar" (spinner-choice yesno-list v)) '()))) (horiz (medit-text 'visit-market "numeric" (lambda (v) (entity-set-value! "visit-market" "int" (string->number v)) '())) (medit-text 'town-sell "numeric" (lambda (v) (entity-set-value! "town-sell" "int" (string->number v)) '()))) @@ -1334,21 +1390,21 @@ (mupdate-spinner-other 'house-type "house-type" house-type-list) (list (update-list-widget db "sync" "crop" "crop" (get-current 'individual #f)) - (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-spinner 'occupation-agriculture "occupation-agriculture" yesno-list) + (mupdate-spinner 'occupation-gathering "occupation-gathering" yesno-list) + (mupdate-spinner 'occupation-labour "occupation-labour" yesno-list) + (mupdate-spinner 'occupation-cows "occupation-cows" yesno-list) + (mupdate-spinner 'occupation-fishing "occupation-fishing" yesno-list) (mupdate 'edit-text 'occupation-other "occupation-other") - (mupdate 'toggle-button 'contribute "contribute") - (mupdate 'toggle-button 'own-land "own-land") - (mupdate 'toggle-button 'rent-land "rent-land") - (mupdate 'toggle-button 'hire-land "hire-land") - (mupdate 'edit-text 'loan "loan") + (mupdate-spinner 'contribute "contribute" yesno-list) + (mupdate-spinner 'own-land "own-land" yesno-list) + (mupdate-spinner 'rent-land "rent-land" yesno-list) + (mupdate-spinner 'hire-land "hire-land" yesno-list) + (mupdate 'edit-text 'loan "loan" ) (mupdate 'edit-text 'earning "earning") - (mupdate 'toggle-button 'radio "radio") - (mupdate 'toggle-button 'tv "tv") - (mupdate 'toggle-button 'mobile "mobile") + (mupdate-spinner 'radio "radio" yesno-list) + (mupdate-spinner 'tv "tv" yesno-list) + (mupdate-spinner 'mobile "mobile" yesno-list) (mupdate 'edit-text 'visit-market "visit-market") (mupdate 'edit-text 'town-sell "town-sell")))) (lambda (activity) '()) @@ -1398,8 +1454,8 @@ (mspinner 'child-gender gender-list (lambda (v) (entity-set-value! "gender" "varchar" (spinner-choice gender-list v)) '())) (medit-text 'child-age "numeric" (lambda (v) (entity-set-value! "age" "int" (string->number v)) '()))) (horiz - (mtoggle-button-scale 'child-alive (lambda (v) (entity-set-value! "alive" "int" v) '())) - (mtoggle-button-scale 'child-home (lambda (v) (entity-set-value! "living-at-home" "int" v) '()))) + (mspinner-other 'child-alive yesno-list (lambda (v) (entity-set-value! "alive" "varchar" (spinner-choice yesno-list v)) '())) + (mspinner-other 'child-home yesno-list (lambda (v) (entity-set-value! "living-at-home" "varchar" (spinner-choice yesno-list v)) '()))) (delete-button))) (lambda (activity arg) (activity-layout activity)) @@ -1413,8 +1469,8 @@ (mupdate 'edit-text 'child-name "name") (mupdate-spinner 'child-gender "gender" gender-list) (mupdate 'edit-text 'child-age "age") - (mupdate 'toggle-button 'child-alive "alive") - (mupdate 'toggle-button 'child-home "living-at-home") + (mupdate-spinner 'child-alive "alive" yesno-list) + (mupdate-spnner 'child-home "living-at-home" yesno-list) ))) (lambda (activity) '()) @@ -1673,6 +1729,10 @@ "getting-db" "http://192.168.2.1:8889/symbai.db" (string-append "/sdcard/symbai/symbai.db")) + (http-download + "getting-log" + "http://192.168.2.1:8889/log.txt" + (string-append "/sdcard/symbai/server-log.txt")) ) entity-types) (list)))) @@ -1683,8 +1743,10 @@ (send-mail "" "From Symbai" "Please find attached your data" - (cons - "/sdcard/symbai/symbai.db" + (append + (list + "/sdcard/symbai/symbai.db" + "/sdcard/symbai/server-log.txt") (map (lambda (e) (string-append "/sdcard/symbai/" e ".csv")) diff --git a/android/assets/translations.csv b/android/assets/translations.csv index fd6af2c3e98bade8f2003f6f737be567ea0dcd75..b067ab1bf3c346017d7d75dfe46711551b3bc991 100644 --- a/android/assets/translations.csv +++ b/android/assets/translations.csv @@ -1,223 +1,266 @@ -test-num,1,1,1, -test-text, I am test text, I am test text, I am test text, -one, one, ,, -two, two, ,, -three, three, ,, -village, Village, ,, -household, Household, ,, -households, Households, ,, -individual, Individual, ,, -individuals, Individuals, ,, -add-item-to-list,0, ,, -default-village-name, New village, ,, -title, Symbai, Symbai, Symbai, -sync, Sync, Sync, Sync, -languages, Choose language, Choose language, Choose language, -english, English, English, English, -khasi, Khasi, Khasi, Khasi, -hindi, Hindi, Hindi, Hindi, -user-id, Your user ID, User ID, User ID, -save, Save, Save, Save, -back, Back, Back, Back, -off, Off, Off, Off, -villages, Villages, Villages, Villages, -list-empty, List empty, ,, -delete, Delete, ,, -delete-are-you-sure, Are you sure you want to delete this?, ,, -save-are-you-sure, Are you sure you want to save changes?, ,, -quick-name, New person name, ,, -quick-add, Quick add, ,, -find-individual, Find individual, ,, -filter, Filter, ,, -off, Off, Off, Off, -name, Name, ,, -sync-all, Sync me!, ,, -sync-syncall, Sync everything, ,, -export-data, Exporting data, ,, -sync-download, Download main DB, ,, -sync-export, Email main DB, ,, -email-local, Email local DB, ,, -debug, Debug, ,, -sync-back, Back, ,, -sync-prof, Profile, ,, -village-name, Village name, Village name, Village name, -block, Block, Block, Block, -district, District, District, District, -car, Accessible by car, ,, -household-list, Household list, ,, -amenities, Amenities, ,, -school, School, ,, -present, Present, ,, -closest-access, Closest place of access, ,, -house-gps, GPS, ,, -toilet-gps, GPS, ,, -school, School, ,, -school-closest-access, Closest access, ,, -school-gps, GPS, ,, -hospital, Hospital/Health care centre, ,, -hospital-closest-access, Closest access, ,, -hospital-gps, GPS, ,, -post-office, Post Office, ,, -post-office-closest-access, Closest access, ,, -post-office-gps, GPS, ,, -railway-station, Railway station, ,, -railway-station-closest-access, Closest access, ,, -railway-station-gps, GPS, ,, -state-bus-service, Inter-state bus service, ,, -state-bus-service-closest-access, Closest access, ,, -state-bus-service-gps, GPS, ,, -district-bus-service, Inter-village/district bus service, ,, -district-bus-service-closest-access, Closest access, ,, -district-bus-service-gps, GPS, ,, -panchayat, Village Panchayat Office, ,, -panchayat-closest-access, Closest access, ,, -panchayat-gps, GPS, ,, -NGO, Presence of NGO's working with them, ,, -NGO-closest-access, Closest access, ,, -NGO-gps, GPS, ,, -market, Market, ,, -market-closest-access, Closest access, ,, -market-gps, GPS, ,, -household-name, Household name, ,, -default-household-name, A household, ,, -location, House location, ,, -elevation, Elevation, ,, -toilet-location, Toilet location, ,, -children, Children, ,, -male, Male, ,, -female, Female, ,, -num-pots, Number of pots, ,, -adults, Adults, ,, -add-individual, Add individual, ,, -default-individual-name, A person, ,, -default-family-name, A family, ,, -default-photo-id, ???, ,, -name-display, Name, ,, -photo-id-display, Photo ID, ,, -family-display, Family, ,, -details-button, Details, ,, -family-button, Family, ,, -migration-button, Migration, ,, -income-button, Income, ,, -geneaology-button, Geneaology, ,, -social-button, Social, ,, -agreement-button, Agreement, ,, -is-a-child, Child, ,, -change-photo, Change photo, ,, -details-name, Name, ,, -details-photo-id, Photo ID, ,, -details-family, Family, ,, -tribe, Tribe, ,, -sub-tribe, Sub tribe, ,, -khasi, Khasi, ,, -khynriam, Khynriam, ,, -pnar, Pnar, ,, -bhoi, Bhoi, ,, -war, War, ,, -other, Other, ,, -age, Age, ,, -gender, Gender, ,, -education, Education, ,, -illiterate, Illiterate, ,, -literate, Literate, ,, -primary, Primary 1-5, ,, -middle, Middle 6-8, ,, -high, High 9-10, ,, -secondary, Higher Secondary, ,, -university, University, ,, -spouse, Spouse, ,, -change-id, Change, ,, -head-of-house, Head of house, ,, -marital-status, Marital status, ,, -ever-married, Ever married, ,, -currently-married, Currently married, ,, -currently-single, Currently single, ,, -seperated, Seperated/divorced, ,, -times-married, How many times married, ,, -change-spouse, Change/add spouse, ,, -children-living, Living, ,, -children-dead, Dead, ,, -children-together, Living together, ,, -children-apart, Living apart, ,, -residence-after-marriage, Residence after marriage, ,, -birthplace, Birthplace, ,, -spouse-village, Spouses natal village, ,, -num-siblings, Number of living siblings of the same sex born from same mother, ,, -birth-order, Birth order amoung currently living same sex siblings born from same mother, ,, -length-time, Length of time lived in this village (years), ,, -place-of-birth, Place of birth, ,, -num-residence-changes, Number of time place of residence changed since birth, ,, -village-visits-month, Number of times you have visited another village in the last month, ,, -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, ,, -agriculture, Agriculture, ,, -gathering, Gathering, ,, -labour, Labour, ,, -cows, Cows, ,, -fishing, Fishing, ,, -num-people-in-house, People living in house, ,, -contribute, Contribute to family earnings?, ,, -own-land, Own land?, ,, -rent-land, Rent out your land?, ,, -hire-land, Hire land?, ,, -crops, Crops, ,, -unit, Unit, ,, -quantity, Quantity, ,, -used-or-eaten, Used/Eaten, ,, -sold, Sold, ,, -seed, Seed (hybrid/local), ,, -house-type, House type, ,, -concrete, Concrete, ,, -tin, Tin, ,, -thatched, Thatched, ,, -loan, Outstanding loans, ,, -earning, One day's earnings, ,, -in-the-home, In the home, ,, -radio, Radio, ,, -tv, TV, ,, -mobile, Mobile phone, ,, -visit-market, Tribal market visits, ,, -town-sell, Town or city visits, ,, -default-crop-name, A crop, ,, -crop-name, Crop name, ,, -crop-unit, Crop unit, ,, -crop-used, Used or eaten, ,, -crop-sold, Sold, ,, -crop-seed, Seed, ,, -mother, Mother, ,, -father, Father, ,, -change-mother, Change mother, ,, -change-father, Change father, ,, -alive, Alive, ,, -sex, Sex, ,, -social-type, Type, ,, -friendship, Friendship, ,, -knowledge, Knowledge, ,, -prestige, Prestige, ,, -social-one, One, ,, -social-two, Two, ,, -social-three, Three, ,, -social-four, Four, ,, -social-five, Five, ,, -social-relationship, Relationship, ,, -social-residence, Residence, ,, -social-strength, Strength, ,, -mother, Mother, ,, -father, Father, ,, -sister, Sister, ,, -brother, Brother, ,, -spouse, Spouse, ,, -children, Children, ,, -co-wife, Co-wife, ,, -spouse-mother, Spouse's mother, ,, -spouse-father, Spouse's father, ,, -spouse-brother-wife, Spouse's brother's wife, ,, -spouse-sister-husband, Spouse's sister's husband, ,, -friend, Friend, ,, -neighbour, Neighbour, ,, -same, Same, ,, -daily, Daily, ,, -weekly, Weekly, ,, -monthly, Monthly, ,, -less, Less, ,, +"Code (don't change these)","English","Khasi","Hindi", +"start","Symbai",,, +"next","Next",,, +"yes","Yes",,, +"no","No",,, +"unanswered","Unanswered",,, +"not-set","Not set",,, +"details-next","Next",,, +"family-next","Next",,, +"migration-next","Next",,, +"income-next","Next",,, +"gene-next","Next",,, +"social-next","Next",,, +"friendship-next","Next",,, +"agreement-next","Next",,, +"village"," Village"," ",, +"household"," Household"," ",, +"households"," Households"," ",, +"individual"," Individual"," ",, +"individuals"," Individuals"," ",, +"add-item-to-list",0," ",, +"default-village-name"," New village"," ",, +"title"," Symbai"," Symbai"," Symbai"," " +"sync"," Sync"," Sync"," Sync"," " +"languages"," Choose language"," Choose language"," Choose language"," " +"english"," English"," English"," English"," " +"khasi"," Khasi"," Khasi"," Khasi"," " +"hindi"," Hindi"," Hindi"," Hindi"," " +"user-id"," User ID"," User ID"," User ID"," " +"save"," Save"," Save"," Save"," " +"back"," Back"," Back"," Back"," " +"off"," Off"," Off"," Off"," " +"villages"," Villages"," Villages"," Villages"," " +"list-empty"," List empty"," ",, +"delete"," Delete"," ",, +"delete-are-you-sure"," Are you sure you want to delete this?"," ",, +"save-are-you-sure"," Are you sure you want to save changes?"," ",, +"quick-name"," New person name"," ",, +"quick-add"," Quick add"," ",, +"find-individual"," Find individual"," ",, +"filter"," Filter"," ",, +"filter-switch","Run filter",,, +"off"," Off"," Off"," Off"," " +"name"," Name","Kyrteng",, +"sync-all"," Sync me!"," ",, +"sync-syncall"," Sync everything"," ",, +"export-data"," Exporting data"," ",, +"sync-download"," Download main DB"," ",, +"sync-export"," Email main DB"," ",, +"email-local"," Email local DB"," ",, +"debug"," Debug"," ",, +"sync-back"," Back"," ",, +"sync-prof"," Profile"," ",, +"village-name"," Village name"," Village name"," Village name"," " +"block"," Block"," Block"," Block"," " +"district"," District"," District"," District"," " +"car"," Accessible by car"," ",, +"household-list"," Household list"," ",, +"amenities"," Amenities"," ",, +"school"," School"," ",, +"present"," Present"," ",, +"closest-access"," Closest place of access"," ",, +"house-gps"," GPS"," ",, +"toilet-gps"," GPS"," ",, +"school-in-village","In Village",,, +"school"," School"," ",, +"school-closest-access"," Closest access"," ",, +"school-gps"," GPS"," ",, +"hospital-in-village","In Village",,, +"hospital"," Hospital/Health care centre"," ",, +"hospital-closest-access"," Closest access"," ",, +"hospital-gps"," GPS"," ",, +"Post-office-in-village","In Village",,, +"post-office"," Post Office"," ",, +"post-office-closest-access"," Closest access"," ",, +"post-office-gps"," GPS"," ",, +"railway-station-in-village","In Village",,, +"railway-station"," Railway station"," ",, +"railway-station-closest-access"," Closest access"," ",, +"railway-station-gps"," GPS"," ",, +"State-bus-service-in-village","In Village",,, +"state-bus-service"," Inter-state bus service"," ",, +"state-bus-service-closest-access"," Closest access"," ",, +"state-bus-service-gps"," GPS"," ",, +"District-bus-service-in-village","In Village",,, +"district-bus-service"," Inter-village/district bus service"," ",, +"district-bus-service-closest-access"," Closest access"," ",, +"district-bus-service-gps"," GPS"," ",, +"Panchayat-in-village","In Village",,, +"panchayat"," Village Panchayat Office"," ",, +"panchayat-closest-access"," Closest access"," ",, +"panchayat-gps"," GPS"," ",, +"NGO-in-village","In Village",,, +"NGO"," Presence of NGO's working with them"," ",, +"NGO-closest-access"," Closest access"," ",, +"NGO-gps"," GPS"," ",, +"market-in-village","In Village",,, +"market"," Market"," ",, +"market-closest-access"," Closest access"," ",, +"market-gps"," GPS"," ",, +"household-name"," Household name"," ",, +"default-household-name"," A household"," ",, +"location"," House location"," ",, +"elevation"," Elevation"," ",, +"toilet-location"," Toilet location"," ",, +"children"," Children"," ",, +"male"," Male","Shynrang",, +"female"," Female","Kynthei",, +"num-pots"," Number of pots"," ",, +"adults"," Adults"," ",, +"add-individual"," Add individual"," ",, +"default-individual-name"," A person"," ",, +"default-family-name"," A family"," ",, +"default-photo-id"," ???"," ",, +"name-display"," Name","Kyrteng",, +"photo-id-display"," Photo ID","Nombor dur ID",, +"family-display"," Family","Family/Clan",, +"details-button"," Details"," ",, +"family-button"," Family","Family/Clan",, +"migration-button"," Migration"," ",, +"friendship-button","Friendship",,, +"income-button"," Income"," ",, +"genealogy-button"," Genealogy"," ",, +"social-button"," Social"," ",, +"agreement-button"," Agreement"," ",, +"is-a-child"," Child"," ",, +"change-photo"," Change photo"," ",, +"details-name"," Name","Kyrteng",, +"details-first-name","Name","Kyrteng",, +"details-photo-id"," Photo ID","Nombor dur ID",, +"details-family"," Family"," ",, +"tribe"," Tribe","Jaidbynriew:",, +"sub-tribe"," Sub tribe","Tynrai Jaidbynriew",, +"khasi"," Khasi"," ",, +"khynriam"," Khynriam"," ",, +"pnar"," Pnar"," ",, +"bhoi"," Bhoi"," ",, +"war"," War"," ",, +"other"," Other"," ",, +"age"," Age","Ka rta",, +"gender"," Gender","U/ka",, +"education"," Education","Jingpule",, +"illiterate"," Illiterate","Bym Nang/Bymstad",, +"literate"," Literate","Lah Nang/Lahtip",, +"primary"," Primary 1-5","Biang 1-5",, +"middle"," Middle 6-8","Ba Pdeng 6-8",, +"high"," High 9-10","Lah Khamstad 9-10",, +"secondary"," Higher Secondary","Lah stad",, +"university"," University","La pyndep university",, +"spouse"," Spouse"," ",, +"change-id"," Change"," ",, +"head-of-house"," Head of house"," ",, +"marital-status"," Marital status"," ",, +"ever-married"," Ever married"," ",, +"currently-married"," Currently married"," ",, +"currently-single"," Currently single"," ",, +"seperated"," Seperated/divorced"," ",, +"times-married"," How many times married"," ",, +"change-spouse"," Change/add spouse"," ",, +"children-living"," Living"," ",, +"children-dead"," Dead"," ",, +"children-together"," Living together"," ",, +"children-apart"," Living apart"," ",, +"residence-after-marriage"," Residence after marriage"," ",, +"birthplace"," Birthplace"," ",, +"spouse-village"," Spouses natal village"," ",, +"num-siblings"," Number of living siblings of the same sex born from same mother"," ",, +"birth-order"," Birth order amoung currently living same sex siblings born from same mother"," ",, +"length-time"," Length of time lived in this village (years)"," ",, +"place-of-birth"," Place of birth"," ",, +"num-residence-changes"," Number of time place of residence changed since birth"," ",, +"village-visits-month"," Number of times you have visited another village in the last month"," ",, +"village-visits-year"," Number of times you have visited another village in the last year (i.e. between last summer and this summer)"," ",, +"occupation"," Occupation"," ",, +"occupation"," Occupation"," ",, +"num-people-in-house"," People living in house"," ",, +"contribute"," Do you contribute to the family earnings?"," ",, +"own-land"," Do you own land?"," ",, +"rent-land"," Do you rent out your land?"," ",, +"hire-land"," Do you hire someone else's land to work on?"," ",, +"crops-detail","List the crops you grew last year:",,, +"crops"," Crops"," ",, +"unit"," Unit"," ",, +"quantity"," Quantity"," ",, +"used-or-eaten"," Used/Eaten"," ",, +"sold"," Sold"," ",, +"seed"," Seed (hybrid/local)"," ",, +"house-type"," Type of house"," ",, +"concrete"," Concrete"," ",, +"tin"," Tin"," ",, +"thatched"," Thatched"," ",, +"loan"," Outstanding loans"," ",, +"earning"," How much do you earn for one day's labour?"," ",, +"in-the-home"," In the home"," ",, +"radio"," Radio"," ",, +"tv"," TV"," ",, +"mobile"," Mobile phone"," ",, +"visit-market"," How many times do you visit the tribal market?"," ",, +"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"," ",, +"crop-name"," Crop name"," ",, +"crop-unit"," Crop unit"," ",, +"crop-used"," Used or eaten"," ",, +"crop-sold"," Sold"," ",, +"crop-seed"," Seed"," ",, +"mother"," Mother"," ",, +"father"," Father"," ",, +"change-mother"," Change mother"," ",, +"change-father"," Change father"," ",, +"alive"," Alive"," ",, +"sex"," Sex"," ",, +"social-type"," Type"," ",, +"friendship"," Friendship"," ",, +"knowledge"," Knowledge"," ",, +"prestige"," Prestige"," ",, +"social-one"," One"," ",, +"social-two"," Two"," ",, +"social-three"," Three"," ",, +"social-four"," Four"," ",, +"social-five"," Five"," ",, +"social-nickname","Name",,, +"social-relationship"," Relation"," ",, +"social-residence"," Residence"," ",, +"social-strength"," Strength"," ",, +"mother"," Mother"," ",, +"father"," Father"," ",, +"sister"," Sister"," ",, +"brother"," Brother"," ",, +"spouse"," Spouse"," ",, +"children"," Children"," ",, +"co-wife"," Co-wife"," ",, +"spouse-mother"," Spouse's mother"," ",, +"spouse-father"," Spouse's father"," ",, +"spouse-brother-wife"," Spouse's brother's wife"," ",, +"spouse-sister-husband"," Spouse's sister's husband"," ",, +"friend"," Friend"," ",, +"neighbour"," Neighbour"," ",, +"same"," Same"," ",, +"daily"," Daily"," ",, +"weekly"," Weekly"," ",, +"monthly"," Monthly"," ",, +"less"," Less"," ",, +"child-name","Name",,, +"child-gender","Gender",,, +"child-age","Age",,, +"child-home","Lives at home",,, +"child-alive","Alive",,, +"default-child-name","A child",,, +"move-button","Move household",,, +"move-household","Pick a new household",,, +"house-id","House ID",,, +"photo-id","Photo ID",,, +"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-2","Please confirm again...",,, +"current-village","Your current village",,, +"num-children","Number of children",,, +"occupation-agriculture","Agriculture",,, +"occupation-gathering","Gathering",,, +"occupation-labour","Labour",,, +"occupation-cows","Cows",,, +"occupation-fishing","Fishing",,, +"occupation-other","Other",,, +"friendship-question","LIST UP TO FIVE PERSONS whom you have really liked to talk to in the last year. They can be of either sex. They can be friends, neighbours, relatives, co-wives; they can live in this village or elsewhere; anyone you like to talk to. ",,, +"prestige-question","LIST UP TO FIVE PERSONS who you think are the most respected in the village: ",,, +"knowledge-question","LIST UP TO FIVE PERSONS who you think are the most knowledgeable in the village:",,, diff --git a/android/assets/translations.scm b/android/assets/translations.scm index 01e78a9e1d817319a0d9baddef06ecd7c9076de9..c70688e160cdeca598f2810f54d34f447180ff81 100644 --- a/android/assets/translations.scm +++ b/android/assets/translations.scm @@ -1,268 +1,268 @@ (define i18n-text (list -(list 'test-num (list "1" "1" "1" "" )) -(list 'test-text (list "I am test text" "I am test text" "I am test text" "" )) -(list 'one (list "one" "" )) -(list 'two (list "two" "" )) -(list 'start (list "Symbai" "")) -(list 'three (list "three" "" )) -(list 'details-next (list "Next" )) -(list 'family-next (list "Next" )) -(list 'migration-next (list "Next" )) -(list 'income-next (list "Next" )) -(list 'gene-next (list "Next" )) -(list 'social-next (list "Next" )) -(list 'friendship-next (list "Next" )) -(list 'agreement-next (list "Next" )) -(list 'village (list "Village" "" )) -(list 'household (list "Household" "" )) -(list 'households (list "Households" "" )) -(list 'individual (list "Individual" "" )) -(list 'individuals (list "Individuals" "" )) -(list 'add-item-to-list (list "+" "" )) -(list 'default-village-name (list "New village" "" )) -(list 'title (list "Symbai" "Symbai" "Symbai" "" )) -(list 'sync (list "Sync" "Sync" "Sync" "" )) -(list 'languages (list "Choose language" "Choose language" "Choose language" "" )) -(list 'english (list "English" "English" "English" "" )) -(list 'khasi (list "Khasi" "Khasi" "Khasi" "" )) -(list 'hindi (list "Hindi" "Hindi" "Hindi" "" )) -(list 'user-id (list "User ID" "User ID" "User ID" "" )) -(list 'save (list "Save" "Save" "Save" "" )) -(list 'back (list "Back" "Back" "Back" "" )) -(list 'off (list "Off" "Off" "Off" "" )) -(list 'villages (list "Villages" "Villages" "Villages" "" )) -(list 'list-empty (list "List empty" "" )) -(list 'delete (list "Delete" "" )) -(list 'delete-are-you-sure (list "Are you sure you want to delete this?" "" )) -(list 'save-are-you-sure (list "Are you sure you want to save changes?" "" )) -(list 'quick-name (list "New person name" "" )) -(list 'quick-add (list "Quick add" "" )) -(list 'find-individual (list "Find individual" "" )) -(list 'filter (list "Filter" "" )) -(list 'filter-switch (list "Run filter" "")) -(list 'off (list "Off" "Off" "Off" "" )) -(list 'name (list "Name" "Kyrteng" )) -(list 'sync-all (list "Sync me!" "" )) -(list 'sync-syncall (list "Sync everything" "" )) -(list 'export-data (list "Exporting data" "" )) -(list 'sync-download (list "Download main DB" "" )) -(list 'sync-export (list "Email main DB" "" )) -(list 'email-local (list "Email local DB" "" )) -(list 'debug (list "Debug" "" )) -(list 'sync-back (list "Back" "" )) -(list 'sync-prof (list "Profile" "" )) -(list 'village-name (list "Village name" "Village name" "Village name" "" )) -(list 'block (list "Block" "Block" "Block" "" )) -(list 'district (list "District" "District" "District" "" )) -(list 'car (list "Accessible by car" "" )) -(list 'household-list (list "Household list" "" )) -(list 'amenities (list "Amenities" "" )) -(list 'school (list "School" "" )) -(list 'present (list "Present" "" )) -(list 'closest-access (list "Closest place of access" "" )) -(list 'house-gps (list "GPS" "" )) -(list 'toilet-gps (list "GPS" "" )) -(list 'school-in-village (list "In Village" )) -(list 'school (list "School" "" )) -(list 'school-closest-access (list "Closest access" "" )) -(list 'school-gps (list "GPS" "" )) -(list 'hospital-in-village (list "In Village" )) -(list 'hospital (list "Hospital/Health care centre" "" )) -(list 'hospital-closest-access (list "Closest access" "" )) -(list 'hospital-gps (list "GPS" "" )) -(list 'Post-office-in-village (list "In Village" )) -(list 'post-office (list "Post Office" "" )) -(list 'post-office-closest-access (list "Closest access" "" )) -(list 'post-office-gps (list "GPS" "" )) -(list 'railway-station-in-village (list "In Village" )) -(list 'railway-station (list "Railway station" "" )) -(list 'railway-station-closest-access (list "Closest access" "" )) -(list 'railway-station-gps (list "GPS" "" )) -(list 'State-bus-service-in-village (list "In Village" )) -(list 'state-bus-service (list "Inter-state bus service" "" )) -(list 'state-bus-service-closest-access (list "Closest access" "" )) -(list 'state-bus-service-gps (list "GPS" "" )) -(list 'District-bus-service-in-village (list "In Village" )) -(list 'district-bus-service (list "Inter-village/district bus service" "" )) -(list 'district-bus-service-closest-access (list "Closest access" "" )) -(list 'district-bus-service-gps (list "GPS" "" )) -(list 'Panchayat-in-village (list "In Village" )) -(list 'panchayat (list "Village Panchayat Office" "" )) -(list 'panchayat-closest-access (list "Closest access" "" )) -(list 'panchayat-gps (list "GPS" "" )) -(list 'NGO-in-village (list "In Village" )) -(list 'NGO (list "Presence of NGO's working with them" "" )) -(list 'NGO-closest-access (list "Closest access" "" )) -(list 'NGO-gps (list "GPS" "" )) -(list 'market-in-village (list "In Village" )) -(list 'market (list "Market" "" )) -(list 'market-closest-access (list "Closest access" "" )) -(list 'market-gps (list "GPS" "" )) -(list 'household-name (list "Household name" "" )) -(list 'default-household-name (list "A household" "" )) -(list 'location (list "House location" "" )) -(list 'elevation (list "Elevation" "" )) -(list 'toilet-location (list "Toilet location" "" )) -(list 'children (list "Children" "" )) -(list 'male (list "Male" "Shynrang" )) -(list 'female (list "Female" "Kynthei" )) -(list 'num-pots (list "Number of pots" "" )) -(list 'adults (list "Adults" "" )) -(list 'add-individual (list "Add individual" "" )) -(list 'default-individual-name (list "A person" "" )) -(list 'default-family-name (list "A family" "" )) -(list 'default-photo-id (list "???" "" )) -(list 'name-display (list "Name" "Kyrteng" )) -(list 'photo-id-display (list "Photo ID" "Nombor dur ID" )) -(list 'family-display (list "Family" "Family/Clan" )) -(list 'details-button (list "Details" "" )) -(list 'family-button (list "Family" "Family/Clan" )) -(list 'migration-button (list "Migration" "" )) -(list 'friendship-button (list "Friendship" )) -(list 'income-button (list "Income" "" )) -(list 'genealogy-button (list "Genealogy" "" )) -(list 'social-button (list "Social" "" )) -(list 'agreement-button (list "Agreement" "" )) -(list 'is-a-child (list "Child" "" )) -(list 'change-photo (list "Change photo" "" )) -(list 'details-name (list "Name" "Kyrteng" )) -(list 'details-first-name (list "Name" "Kyrteng" )) -(list 'details-photo-id (list "Photo ID" "Nombor dur ID" )) -(list 'details-family (list "Family" "" )) -(list 'tribe (list "Tribe" "Jaidbynriew:" )) -(list 'sub-tribe (list "Sub tribe" "Tynrai Jaidbynriew" )) -(list 'khasi (list "Khasi" "" )) -(list 'khynriam (list "Khynriam" "" )) -(list 'pnar (list "Pnar" "" )) -(list 'bhoi (list "Bhoi" "" )) -(list 'war (list "War" "" )) -(list 'other (list "Other" "" )) -(list 'age (list "Age" "Ka rta" )) -(list 'gender (list "Gender" "U/ka" )) -(list 'education (list "Education" "Jingpule" )) -(list 'illiterate (list "Illiterate" "Bym Nang/Bymstad" )) -(list 'literate (list "Literate" "Lah Nang/Lahtip" )) -(list 'primary (list "Primary 1-5" "Biang 1-5" )) -(list 'middle (list "Middle 6-8" "Ba Pdeng 6-8" )) -(list 'high (list "High 9-10" "Lah Khamstad 9-10" )) -(list 'secondary (list "Higher Secondary" "Lah stad" )) -(list 'university (list "University" "La pyndep university" )) -(list 'spouse (list "Spouse" "" )) -(list 'change-id (list "Change" "" )) -(list 'head-of-house (list "Head of house" "" )) -(list 'marital-status (list "Marital status" "" )) -(list 'ever-married (list "Ever married" "" )) -(list 'currently-married (list "Currently married" "" )) -(list 'currently-single (list "Currently single" "" )) -(list 'seperated (list "Seperated/divorced" "" )) -(list 'times-married (list "How many times married" "" )) -(list 'change-spouse (list "Change/add spouse" "" )) -(list 'children-living (list "Living" "" )) -(list 'children-dead (list "Dead" "" )) -(list 'children-together (list "Living together" "" )) -(list 'children-apart (list "Living apart" "" )) -(list 'residence-after-marriage (list "Residence after marriage" "" )) -(list 'birthplace (list "Birthplace" "" )) -(list 'spouse-village (list "Spouses natal village" "" )) -(list 'num-siblings (list "Number of living siblings of the same sex born from same mother" "" )) -(list 'birth-order (list "Birth order amoung currently living same sex siblings born from same mother" "" )) -(list 'length-time (list "Length of time lived in this village (years)" "" )) -(list 'place-of-birth (list "Place of birth" "" )) -(list 'num-residence-changes (list "Number of time place of residence changed since birth" "" )) -(list 'village-visits-month (list "Number of times you have visited another village in the last month" "" )) -(list 'village-visits-year (list "Number of times you have visited another village in the last year (i.e. between last summer and this summer)" "" )) -(list 'occupation (list "Occupation" "" )) -(list 'occupation (list "Occupation" "" )) -(list 'num-people-in-house (list "People living in house" "" )) -(list 'contribute (list "Do you contribute to the family earnings?" "" )) -(list 'own-land (list "Do you own land?" "" )) -(list 'rent-land (list "Do you rent out your 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 'unit (list "Unit" "" )) -(list 'quantity (list "Quantity" "" )) -(list 'used-or-eaten (list "Used/Eaten" "" )) -(list 'sold (list "Sold" "" )) -(list 'seed (list "Seed (hybrid/local)" "" )) -(list 'house-type (list "Type of house" "" )) -(list 'concrete (list "Concrete" "" )) -(list 'tin (list "Tin" "" )) -(list 'thatched (list "Thatched" "" )) -(list 'loan (list "Outstanding loans" "" )) -(list 'earning (list "How much do you earn for one day's labour?" "" )) -(list 'in-the-home (list "In the home" "" )) -(list 'radio (list "Radio" "" )) -(list 'tv (list "TV" "" )) -(list 'mobile (list "Mobile phone" "" )) -(list 'visit-market (list "How many times do you visit the tribal market?" "" )) -(list 'town-sell (list "How 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 'crop-name (list "Crop name" "" )) -(list 'crop-unit (list "Crop unit" "" )) -(list 'crop-used (list "Used or eaten" "" )) -(list 'crop-sold (list "Sold" "" )) -(list 'crop-seed (list "Seed" "" )) -(list 'mother (list "Mother" "" )) -(list 'father (list "Father" "" )) -(list 'change-mother (list "Change mother" "" )) -(list 'change-father (list "Change father" "" )) -(list 'alive (list "Alive" "" )) -(list 'sex (list "Sex" "" )) -(list 'social-type (list "Type" "" )) -(list 'friendship (list "Friendship" "" )) -(list 'knowledge (list "Knowledge" "" )) -(list 'prestige (list "Prestige" "" )) -(list 'social-one (list "One" "" )) -(list 'social-two (list "Two" "" )) -(list 'social-three (list "Three" "" )) -(list 'social-four (list "Four" "" )) -(list 'social-five (list "Five" "" )) -(list 'social-nickname (list "Name" )) -(list 'social-relationship (list "Relation" "" )) -(list 'social-residence (list "Residence" "" )) -(list 'social-strength (list "Strength" "" )) -(list 'mother (list "Mother" "" )) -(list 'father (list "Father" "" )) -(list 'sister (list "Sister" "" )) -(list 'brother (list "Brother" "" )) -(list 'spouse (list "Spouse" "" )) -(list 'children (list "Children" "" )) -(list 'co-wife (list "Co-wife" "" )) -(list 'spouse-mother (list "Spouse's mother" "" )) -(list 'spouse-father (list "Spouse's father" "" )) -(list 'spouse-brother-wife (list "Spouse's brother's wife" "" )) -(list 'spouse-sister-husband (list "Spouse's sister's husband" "" )) -(list 'friend (list "Friend" "" )) -(list 'neighbour (list "Neighbour" "" )) -(list 'same (list "Same" "" )) -(list 'daily (list "Daily" "" )) -(list 'weekly (list "Weekly" "" )) -(list 'monthly (list "Monthly" "" )) -(list 'less (list "Less" "" )) -(list 'child-name (list "Name" )) -(list 'child-gender (list "Gender" )) -(list 'child-age (list "Age" )) -(list 'child-home (list "Lives at home" )) -(list 'child-alive (list "Alive" )) -(list 'default-child-name (list "A child" )) -(list 'move-button (list "Move household" )) -(list 'move-household (list "Pick a new household" )) -(list 'house-id (list "House ID" )) -(list 'photo-id (list "Photo ID" )) -(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-2 (list "Please confirm again..." )) -(list 'current-village (list "Your current village" )) -(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" )) -(list 'friendship-question (list "LIST UP TO FIVE PERSONS whom you have really liked to talk to in the last year. They can be of either sex. They can be friends, neighbours, relatives, co-wives; they can live in this village or elsewhere; anyone you like to talk to." "" )) -(list 'prestige-question (list "LIST UP TO FIVE PERSONS who you think are the most respected in the village:" )) -(list 'knowledge-question (list "LIST UP TO FIVE PERSONS who you think are the most knowledgeable in the village:" )) -)) + (list 'start (list "Symbai" )) + (list 'next (list "Next" )) + (list 'yes (list "Yes" )) + (list 'no (list "No" )) + (list 'not-answered (list "Unanswered" )) + (list 'not-set (list "Not set" )) + (list 'details-next (list "Next" )) + (list 'family-next (list "Next" )) + (list 'migration-next (list "Next" )) + (list 'income-next (list "Next" )) + (list 'gene-next (list "Next" )) + (list 'social-next (list "Next" )) + (list 'friendship-next (list "Next" )) + (list 'agreement-next (list "Next" )) + (list 'village (list "Village" "" )) + (list 'household (list "Household" "" )) + (list 'households (list "Households" "" )) + (list 'individual (list "Individual" "" )) + (list 'individuals (list "Individuals" "" )) + (list 'add-item-to-list (list "0" "" )) + (list 'default-village-name (list "New village" "" )) + (list 'title (list "Symbai" "Symbai" "Symbai" "" )) + (list 'sync (list "Sync" "Sync" "Sync" "" )) + (list 'languages (list "Choose language" "Choose language" "Choose language" "" )) + (list 'english (list "English" "English" "English" "" )) + (list 'khasi (list "Khasi" "Khasi" "Khasi" "" )) + (list 'hindi (list "Hindi" "Hindi" "Hindi" "" )) + (list 'user-id (list "User ID" "User ID" "User ID" "" )) + (list 'save (list "Save" "Save" "Save" "" )) + (list 'back (list "Back" "Back" "Back" "" )) + (list 'off (list "Off" "Off" "Off" "" )) + (list 'villages (list "Villages" "Villages" "Villages" "" )) + (list 'list-empty (list "List empty" "" )) + (list 'delete (list "Delete" "" )) + (list 'delete-are-you-sure (list "Are you sure you want to delete this?" "" )) + (list 'save-are-you-sure (list "Are you sure you want to save changes?" "" )) + (list 'quick-name (list "New person name" "" )) + (list 'quick-add (list "Quick add" "" )) + (list 'find-individual (list "Find individual" "" )) + (list 'filter (list "Filter" "" )) + (list 'filter-switch (list "Run filter" )) + (list 'off (list "Off" "Off" "Off" "" )) + (list 'name (list "Name" "Kyrteng" )) + (list 'sync-all (list "Sync me!" "" )) + (list 'sync-syncall (list "Sync everything" "" )) + (list 'export-data (list "Exporting data" "" )) + (list 'sync-download (list "Download main DB" "" )) + (list 'sync-export (list "Email main DB" "" )) + (list 'email-local (list "Email local DB" "" )) + (list 'debug (list "Debug" "" )) + (list 'sync-back (list "Back" "" )) + (list 'sync-prof (list "Profile" "" )) + (list 'village-name (list "Village name" "Village name" "Village name" "" )) + (list 'block (list "Block" "Block" "Block" "" )) + (list 'district (list "District" "District" "District" "" )) + (list 'car (list "Accessible by car" "" )) + (list 'household-list (list "Household list" "" )) + (list 'amenities (list "Amenities" "" )) + (list 'school (list "School" "" )) + (list 'present (list "Present" "" )) + (list 'closest-access (list "Closest place of access" "" )) + (list 'house-gps (list "GPS" "" )) + (list 'toilet-gps (list "GPS" "" )) + (list 'school-in-village (list "In Village" )) + (list 'school (list "School" "" )) + (list 'school-closest-access (list "Closest access" "" )) + (list 'school-gps (list "GPS" "" )) + (list 'hospital-in-village (list "In Village" )) + (list 'hospital (list "Hospital/Health care centre" "" )) + (list 'hospital-closest-access (list "Closest access" "" )) + (list 'hospital-gps (list "GPS" "" )) + (list 'Post-office-in-village (list "In Village" )) + (list 'post-office (list "Post Office" "" )) + (list 'post-office-closest-access (list "Closest access" "" )) + (list 'post-office-gps (list "GPS" "" )) + (list 'railway-station-in-village (list "In Village" )) + (list 'railway-station (list "Railway station" "" )) + (list 'railway-station-closest-access (list "Closest access" "" )) + (list 'railway-station-gps (list "GPS" "" )) + (list 'State-bus-service-in-village (list "In Village" )) + (list 'state-bus-service (list "Inter-state bus service" "" )) + (list 'state-bus-service-closest-access (list "Closest access" "" )) + (list 'state-bus-service-gps (list "GPS" "" )) + (list 'District-bus-service-in-village (list "In Village" )) + (list 'district-bus-service (list "Inter-village/district bus service" "" )) + (list 'district-bus-service-closest-access (list "Closest access" "" )) + (list 'district-bus-service-gps (list "GPS" "" )) + (list 'Panchayat-in-village (list "In Village" )) + (list 'panchayat (list "Village Panchayat Office" "" )) + (list 'panchayat-closest-access (list "Closest access" "" )) + (list 'panchayat-gps (list "GPS" "" )) + (list 'NGO-in-village (list "In Village" )) + (list 'NGO (list "Presence of NGO's working with them" "" )) + (list 'NGO-closest-access (list "Closest access" "" )) + (list 'NGO-gps (list "GPS" "" )) + (list 'market-in-village (list "In Village" )) + (list 'market (list "Market" "" )) + (list 'market-closest-access (list "Closest access" "" )) + (list 'market-gps (list "GPS" "" )) + (list 'household-name (list "Household name" "" )) + (list 'default-household-name (list "A household" "" )) + (list 'location (list "House location" "" )) + (list 'elevation (list "Elevation" "" )) + (list 'toilet-location (list "Toilet location" "" )) + (list 'children (list "Children" "" )) + (list 'male (list "Male" "Shynrang" )) + (list 'female (list "Female" "Kynthei" )) + (list 'num-pots (list "Number of pots" "" )) + (list 'adults (list "Adults" "" )) + (list 'add-individual (list "Add individual" "" )) + (list 'default-individual-name (list "A person" "" )) + (list 'default-family-name (list "A family" "" )) + (list 'default-photo-id (list "???" "" )) + (list 'name-display (list "Name" "Kyrteng" )) + (list 'photo-id-display (list "Photo ID" "Nombor dur ID" )) + (list 'family-display (list "Family" "Family/Clan" )) + (list 'details-button (list "Details" "" )) + (list 'family-button (list "Family" "Family/Clan" )) + (list 'migration-button (list "Migration" "" )) + (list 'friendship-button (list "Friendship" )) + (list 'income-button (list "Income" "" )) + (list 'genealogy-button (list "Genealogy" "" )) + (list 'social-button (list "Social" "" )) + (list 'agreement-button (list "Agreement" "" )) + (list 'is-a-child (list "Child" "" )) + (list 'change-photo (list "Change photo" "" )) + (list 'details-name (list "Name" "Kyrteng" )) + (list 'details-first-name (list "Name" "Kyrteng" )) + (list 'details-photo-id (list "Photo ID" "Nombor dur ID" )) + (list 'details-family (list "Family" "" )) + (list 'tribe (list "Tribe" "Jaidbynriew:" )) + (list 'sub-tribe (list "Sub tribe" "Tynrai Jaidbynriew" )) + (list 'khasi (list "Khasi" "" )) + (list 'khynriam (list "Khynriam" "" )) + (list 'pnar (list "Pnar" "" )) + (list 'bhoi (list "Bhoi" "" )) + (list 'war (list "War" "" )) + (list 'other (list "Other" "" )) + (list 'age (list "Age" "Ka rta" )) + (list 'gender (list "Gender" "U/ka" )) + (list 'education (list "Education" "Jingpule" )) + (list 'illiterate (list "Illiterate" "Bym Nang/Bymstad" )) + (list 'literate (list "Literate" "Lah Nang/Lahtip" )) + (list 'primary (list "Primary 1-5" "Biang 1-5" )) + (list 'middle (list "Middle 6-8" "Ba Pdeng 6-8" )) + (list 'high (list "High 9-10" "Lah Khamstad 9-10" )) + (list 'secondary (list "Higher Secondary" "Lah stad" )) + (list 'university (list "University" "La pyndep university" )) + (list 'spouse (list "Spouse" "" )) + (list 'change-id (list "Change" "" )) + (list 'head-of-house (list "Head of house" "" )) + (list 'marital-status (list "Marital status" "" )) + (list 'ever-married (list "Ever married" "" )) + (list 'currently-married (list "Currently married" "" )) + (list 'currently-single (list "Currently single" "" )) + (list 'seperated (list "Seperated/divorced" "" )) + (list 'times-married (list "How many times married" "" )) + (list 'change-spouse (list "Change/add spouse" "" )) + (list 'children-living (list "Living" "" )) + (list 'children-dead (list "Dead" "" )) + (list 'children-together (list "Living together" "" )) + (list 'children-apart (list "Living apart" "" )) + (list 'residence-after-marriage (list "Residence after marriage" "" )) + (list 'birthplace (list "Birthplace" "" )) + (list 'spouse-village (list "Spouses natal village" "" )) + (list 'num-siblings (list "Number of living siblings of the same sex born from same mother" "" )) + (list 'birth-order (list "Birth order amoung currently living same sex siblings born from same mother" "" )) + (list 'length-time (list "Length of time lived in this village (years)" "" )) + (list 'place-of-birth (list "Place of birth" "" )) + (list 'num-residence-changes (list "Number of time place of residence changed since birth" "" )) + (list 'village-visits-month (list "Number of times you have visited another village in the last month" "" )) + (list 'village-visits-year (list "Number of times you have visited another village in the last year (i.e. between last summer and this summer)" "" )) + (list 'occupation (list "Occupation" "" )) + (list 'occupation (list "Occupation" "" )) + (list 'num-people-in-house (list "People living in house" "" )) + (list 'contribute (list "Do you contribute to the family earnings?" "" )) + (list 'own-land (list "Do you own land?" "" )) + (list 'rent-land (list "Do you rent out your 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 'unit (list "Unit" "" )) + (list 'quantity (list "Quantity" "" )) + (list 'used-or-eaten (list "Used/Eaten" "" )) + (list 'sold (list "Sold" "" )) + (list 'seed (list "Seed (hybrid/local)" "" )) + (list 'house-type (list "Type of house" "" )) + (list 'concrete (list "Concrete" "" )) + (list 'tin (list "Tin" "" )) + (list 'thatched (list "Thatched" "" )) + (list 'loan (list "Outstanding loans" "" )) + (list 'earning (list "How much do you earn for one day's labour?" "" )) + (list 'in-the-home (list "In the home" "" )) + (list 'radio (list "Radio" "" )) + (list 'tv (list "TV" "" )) + (list 'mobile (list "Mobile phone" "" )) + (list 'visit-market (list "How many times do you visit the tribal market?" "" )) + (list 'town-sell (list "How 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 'crop-name (list "Crop name" "" )) + (list 'crop-unit (list "Crop unit" "" )) + (list 'crop-used (list "Used or eaten" "" )) + (list 'crop-sold (list "Sold" "" )) + (list 'crop-seed (list "Seed" "" )) + (list 'mother (list "Mother" "" )) + (list 'father (list "Father" "" )) + (list 'change-mother (list "Change mother" "" )) + (list 'change-father (list "Change father" "" )) + (list 'alive (list "Alive" "" )) + (list 'sex (list "Sex" "" )) + (list 'social-type (list "Type" "" )) + (list 'friendship (list "Friendship" "" )) + (list 'knowledge (list "Knowledge" "" )) + (list 'prestige (list "Prestige" "" )) + (list 'social-one (list "One" "" )) + (list 'social-two (list "Two" "" )) + (list 'social-three (list "Three" "" )) + (list 'social-four (list "Four" "" )) + (list 'social-five (list "Five" "" )) + (list 'social-nickname (list "Name" )) + (list 'social-relationship (list "Relation" "" )) + (list 'social-residence (list "Residence" "" )) + (list 'social-strength (list "Strength" "" )) + (list 'mother (list "Mother" "" )) + (list 'father (list "Father" "" )) + (list 'sister (list "Sister" "" )) + (list 'brother (list "Brother" "" )) + (list 'spouse (list "Spouse" "" )) + (list 'children (list "Children" "" )) + (list 'co-wife (list "Co-wife" "" )) + (list 'spouse-mother (list "Spouse's mother" "" )) + (list 'spouse-father (list "Spouse's father" "" )) + (list 'spouse-brother-wife (list "Spouse's brother's wife" "" )) + (list 'spouse-sister-husband (list "Spouse's sister's husband" "" )) + (list 'friend (list "Friend" "" )) + (list 'neighbour (list "Neighbour" "" )) + (list 'same (list "Same" "" )) + (list 'daily (list "Daily" "" )) + (list 'weekly (list "Weekly" "" )) + (list 'monthly (list "Monthly" "" )) + (list 'less (list "Less" "" )) + (list 'child-name (list "Name" )) + (list 'child-gender (list "Gender" )) + (list 'child-age (list "Age" )) + (list 'child-home (list "Lives at home" )) + (list 'child-alive (list "Alive" )) + (list 'default-child-name (list "A child" )) + (list 'move-button (list "Move household" )) + (list 'move-household (list "Pick a new household" )) + (list 'house-id (list "House ID" )) + (list 'photo-id (list "Photo ID" )) + (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-2 (list "Please confirm again..." )) + (list 'current-village (list "Your current village" )) + (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" )) + (list 'friendship-question (list "LIST UP TO FIVE PERSONS whom you have really liked to talk to in the last year. They can be of either sex. They can be friend, neighbours, relatives, co-wives; they can live in this village or elsewhere; anyone you like to talk to." "" )) + (list 'prestige-question (list "LIST UP TO FIVE PERSONS who you think are the most respected in the village:" )) + (list 'knowledge-question (list "LIST UP TO FIVE PERSONS who you think are the most knowledgeable in the village:" )) + )) diff --git a/eavdb/entity-values.ss b/eavdb/entity-values.ss index bae832c29d5b7750b5e4fe0f6cc1638b583efc7d..0b219f2e67a949270e46e427e9199a08c7e8e45d 100644 --- a/eavdb/entity-values.ss +++ b/eavdb/entity-values.ss @@ -114,8 +114,8 @@ " where entity_id = ? and attribute_id = ?") entity-id (ktv-key kt)))) (if (null? s) '() - (list (vector-ref (cadr s) 0) - (vector-ref (cadr s) 1))))) + (list (vector-ref (cadr s) 0) + (vector-ref (cadr s) 1))))) (define (clean-value db table entity-id kt) (db-exec db (string-append "update " table "_value_" (ktv-type kt) diff --git a/eavdb/ktv-list.ss b/eavdb/ktv-list.ss index aa5dad404080ca198684eeb1fb02f72199f1d5e4..a7a3303004ee3f9e44395640c46790f417a5ef7e 100644 --- a/eavdb/ktv-list.ss +++ b/eavdb/ktv-list.ss @@ -25,6 +25,13 @@ (ktv-value (car ktv-list))) (else (ktv-get (cdr ktv-list) key)))) +(define (ktv-get-whole ktv-list key) + (cond + ((null? ktv-list) #f) + ((equal? (ktv-key (car ktv-list)) key) + (car ktv-list)) + (else (ktv-get-whole (cdr ktv-list) key)))) + (define (ktv-get-type ktv-list key) (cond ((null? ktv-list) #f) diff --git a/translations.csv b/translations.csv index 2ea3c4fbf3696ef89bf152f1395c11b429cbde66..90917f87f855547bd8c82cd0f25f4227423f603b 100644 --- a/translations.csv +++ b/translations.csv @@ -1,267 +1,266 @@ -Code (don't change these) English Khasi Hindi -test-num 1 1 1 -test-text I am test text I am test text I am test text -one one -two two -three three -start Symbai -next Next -details-next Next -family-next Next -migration-next Next -income-next Next -gene-next Next -social-next Next -friendship-next Next -agreement-next Next -village Village -household Household -households Households -individual Individual -individuals Individuals -add-item-to-list 0 -default-village-name New village -title Symbai Symbai Symbai -sync Sync Sync Sync -languages Choose language Choose language Choose language -english English English English -khasi Khasi Khasi Khasi -hindi Hindi Hindi Hindi -user-id User ID User ID User ID -save Save Save Save -back Back Back Back -off Off Off Off -villages Villages Villages Villages -list-empty List empty -delete Delete -delete-are-you-sure Are you sure you want to delete this? -save-are-you-sure Are you sure you want to save changes? -quick-name New person name -quick-add Quick add -find-individual Find individual -filter Filter -filter-switch Run filter -off Off Off Off -name Name Kyrteng -sync-all Sync me! -sync-syncall Sync everything -export-data Exporting data -sync-download Download main DB -sync-export Email main DB -email-local Email local DB -debug Debug -sync-back Back -sync-prof Profile -village-name Village name Village name Village name -block Block Block Block -district District District District -car Accessible by car -household-list Household list -amenities Amenities -school School -present Present -closest-access Closest place of access -house-gps GPS -toilet-gps GPS -school-in-village In Village -school School -school-closest-access Closest access -school-gps GPS -hospital-in-village In Village -hospital Hospital/Health care centre -hospital-closest-access Closest access -hospital-gps GPS -Post-office-in-village In Village -post-office Post Office -post-office-closest-access Closest access -post-office-gps GPS -railway-station-in-village In Village -railway-station Railway station -railway-station-closest-access Closest access -railway-station-gps GPS -State-bus-service-in-village In Village -state-bus-service Inter-state bus service -state-bus-service-closest-access Closest access -state-bus-service-gps GPS -District-bus-service-in-village In Village -district-bus-service Inter-village/district bus service -district-bus-service-closest-access Closest access -district-bus-service-gps GPS -Panchayat-in-village In Village -panchayat Village Panchayat Office -panchayat-closest-access Closest access -panchayat-gps GPS -NGO-in-village In Village -NGO Presence of NGO's working with them -NGO-closest-access Closest access -NGO-gps GPS -market-in-village In Village -market Market -market-closest-access Closest access -market-gps GPS -household-name Household name -default-household-name A household -location House location -elevation Elevation -toilet-location Toilet location -children Children -male Male Shynrang -female Female Kynthei -num-pots Number of pots -adults Adults -add-individual Add individual -default-individual-name A person -default-family-name A family -default-photo-id ??? -name-display Name Kyrteng -photo-id-display Photo ID Nombor dur ID -family-display Family Family/Clan -details-button Details -family-button Family Family/Clan -migration-button Migration -friendship-button Friendship -income-button Income -genealogy-button Genealogy -social-button Social -agreement-button Agreement -is-a-child Child -change-photo Change photo -details-name Name Kyrteng -details-first-name Name Kyrteng -details-photo-id Photo ID Nombor dur ID -details-family Family -tribe Tribe Jaidbynriew: -sub-tribe Sub tribe Tynrai Jaidbynriew -khasi Khasi -khynriam Khynriam -pnar Pnar -bhoi Bhoi -war War -other Other -age Age Ka rta -gender Gender U/ka -education Education Jingpule -illiterate Illiterate Bym Nang/Bymstad -literate Literate Lah Nang/Lahtip -primary Primary 1-5 Biang 1-5 -middle Middle 6-8 Ba Pdeng 6-8 -high High 9-10 Lah Khamstad 9-10 -secondary Higher Secondary Lah stad -university University La pyndep university -spouse Spouse -change-id Change -head-of-house Head of house -marital-status Marital status -ever-married Ever married -currently-married Currently married -currently-single Currently single -seperated Seperated/divorced -times-married How many times married -change-spouse Change/add spouse -children-living Living -children-dead Dead -children-together Living together -children-apart Living apart -residence-after-marriage Residence after marriage -birthplace Birthplace -spouse-village Spouses natal village -num-siblings Number of living siblings of the same sex born from same mother -birth-order Birth order amoung currently living same sex siblings born from same mother -length-time Length of time lived in this village (years) -place-of-birth Place of birth -num-residence-changes Number of time place of residence changed since birth -village-visits-month Number of times you have visited another village in the last month -village-visits-year Number of times you have visited another village in the last year (i.e. between last summer and this summer) -occupation Occupation -occupation Occupation -num-people-in-house People living in house -contribute Do you contribute to the family earnings? -own-land Do you own land? -rent-land Do you rent out your land? -hire-land Do you hire someone else's land to work on? -crops-detail List the crops you grew last year: -crops Crops -unit Unit -quantity Quantity -used-or-eaten Used/Eaten -sold Sold -seed Seed (hybrid/local) -house-type Type of house -concrete Concrete -tin Tin -thatched Thatched -loan Outstanding loans -earning How much do you earn for one day's labour? -in-the-home In the home -radio Radio -tv TV -mobile Mobile phone -visit-market How many times do you visit the tribal market? -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 -crop-name Crop name -crop-unit Crop unit -crop-used Used or eaten -crop-sold Sold -crop-seed Seed -mother Mother -father Father -change-mother Change mother -change-father Change father -alive Alive -sex Sex -social-type Type -friendship Friendship -knowledge Knowledge -prestige Prestige -social-one One -social-two Two -social-three Three -social-four Four -social-five Five -social-nickname Name -social-relationship Relation -social-residence Residence -social-strength Strength -mother Mother -father Father -sister Sister -brother Brother -spouse Spouse -children Children -co-wife Co-wife -spouse-mother Spouse's mother -spouse-father Spouse's father -spouse-brother-wife Spouse's brother's wife -spouse-sister-husband Spouse's sister's husband -friend Friend -neighbour Neighbour -same Same -daily Daily -weekly Weekly -monthly Monthly -less Less -child-name Name -child-gender Gender -child-age Age -child-home Lives at home -child-alive Alive -default-child-name A child -move-button Move household -move-household Pick a new household -house-id House ID -photo-id Photo ID -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-2 Please confirm again... -current-village Your current village -num-children Number of children -occupation-agriculture Agriculture -occupation-gathering Gathering -occupation-labour Labour -occupation-cows Cows -occupation-fishing Fishing -occupation-other Other -friendship-question LIST UP TO FIVE PERSONS whom you have really liked to talk to in the last year. They can be of either sex. They can be friends, neighbours, relatives, co-wives; they can live in this village or elsewhere; anyone you like to talk to. -prestige-question "LIST UP TO FIVE PERSONS who you think are the most respected in the village: " -knowledge-question LIST UP TO FIVE PERSONS who you think are the most knowledgeable in the village: +"Code (don't change these)","English","Khasi","Hindi", +"start","Symbai",,, +"next","Next",,, +"yes","Yes",,, +"no","No",,, +"not-answered","Unanswered",,, +"not-set","Not set",,, +"details-next","Next",,, +"family-next","Next",,, +"migration-next","Next",,, +"income-next","Next",,, +"gene-next","Next",,, +"social-next","Next",,, +"friendship-next","Next",,, +"agreement-next","Next",,, +"village"," Village"," ",, +"household"," Household"," ",, +"households"," Households"," ",, +"individual"," Individual"," ",, +"individuals"," Individuals"," ",, +"add-item-to-list",0," ",, +"default-village-name"," New village"," ",, +"title"," Symbai"," Symbai"," Symbai"," " +"sync"," Sync"," Sync"," Sync"," " +"languages"," Choose language"," Choose language"," Choose language"," " +"english"," English"," English"," English"," " +"khasi"," Khasi"," Khasi"," Khasi"," " +"hindi"," Hindi"," Hindi"," Hindi"," " +"user-id"," User ID"," User ID"," User ID"," " +"save"," Save"," Save"," Save"," " +"back"," Back"," Back"," Back"," " +"off"," Off"," Off"," Off"," " +"villages"," Villages"," Villages"," Villages"," " +"list-empty"," List empty"," ",, +"delete"," Delete"," ",, +"delete-are-you-sure"," Are you sure you want to delete this?"," ",, +"save-are-you-sure"," Are you sure you want to save changes?"," ",, +"quick-name"," New person name"," ",, +"quick-add"," Quick add"," ",, +"find-individual"," Find individual"," ",, +"filter"," Filter"," ",, +"filter-switch","Run filter",,, +"off"," Off"," Off"," Off"," " +"name"," Name","Kyrteng",, +"sync-all"," Sync me!"," ",, +"sync-syncall"," Sync everything"," ",, +"export-data"," Exporting data"," ",, +"sync-download"," Download main DB"," ",, +"sync-export"," Email main DB"," ",, +"email-local"," Email local DB"," ",, +"debug"," Debug"," ",, +"sync-back"," Back"," ",, +"sync-prof"," Profile"," ",, +"village-name"," Village name"," Village name"," Village name"," " +"block"," Block"," Block"," Block"," " +"district"," District"," District"," District"," " +"car"," Accessible by car"," ",, +"household-list"," Household list"," ",, +"amenities"," Amenities"," ",, +"school"," School"," ",, +"present"," Present"," ",, +"closest-access"," Closest place of access"," ",, +"house-gps"," GPS"," ",, +"toilet-gps"," GPS"," ",, +"school-in-village","In Village",,, +"school"," School"," ",, +"school-closest-access"," Closest access"," ",, +"school-gps"," GPS"," ",, +"hospital-in-village","In Village",,, +"hospital"," Hospital/Health care centre"," ",, +"hospital-closest-access"," Closest access"," ",, +"hospital-gps"," GPS"," ",, +"Post-office-in-village","In Village",,, +"post-office"," Post Office"," ",, +"post-office-closest-access"," Closest access"," ",, +"post-office-gps"," GPS"," ",, +"railway-station-in-village","In Village",,, +"railway-station"," Railway station"," ",, +"railway-station-closest-access"," Closest access"," ",, +"railway-station-gps"," GPS"," ",, +"State-bus-service-in-village","In Village",,, +"state-bus-service"," Inter-state bus service"," ",, +"state-bus-service-closest-access"," Closest access"," ",, +"state-bus-service-gps"," GPS"," ",, +"District-bus-service-in-village","In Village",,, +"district-bus-service"," Inter-village/district bus service"," ",, +"district-bus-service-closest-access"," Closest access"," ",, +"district-bus-service-gps"," GPS"," ",, +"Panchayat-in-village","In Village",,, +"panchayat"," Village Panchayat Office"," ",, +"panchayat-closest-access"," Closest access"," ",, +"panchayat-gps"," GPS"," ",, +"NGO-in-village","In Village",,, +"NGO"," Presence of NGO's working with them"," ",, +"NGO-closest-access"," Closest access"," ",, +"NGO-gps"," GPS"," ",, +"market-in-village","In Village",,, +"market"," Market"," ",, +"market-closest-access"," Closest access"," ",, +"market-gps"," GPS"," ",, +"household-name"," Household name"," ",, +"default-household-name"," A household"," ",, +"location"," House location"," ",, +"elevation"," Elevation"," ",, +"toilet-location"," Toilet location"," ",, +"children"," Children"," ",, +"male"," Male","Shynrang",, +"female"," Female","Kynthei",, +"num-pots"," Number of pots"," ",, +"adults"," Adults"," ",, +"add-individual"," Add individual"," ",, +"default-individual-name"," A person"," ",, +"default-family-name"," A family"," ",, +"default-photo-id"," ???"," ",, +"name-display"," Name","Kyrteng",, +"photo-id-display"," Photo ID","Nombor dur ID",, +"family-display"," Family","Family/Clan",, +"details-button"," Details"," ",, +"family-button"," Family","Family/Clan",, +"migration-button"," Migration"," ",, +"friendship-button","Friendship",,, +"income-button"," Income"," ",, +"genealogy-button"," Genealogy"," ",, +"social-button"," Social"," ",, +"agreement-button"," Agreement"," ",, +"is-a-child"," Child"," ",, +"change-photo"," Change photo"," ",, +"details-name"," Name","Kyrteng",, +"details-first-name","Name","Kyrteng",, +"details-photo-id"," Photo ID","Nombor dur ID",, +"details-family"," Family"," ",, +"tribe"," Tribe","Jaidbynriew:",, +"sub-tribe"," Sub tribe","Tynrai Jaidbynriew",, +"khasi"," Khasi"," ",, +"khynriam"," Khynriam"," ",, +"pnar"," Pnar"," ",, +"bhoi"," Bhoi"," ",, +"war"," War"," ",, +"other"," Other"," ",, +"age"," Age","Ka rta",, +"gender"," Gender","U/ka",, +"education"," Education","Jingpule",, +"illiterate"," Illiterate","Bym Nang/Bymstad",, +"literate"," Literate","Lah Nang/Lahtip",, +"primary"," Primary 1-5","Biang 1-5",, +"middle"," Middle 6-8","Ba Pdeng 6-8",, +"high"," High 9-10","Lah Khamstad 9-10",, +"secondary"," Higher Secondary","Lah stad",, +"university"," University","La pyndep university",, +"spouse"," Spouse"," ",, +"change-id"," Change"," ",, +"head-of-house"," Head of house"," ",, +"marital-status"," Marital status"," ",, +"ever-married"," Ever married"," ",, +"currently-married"," Currently married"," ",, +"currently-single"," Currently single"," ",, +"seperated"," Seperated/divorced"," ",, +"times-married"," How many times married"," ",, +"change-spouse"," Change/add spouse"," ",, +"children-living"," Living"," ",, +"children-dead"," Dead"," ",, +"children-together"," Living together"," ",, +"children-apart"," Living apart"," ",, +"residence-after-marriage"," Residence after marriage"," ",, +"birthplace"," Birthplace"," ",, +"spouse-village"," Spouses natal village"," ",, +"num-siblings"," Number of living siblings of the same sex born from same mother"," ",, +"birth-order"," Birth order amoung currently living same sex siblings born from same mother"," ",, +"length-time"," Length of time lived in this village (years)"," ",, +"place-of-birth"," Place of birth"," ",, +"num-residence-changes"," Number of time place of residence changed since birth"," ",, +"village-visits-month"," Number of times you have visited another village in the last month"," ",, +"village-visits-year"," Number of times you have visited another village in the last year (i.e. between last summer and this summer)"," ",, +"occupation"," Occupation"," ",, +"occupation"," Occupation"," ",, +"num-people-in-house"," People living in house"," ",, +"contribute"," Do you contribute to the family earnings?"," ",, +"own-land"," Do you own land?"," ",, +"rent-land"," Do you rent out your land?"," ",, +"hire-land"," Do you hire someone else's land to work on?"," ",, +"crops-detail","List the crops you grew last year:",,, +"crops"," Crops"," ",, +"unit"," Unit"," ",, +"quantity"," Quantity"," ",, +"used-or-eaten"," Used/Eaten"," ",, +"sold"," Sold"," ",, +"seed"," Seed (hybrid/local)"," ",, +"house-type"," Type of house"," ",, +"concrete"," Concrete"," ",, +"tin"," Tin"," ",, +"thatched"," Thatched"," ",, +"loan"," Outstanding loans"," ",, +"earning"," How much do you earn for one day's labour?"," ",, +"in-the-home"," In the home"," ",, +"radio"," Radio"," ",, +"tv"," TV"," ",, +"mobile"," Mobile phone"," ",, +"visit-market"," How many times do you visit the tribal market?"," ",, +"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"," ",, +"crop-name"," Crop name"," ",, +"crop-unit"," Crop unit"," ",, +"crop-used"," Used or eaten"," ",, +"crop-sold"," Sold"," ",, +"crop-seed"," Seed"," ",, +"mother"," Mother"," ",, +"father"," Father"," ",, +"change-mother"," Change mother"," ",, +"change-father"," Change father"," ",, +"alive"," Alive"," ",, +"sex"," Sex"," ",, +"social-type"," Type"," ",, +"friendship"," Friendship"," ",, +"knowledge"," Knowledge"," ",, +"prestige"," Prestige"," ",, +"social-one"," One"," ",, +"social-two"," Two"," ",, +"social-three"," Three"," ",, +"social-four"," Four"," ",, +"social-five"," Five"," ",, +"social-nickname","Name",,, +"social-relationship"," Relation"," ",, +"social-residence"," Residence"," ",, +"social-strength"," Strength"," ",, +"mother"," Mother"," ",, +"father"," Father"," ",, +"sister"," Sister"," ",, +"brother"," Brother"," ",, +"spouse"," Spouse"," ",, +"children"," Children"," ",, +"co-wife"," Co-wife"," ",, +"spouse-mother"," Spouse's mother"," ",, +"spouse-father"," Spouse's father"," ",, +"spouse-brother-wife"," Spouse's brother's wife"," ",, +"spouse-sister-husband"," Spouse's sister's husband"," ",, +"friend"," Friend"," ",, +"neighbour"," Neighbour"," ",, +"same"," Same"," ",, +"daily"," Daily"," ",, +"weekly"," Weekly"," ",, +"monthly"," Monthly"," ",, +"less"," Less"," ",, +"child-name","Name",,, +"child-gender","Gender",,, +"child-age","Age",,, +"child-home","Lives at home",,, +"child-alive","Alive",,, +"default-child-name","A child",,, +"move-button","Move household",,, +"move-household","Pick a new household",,, +"house-id","House ID",,, +"photo-id","Photo ID",,, +"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-2","Please confirm again...",,, +"current-village","Your current village",,, +"num-children","Number of children",,, +"occupation-agriculture","Agriculture",,, +"occupation-gathering","Gathering",,, +"occupation-labour","Labour",,, +"occupation-cows","Cows",,, +"occupation-fishing","Fishing",,, +"occupation-other","Other",,, +"friendship-question","LIST UP TO FIVE PERSONS whom you have really liked to talk to in the last year. They can be of either sex. They can be friends, neighbours, relatives, co-wives; they can live in this village or elsewhere; anyone you like to talk to. ",,, +"prestige-question","LIST UP TO FIVE PERSONS who you think are the most respected in the village: ",,, +"knowledge-question","LIST UP TO FIVE PERSONS who you think are the most knowledgeable in the village:",,,