Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For autogen=true, show join links / QR codes instead of generating OPcodes #36

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions frontend/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,28 @@
"publicDashboard":"Public Dashboard",
"participantGuidelines":"Participant Guidelines",
"tsdc":"TSDC",
"thankYouMessage":"Thank you for participating in the ",
"thankYouMessage":"Thank you for participating in ",
"studyPurpose":"Purpose of Study",
"dataCollection":"Data Collection",
"dC1":"We use the ",
"dC2":" platform for this data collection. This open-source platform collects a complete snapshot of your travel and uses it to estimate your individual transportation carbon footprint and compare it against US 2030 and 2050 carbon-reduction goals. It also computes and publishes aggregate metrics around mode share and distance traveled.",
"installNREL":"Install the NREL OpenPATH App on Your Phone",
"iN1":"Download the NREL OpenPATH app from the ",
"iN2":" or ",
"iN3":"Scan the QR code or copy the OPcode (OpenPATH token) below to join.",
"iN4":"Remember to give all the requested permissions, including ('always') background location access. If you have a Samsung or Huawei phone, turn off background restrictions.",
"iN3":"Join the study using a QR code or access link (described below).",
"iN4":"Remember to give all the requested permissions, including (\"always\") background location access. If you have a Samsung or Huawei phone, turn off background restrictions.",
"iN5":"Track your trips, label them when prompted, and check out your carbon footprint.",
"iN6":"For additional information, see the ",
"iN7":"participant guidelines",
"addInfo":"For additional information, see the ",
"joinStudy":"Join the Study",
"jS1":"After you have installed the NREL OpenPATH app on your phone, join the study by scanning the QR code or copying the OPcode (OpenPATH token) using your phone.",
"jS2":"The randomly generated token above, starting with <code>nrelop_</code>, is used to login. Save your token in case you lose or change phones. If you lose your token, NREL cannot retrieve it for you since we do not have the ability to match a token to an individual user.",
"jP1":"After you have installed the NREL OpenPATH app on your phone, join the program by scanning the QR code or copy-pasting the opcode token provided by your program admin. The OPcode is a long string beginning with <code>nrelop_</code>",
"jP2":"The OPcode is a randomly generated token. Save your token in case you lose or change phones. If you lose your token, please contact your program admin for assistance. NREL cannot retrieve it for you since we do not have the ability to match a token to an individual user.",
"joinStudy": "Join the Study",
"join": "Join",
"joinAutogenQrDesc": "After you have installed the NREL OpenPATH app on your phone, join the study by scanning the QR code or copying the link and pasting it into the app.",
"joinAutogenButtonDesc": "After you have installed the NREL OpenPATH app on your phone, join the study by clicking the button below or copying the link and pasting it into the app.",
"joinAutogenOpcodeDesc": "When you join the study, you will be randomly assigned an OPcode, which is a long string beginning with <code>nrelop_</code>. You will be asked to save your OPcode in case you lose or change phones. If you lose your token, NREL cannot retrieve it for you since we do not have the ability to match a token to an individual user.",
"joinAssignedQrDesc": "After you have installed the NREL OpenPATH app on your phone, join the program by scanning the QR code or copy-pasting the OPcode provided by your program admin. The OPcode is a long string beginning with <code>nrelop_</code>.",
"joinAssignedOpcodeDesc": "The OPcode is a randomly generated token. Keep your OPcode in a safe place in case you lose or change phones. If you lose your OPcode, please contact your program admin for assistance. NREL cannot retrieve it for you since we do not have the ability to match a token to an individual user.",
"joinEnsureAppInstalled": "If the app does not automatically launch, please ensure it is installed (instructions above) and try again.",
"dataPrivacy":"Data Privacy and Security",
"dP1":"The system",
"dP2":" will not ",
Expand Down
19 changes: 11 additions & 8 deletions frontend/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,28 @@
"publicDashboard":"Tablero Público",
"participantGuidelines":"Instrucciones Para Los Participantes",
"tsdc":"TSDC",
"thankYouMessage":"Gracias por participar en la ",
"thankYouMessage":"Gracias por participar en ",
"studyPurpose":"Propósito del estudio",
"dataCollection":"Recolección de datos",
"dC1":"Utilizaremos la plataforma de ",
"dC2":" para la recolección de datos. Esta plataforma de código abierto recoge información completa de sus viajes y la utiliza para estimar su huella de carbono en el transporte y compararla con los objetivos de reducción de carbono de EE.UU. para 2030 y 2050. También calcula y publica métricas agregadas sobre la moda y la distancia recorrida.",
"installNREL":"Instalar la aplicación NREL OpenPATH en su teléfono",
"iN1":"Descargue la aplicación NREL OpenPATH desde el sitio web de NREL, ",
"iN2":" o ",
"iN3":"Escanee el código QR o copie el OPcode (token OpenPATH) a continuación para unirse.",
"iN4":"Recuerde otorgar todos los permisos solicitados, incluido ('siempre') el acceso a la localización en segundo plano. Si tiene un teléfono Samsung o Huawei, desactive las restricciones de fondo.",
"iN3":"Únase al estudio utilizando un código QR o un enlace de acceso (descrito a continuación).",
"iN4":"Recuerde otorgar todos los permisos solicitados, incluido (\"siempre\") el acceso a la localización en segundo plano. Si tiene un teléfono Samsung o Huawei, desactive las restricciones de fondo.",
"iN5":"Realiza un seguimiento de tus viajes, etiquétalos cuando se te solicite y comprueba tu huella de carbono.",
"iN6":"Para obtener información adicional, consulte las ",
"iN7":"instrucciones para los participantes",
"addInfo":"Para más información, consulta las ",
"joinStudy":"Únete al Estudio",
"jS1":"Una vez que haya instalado la aplicación OpenPATH del NREL en su teléfono, únase al estudio escaneando código QR o copiando el OPcode (token OpenPATH) usando su teléfono.",
"jS2":"El token generado aleatoriamente arriba, que comienza con <code>nrelop_</code>, se usa para iniciar sesión. Guarda tu token en caso de que pierdas o cambies de teléfono. Si pierde su token, NREL no puede recuperarlo porque no tenemos la capacidad de hacer coincidir un token para un usuario individual.",
"jP1":"Después de haber instalado la aplicación NREL OpenPATH en su teléfono, únase al programa escaneando el código QR o copiar y pegar el token de código de operación proporcionado por el administrador de su programa. El código OP es una cadena larga que comienza con <code>nrelop_</code>.",
"jP2":"El OPcode es un token generado aleatoriamente. Guarda tu token en caso de que pierdas o cambies de teléfono. Si pierde su token, comuníquese con el administrador de su programa para obtener ayuda. NREL no puede recuperarlo porque no tenemos la capacidad de hacer coincidir un token para un usuario individual.",
"joinStudy": "Únete al Estudio",
"join": "Unirse",
"joinAutogenQrDesc": "Después de haber instalado la aplicación NREL OpenPATH en su teléfono, únase al estudio escaneando el código QR o copiando el enlace y pegándolo en la aplicación.",
"joinAutogenButtonDesc": "Después de haber instalado la aplicación NREL OpenPATH en su teléfono, únase al estudio haciendo clic en el botón de abajo o copiando el enlace y pegándolo en la aplicación.",
"joinAutogenOpcodeDesc": "Cuando se una al estudio, se le asignará aleatoriamente un OPcode, que es una cadena larga que comienza con <code>nrelop_</code>. Se le pedirá que guarde su OPcode en caso de que pierda o cambie de teléfono. Si pierde su token, NREL no puede recuperarlo para usted ya que no tenemos la capacidad de hacer coincidir un token con un usuario individual.",
"joinAssignedQrDesc": "Después de haber instalado la aplicación NREL OpenPATH en su teléfono, únase al programa escaneando el código QR o copiando y pegando el OPcode proporcionado por el administrador de su programa. El OPcode es una cadena larga que comienza con <code>nrelop_</code>.",
"joinAssignedOpcodeDesc": "El OPcode es un token generado aleatoriamente. Guarde su OPcode en un lugar seguro en caso de que pierda o cambie de teléfono. Si pierde su OPcode, comuníquese con el administrador de su programa para obtener ayuda. NREL no puede recuperarlo porque no tenemos la capacidad de hacer coincidir un token para un usuario individual.",
"joinEnsureAppInstalled": "Si la aplicación no se inicia automáticamente, asegúrese de que esté instalada (instrucciones arriba) e inténtelo de nuevo.",
"dataPrivacy":"Privacidad y seguridad de los datos",
"dP1":"El sistema",
"dP2":" no ",
Expand Down
13 changes: 8 additions & 5 deletions frontend/i18n/lo.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@
"iN6":"ສຳລັບຂໍ້ມູນເພີ່ມເຕີມ, ເບິ່ງທີ່ ",
"iN7":"ຂໍ້ແນະນຳຜູ້ເຂົ້າຮ່ວມ",
"addInfo":"ສໍາລັບຂໍ້ມູນເພີ່ມເຕີມ, ເບິ່ງທີ່ ",
"joinStudy":"ເຂົ້າຮ່ວມການສຶກສາ",
"jS1":"ຫຼັງຈາກທ່ານຕິດຕັ້ງແອັບ NREL OpenPATH ໃນໂທລະສັບຂອງທ່ານແລ້ວ, ເຂົ້າຮ່ວມການສຶກສາໂດຍການສະແກນລະຫັດ QR ຫຼືສຳເນົາ OPcode (OpenPATH token) ໂດຍໃຊ້ໂທລະສັບຂອງທ່ານ.",
"jS2":"ໂທເຄັນທີ່ສ້າງຂຶ້ນແບບສຸ່ມຂ້າງເທິງ, ເລີ່ມຕົ້ນດ້ວຍ <code>nrelop_</code>, ຖືກນໍາໃຊ້ເພື່ອເຂົ້າສູ່ລະບົບ. ບັນທຶກ token ຂອງທ່ານໃນກໍລະນີທີ່ທ່ານເສຍ ຫຼືປ່ຽນໂທລະສັບ. ຖ້າທ່ານສູນເສຍ token ຂອງທ່ານ, NREL ບໍ່ສາມາດດຶງມັນມາໃຫ້ທ່ານໄດ້. ເນື່ອງຈາກພວກເຮົາບໍ່ມີຄວາມສາມາດໃນການຈັບຄູ່ token ກັບຜູ້ໃຊ້ແຕ່ລະຄົນ.",
"jP1":"ຫຼັງຈາກທ່ານຕິດຕັ້ງແອັບ NREL OpenPATH ໃນໂທລະສັບຂອງທ່ານແລ້ວ, ເຂົ້າຮ່ວມໂຄງການໂດຍການສະແກນລະຫັດ QR ຫຼືຄັດລອກ token ຂອງ opcode ທີ່ໃຫ້ໂດຍຜູ້ເບິ່ງແຍງໂຄງການຂອງທ່ານ. OPcode ແມ່ນສາຍຍາວເລີ່ມຕົ້ນດ້ວຍ <code>nrelop_. </code>",
"jP2":"OPcode ແມ່ນໂທເຄັນທີ່ສ້າງຂຶ້ນແບບສຸ່ມ. ບັນທຶກລະຫັດ (token) ຂອງທ່ານໃນກໍລະນີທີ່ທ່ານເຮັດເສຍ ຫຼື ປ່ຽນໂທລະສັບ. ຖ້າທ່ານເຮັດໂທເຄັນຂອງທ່ານເສຍ, ກະລຸນາຕິດຕໍ່ຜູ້ຮັບຜິດຊອບໂຄງການຂອງທ່ານເພື່ອຂໍຄວາມຊ່ວຍເຫຼືອ. NREL ບໍ່ສາມາດດຶງມັນມາໃຫ້ທ່ານໄດ້ ເນື່ອງຈາກພວກເຮົາບໍ່ມີ. ຄວາມສາມາດໃນການຈັບຄູ່ token ກັບຜູ້ໃຊ້ສ່ວນບຸກຄົນ.",
"joinStudy": "ເຂົ້າຮ່ວມການສຶກສາ",
"join": "ເຂົ້າຮ່ວມ",
"joinAutogenQrDesc": "ຫຼັງຈາກທ່ານໄດ້ຕິດຕັ້ງແອັບ NREL OpenPATH ໃນໂທລະສັບຂອງທ່ານ, ເຂົ້າຮ່ວມການສຶກສາໂດຍການການສຳເນົາລະຫັດ QR ຫຼືການຄັດລອກລຸ່ມເພື່ອປ່ຽນໃນໂທລະສັບ.",
"joinAutogenButtonDesc": "ຫຼັງຈາກທ່ານໄດ້ຕິດຕັ້ງແອັບ NREL OpenPATH ໃນໂທລະສັບຂອງທ່ານ, ເຂົ້າຮ່ວມການສຶກສາໂດຍການການຄລອດປຸ່ນ ຫຼືການຄັດລອກລຸ່ມເພື່ອປ່ຽນໃນໂທລະສັບ.",
"joinAutogenOpcodeDesc": "ເມື່ອທ່ານເຂົ້າຮ່ວມການສຶກສາ, ທ່ານຈະຖືກສຸ່ມໃສ່ລະຫັດ OPcode, ເຊິ່ງເປັນສາຍຍາວທີ່ເລີ່ມຕົ້ນດ້ວຍ <code>nrelop_</code>. ທ່ານຈະຖືກຖາມໃຫ້ບັນທຶກ OPcode ຂອງທ່ານໃນກໍລະນີທີ່ທ່ານເສຍ ຫຼືປ່ຽນໂທລະສັບ. ຖ້າທ່ານເສຍ token ຂອງເຈົ້າ, NREL ບໍ່ສາມາດດຶງມັນມາໃຫ້ທ່ານໄດ້ເນື່ອງຈາກພວກເຮົາບໍ່ມີຄວາມສາມາດໃນການຈັບຄູ່ token ກັບຜູ້ໃຊ້ແຕ່ລະຄົນ.",
"joinAssignedQrDesc": "ຫຼັງຈາກທ່ານໄດ້ຕິດຕັ້ງແອັບ NREL OpenPATH ໃນໂທລະສັບຂອງທ່ານ, ເຂົ້າຮ່ວມການສຶກສາໂດຍການການສຳເນົາລະຫັດ QR ຫຼືການຄລອດລຸ່ມເພື່ອປ່ຽນໃນໂທລະສັບ. ລະຫັດນີ້ເລີ່ມຕົ້ນດ້ວຍ <code>nrelop_</code>",
"joinAssignedOpcodeDesc": "OPcode ແມ່ນໂທເຄັນທີ່ສ້າງຂຶ້ນແບບສຸ່ມ. ເກັບຮັກສາ OPcode ຂອງທ່ານໄວ້ໃນບ່ອນທີ່ປອດໄພໃນກໍລະນີທີ່ທ່ານສູນເສຍຫຼືປ່ຽນໂທລະສັບ. ຖ້າທ່ານເຮັດ OPcode ຂອງທ່ານເສຍ, ກະລຸນາຕິດຕໍ່ຜູ້ເບິ່ງແຍງໂຄງການຂອງທ່ານເພື່ອຂໍຄວາມຊ່ວຍເຫຼືອ. NREL ບໍ່ສາມາດເອົາມັນມາໃຫ້ທ່ານໄດ້ເພາະວ່າພວກເຮົາບໍ່ມີ. ຄວາມສາມາດໃນການຈັບຄູ່ token ກັບຜູ້ໃຊ້ສ່ວນບຸກຄົນ.",
"joinEnsureAppInstalled": "ຖ້າແອັບບໍ່ເປີດໂດຍອັດຕະໂນມັດ, ກະລຸນາກວດສອບວ່າມັນຖືກຕິດຕັ້ງແລ້ວ (ຄໍາແນະນໍາຂ້າງເທິງ) ແລະລອງໃໝ່ອີກ.",
"dataPrivacy":"ຄວາມເປັນສ່ວນຕົວຂອງຂໍ້ມູນ ແລະຄວາມປອດໄພ",
"dP1":"ລະບົບ",
"dP2":"ຈະບໍ່",
Expand Down
Loading