Skip to content

Commit

Permalink
[#3940] answerStats flag to question and its translation
Browse files Browse the repository at this point in the history
  • Loading branch information
dedenbangkit committed Nov 29, 2022
1 parent de447bf commit 4f21d6c
Show file tree
Hide file tree
Showing 11 changed files with 67 additions and 19 deletions.
9 changes: 9 additions & 0 deletions GAE/src/com/gallatinsystems/survey/domain/Question.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public enum Type {
private String dependentQuestionAnswer;
private Long cascadeResourceId;
private Boolean personalData = false;
private Boolean answerStats = false;

@NotPersistent
private String cascadeResource;
Expand Down Expand Up @@ -489,4 +490,12 @@ public void setPersonalData(Boolean personalData) {
this.personalData = personalData;
}

public Boolean getAnswerStats() {
return answerStats;
}

public void setAnswerStats(Boolean answerStats) {
this.answerStats = answerStats;
}

}
2 changes: 2 additions & 0 deletions GAE/src/locale/en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ Uploaded = Uploaded
Uploading... = Uploading...
Use\ as\ data\ point\ location = Use as data point location
Use\ as\ data\ point\ name = Use as data point name
Show\ answer\ stats = Show answer stats
User\ info = User info
User\ name = User name
Users = Users
Expand All @@ -547,6 +548,7 @@ View\ forms = View forms
We\ will\ notify\ you\ via\ email\ when\ the\ report\ is\ ready\ for\ download = We will notify you via email when the report is ready for download
When\ checked,\ the\ answer\ to\ this\ question\ will\ become\ part\ of\ the\ 'name'\ of\ the\ data\ point.\ This\ will\ be\ shown\ in\ lists\ on\ the\ device,\ and\ can\ be\ used\ to\ search\ data\ points.\ This\ should\ only\ be\ enabled\ for\ one\ or\ two\ questions\ which\ will\ help\ to\ identify\ the\ data\ point,\ such\ as\ an\ id,\ or\ a\ name. = When checked, the answer to this question will become part of the 'name' of the data point. This will be shown in lists on the device, and can be used to search data points. This should only be enabled for one or two questions which will help to identify the data point, such as an id, or a name.
When\ checked,\ the\ location\ captured\ by\ this\ question\ will\ be\ used\ as\ the\ main\ location\ of\ the\ data\ point. = When checked, the location captured by this question will be used as the main location of the data point.
When\ checked,\ the\ stats\ answer\ to\ this\ question\ will\ show\ as\ an\ answer\ hint. = When checked, the stats answer to this question will show as an answer hint.
With\ the\ data\ approval\ feature\ you\ can\ verify\ data\ submitted\ for\ this\ survey.\ Select\ an\ existing\ approval\ group\ from\ the\ dropdown.\ Add\ users,\ who\ are\ responsible\ to\ verify\ the\ data,\ based\ on\ the\ steps\ created\ for\ the\ approval\ group. = With the data approval feature you can verify data submitted for this survey. Select an existing approval group from the dropdown. Add users, who are responsible to verify the data, based on the steps created for the approval group.
With\ the\ registration\ form\ you\ fill\ in\ the\ general\ information\ that\ identifies\ the\ entity\ you\ want\ to\ monitor.\ You\ fill\ in\ the\ registration\ form\ only\ once,\ at\ the\ beginning\ of\ your\ monitoring.\ The\ registration\ form\ creates\ the\ data\ point. = With the registration form you fill in the general information that identifies the entity you want to monitor. You fill in the registration form only once, at the beginning of your monitoring. The registration form creates the data point.
Yes = Yes
Expand Down
2 changes: 2 additions & 0 deletions GAE/src/locale/es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ Uploaded = Enviado
Uploading... = Enviando...
Use\ as\ data\ point\ location = Usar como ubicación de punto de datos
Use\ as\ data\ point\ name = Usar como nombre de punto de datos
Show\ answer\ stats = Mostrar estadísticas de respuesta
User\ info = Información de usuario
User\ name = Nombre de usuario
Users = Usuarios
Expand All @@ -532,6 +533,7 @@ View\ forms = Ver formularios
We\ will\ notify\ you\ via\ email\ when\ the\ report\ is\ ready\ for\ download = Le notificaremos via email cuando el reporte esté disponible para ser descargado
When\ checked,\ the\ answer\ to\ this\ question\ will\ become\ part\ of\ the\ 'name'\ of\ the\ data\ point.\ This\ will\ be\ shown\ in\ lists\ on\ the\ device,\ and\ can\ be\ used\ to\ search\ data\ points.\ This\ should\ only\ be\ enabled\ for\ one\ or\ two\ questions\ which\ will\ help\ to\ identify\ the\ data\ point,\ such\ as\ an\ id,\ or\ a\ name. = Cuando se elije esta opción, la respuesta a esta pregunta se convierte en parte del nombre del punto de datos. Éste se visualizará en las lista dentro del dispositivo móvil, y puede ser utilizado para buscar puntos de datos. Esto debería ser habilitado para una o dos preguntas que permitan identificar el punto de datos, ej. id o un nombre
When\ checked,\ the\ location\ captured\ by\ this\ question\ will\ be\ used\ as\ the\ main\ location\ of\ the\ data\ point. = Cuando se elije esta opción, la ubicación capturada será utilizada como la ubicación principal del punto de datos.
When\ checked,\ the\ stats\ answer\ to\ this\ question\ will\ show\ as\ an\ answer\ hint. = Cuando está marcada, la respuesta de las estadísticas a esta pregunta se mostrará como una pista de respuesta.
With\ the\ data\ approval\ feature\ you\ can\ verify\ data\ submitted\ for\ this\ survey.\ Select\ an\ existing\ approval\ group\ from\ the\ dropdown.\ Add\ users,\ who\ are\ responsible\ to\ verify\ the\ data,\ based\ on\ the\ steps\ created\ for\ the\ approval\ group. = Con la funcionalidad aprobación de datos Ud. puede verificar los datos enviados para ésta encuesta. Seleccione un grupo de aprobación de la lista. Agregue usuarios responsables de verificar los datos, basándose en los pasos del grupo de aprobación.
With\ the\ registration\ form\ you\ fill\ in\ the\ general\ information\ that\ identifies\ the\ entity\ you\ want\ to\ monitor.\ You\ fill\ in\ the\ registration\ form\ only\ once,\ at\ the\ beginning\ of\ your\ monitoring.\ The\ registration\ form\ creates\ the\ data\ point. = Con el formulario de registro Ud. registrará información general que identifica la entidad que desea monitorear. Ud. rellena el formulario de registro sólo una vez, cuando empieza el monitoreo. El formulario de registro crea un nuevo punto de datos.
Yes = Sí
Expand Down
2 changes: 2 additions & 0 deletions GAE/src/locale/fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ Uploaded = T
Uploading... = Téléchargement...
Use\ as\ data\ point\ location = Utiliser comme localisation de donnée
Use\ as\ data\ point\ name = Utiliser pour nommer ce point de donnée
Show\ answer\ stats = Afficher les statistiques de réponse
User\ info = Info utilisateur
User\ name = Nom d'utilisateur
Users = Utilisateurs
Expand All @@ -532,6 +533,7 @@ View\ forms = Aper
We\ will\ notify\ you\ via\ email\ when\ the\ report\ is\ ready\ for\ download = Nous vous informerons par email quand le rapport est prêt au téléchargement.
When\ checked,\ the\ answer\ to\ this\ question\ will\ become\ part\ of\ the\ 'name'\ of\ the\ data\ point.\ This\ will\ be\ shown\ in\ lists\ on\ the\ device,\ and\ can\ be\ used\ to\ search\ data\ points.\ This\ should\ only\ be\ enabled\ for\ one\ or\ two\ questions\ which\ will\ help\ to\ identify\ the\ data\ point,\ such\ as\ an\ id,\ or\ a\ name. = Si sélectionnée, la réponse a cette question sera utilisée dans le nom du point de donnée. Celui ci sera listée dans l'application, et peut être utilisée pour un recherche. Ceci devrait être sélectionnée pour une ou deux questions et aidera à identifier le point de donnée, avec un ID ou un nom.
When\ checked,\ the\ location\ captured\ by\ this\ question\ will\ be\ used\ as\ the\ main\ location\ of\ the\ data\ point. = Si sélectionnée, la location enregistrée par cette question sera utilisée en priorité.
When\ checked,\ the\ stats\ answer\ to\ this\ question\ will\ show\ as\ an\ answer\ hint. = Lorsqu'elle est cochée, la réponse statistique à cette question s'affichera comme un indice de réponse.
With\ the\ data\ approval\ feature\ you\ can\ verify\ data\ submitted\ for\ this\ survey.\ Select\ an\ existing\ approval\ group\ from\ the\ dropdown.\ Add\ users,\ who\ are\ responsible\ to\ verify\ the\ data,\ based\ on\ the\ steps\ created\ for\ the\ approval\ group. = Avec la fonction Approbation de données, vous pouvez vérifier les données soumises pour cette enquête. Sélectionnez un groupe d'approbation existant dans la liste déroulante. Ajouter les utilisateurs, qui sont chargés de vérifier les données, sur la base des étapes créées pour le groupe d'approbation.
With\ the\ registration\ form\ you\ fill\ in\ the\ general\ information\ that\ identifies\ the\ entity\ you\ want\ to\ monitor.\ You\ fill\ in\ the\ registration\ form\ only\ once,\ at\ the\ beginning\ of\ your\ monitoring.\ The\ registration\ form\ creates\ the\ data\ point. = Avec le formulaire d'enregistrement, vous entrez les informations générales qui identifient le point que vous voulez surveiller. Vous ne complétez le formulaire qu'une fois.
Yes = Oui
Expand Down
10 changes: 6 additions & 4 deletions GAE/src/locale/id.properties
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Are\ you\ sure\ you\ want\ to\ delete\ this\ device\ group? = Apakah Anda yakin
Are\ you\ sure\ you\ want\ to\ delete\ this\ form? = Apakah Anda yakin ingin menghapus formulir ini?
Are\ you\ sure\ you\ want\ to\ delete\ this\ question\ group,\ with\ all\ its\ containing\ questions? = Apakah anda ingin menghapus grup pertanyaan ini, termasuk semua pertanyaan di dalamnya?
Are\ you\ sure\ you\ want\ to\ delete\ this\ question? = Apakah Anda yakin ingin menghapus pertanyaan ini?
Are\ you\ sure\ you\ want\ to\ delete\ this\ survey,\ its\ question\ groups,\ and\ all\ related\ data? = Apakah Anda yakin ingin menghapus survei ini, grup pertanyaan, dan semua data terkait?
Are\ you\ sure\ you\ want\ to\ delete\ this\ survey,\ its\ question\ groups,\ and\ all\ related\ data? = Apakah Anda yakin ingin menghapus survei ini, grup pertanyaan, dan semua data terkait?
Are\ you\ sure\ you\ want\ to\ delete\ this\ user? = Apakah Anda ingin menghapus pengguna ini?
Area = Area
Assign\ all\ datapoints = Assign all datapoints
Expand Down Expand Up @@ -213,7 +213,7 @@ Geoshape\ Data = Geoshape Data
Go\ back = Kembali
Go\ back\ to\ survey\ overview = Kembali ke overview survey
Group = Kelompok
Group\ smaller\ items = Mengelompokkan items lebih kecil
Group\ smaller\ items = Mengelompokkan items lebih kecil
Help\ &\ support = Bantuan & dukungan
Hide\ approval\ group = Sembunyikan grup persetujuan
Hide\ photo\ location\ on\ map = Sembunyikan lokasi foto di peta
Expand Down Expand Up @@ -511,6 +511,7 @@ Uploaded = Uploaded
Uploading... = Uploading...
Use\ as\ data\ point\ location = Gunakan sebagai lokasi titik data
Use\ as\ data\ point\ name = Gunakan sebagai titik data
Show\ answer\ stats = Tunjukan statistik jawaban
User\ info = Informasi pengguna
User\ name = Nama pengguna
Users = Para pengguna
Expand All @@ -530,8 +531,9 @@ View\ details = Lihat informasi detail
View\ folders = Lihat folder
View\ forms = Lihat formulir
We\ will\ notify\ you\ via\ email\ when\ the\ report\ is\ ready\ for\ download = Kami akan menotifikasi Anda melalui email saat laporan sudah siap untuk diunduh
When\ checked,\ the\ answer\ to\ this\ question\ will\ become\ part\ of\ the\ 'name'\ of\ the\ data\ point.\ This\ will\ be\ shown\ in\ lists\ on\ the\ device,\ and\ can\ be\ used\ to\ search\ data\ points.\ This\ should\ only\ be\ enabled\ for\ one\ or\ two\ questions\ which\ will\ help\ to\ identify\ the\ data\ point,\ such\ as\ an\ id,\ or\ a\ name. = Setelah diperiksa, jawaban untuk pertanyaan ini akan menjadi bagian dalam "nama" titik data. Hal ini akan terlihat dalam daftar perangkat, dan dapat digunakan untuk mencari titik data. Ini disarankan untuk mengidentifkasi titik data yang mempermudah mengidentifikasi suatu titik data, seperti contoh id, atau nama.
When\ checked,\ the\ location\ captured\ by\ this\ question\ will\ be\ used\ as\ the\ main\ location\ of\ the\ data\ point. = Setelah diperiksa, lokasi yang terambil dalam pertanyaan ini akan digunakan sebagai lokasi utama titik data.
When\ checked,\ the\ answer\ to\ this\ question\ will\ become\ part\ of\ the\ 'name'\ of\ the\ data\ point.\ This\ will\ be\ shown\ in\ lists\ on\ the\ device,\ and\ can\ be\ used\ to\ search\ data\ points.\ This\ should\ only\ be\ enabled\ for\ one\ or\ two\ questions\ which\ will\ help\ to\ identify\ the\ data\ point,\ such\ as\ an\ id,\ or\ a\ name. = Ketika dicentang, jawaban untuk pertanyaan ini akan menjadi bagian dalam "nama" titik data. Hal ini akan terlihat dalam daftar perangkat, dan dapat digunakan untuk mencari titik data. Ini disarankan untuk mengidentifkasi titik data yang mempermudah mengidentifikasi suatu titik data, seperti contoh id, atau nama.
When\ checked,\ the\ location\ captured\ by\ this\ question\ will\ be\ used\ as\ the\ main\ location\ of\ the\ data\ point. = Ketika dicentang, lokasi yang terambil dalam pertanyaan ini akan digunakan sebagai lokasi utama titik data.
When\ checked,\ the\ stats\ answer\ to\ this\ question\ will\ show\ as\ an\ answer\ hint. = Ketika dicentang, statistik jawaban akan muncul sebagai petunjuk.
With\ the\ data\ approval\ feature\ you\ can\ verify\ data\ submitted\ for\ this\ survey.\ Select\ an\ existing\ approval\ group\ from\ the\ dropdown.\ Add\ users,\ who\ are\ responsible\ to\ verify\ the\ data,\ based\ on\ the\ steps\ created\ for\ the\ approval\ group. = Dengan menggunakan fitur persetujuan data, Anda dapat memverifikasi survey ini. Pilih frup persetujuan yang telah tersedia dalam daftar. Tambah pengguna, yang bertanggung jawab untuk memverifikasi data, berdasarkan langkah-langkah pembuatan grup persetujuan.
With\ the\ registration\ form\ you\ fill\ in\ the\ general\ information\ that\ identifies\ the\ entity\ you\ want\ to\ monitor.\ You\ fill\ in\ the\ registration\ form\ only\ once,\ at\ the\ beginning\ of\ your\ monitoring.\ The\ registration\ form\ creates\ the\ data\ point. = Di dalam formulir registrasi Anda mengisi informasi umum yang menggambarkan entitas yang ingin Anda awasi. Anda hanya dapat mengisi sekali saat awal mula pengawasan. Formulir registrasi akan membuat titik data.
Yes = Ya
Expand Down
Loading

0 comments on commit 4f21d6c

Please sign in to comment.