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

Feature/contact #496

Merged
merged 5 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"justinmimbs/date": "3.2.1",
"krisajenkins/remotedata": "6.0.1",
"pdamoc/elm-hashids": "1.0.4",
"robinheghan/elm-phone-numbers": "1.0.0",
"robinheghan/murmur3": "1.0.0",
"rtfeldman/elm-iso8601-date-strings": "1.1.3",
"rtfeldman/elm-validate": "4.0.1",
Expand Down
File renamed without changes
File renamed without changes
12 changes: 12 additions & 0 deletions public/icons/flag-costa-rica.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
51 changes: 51 additions & 0 deletions public/images/girl-with-phone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@
<div class="container">
<h1>Attention</h1>
<div class="warning">
<embed class="icon" src="%PUBLIC_URL%/icons/en-lang.svg" />
<embed class="icon" src="%PUBLIC_URL%/icons/flag-usa.svg" />
<span class="title">JavaScript must be enabled for you to use our platform in the standard view</span>
<span class="body">
However, it appears that it is disabled or is not compatible with your browser. To use the default view, enable JavaScript by changing your browser options and try again.
</span>
</div>
<div class="warning">
<embed class="icon" src="%PUBLIC_URL%/icons/portuguese-lang.svg" />
<embed class="icon" src="%PUBLIC_URL%/icons/flag-brazil.svg" />
<span class="title">O JavaScript deve estar ativado para que você use nossa plataforma na visualização padrão</span>
<span class="body">No entanto, parece que ela está desativado ou não é compatível com o seu navegador. Para usar a visualização padrão, ative o JavaScript alterando as opções do navegador e tente novamente.</span>
</div>
<div class="warning">
<embed class="icon" src="%PUBLIC_URL%/icons/spain-lang.svg" />
<embed class="icon" src="%PUBLIC_URL%/icons/flag-spain.svg" />
<span class="title">JavaScript debe estar habilitado para que pueda usar nuestra plataforma en la vista estándar</span>
<span class="body">Sin embargo, parece que está deshabilitado o no es compatible con su navegador. Para usar la vista predeterminada, habilite JavaScript cambiando las opciones de su navegador e intente nuevamente.</span>
</div>
Expand Down
49 changes: 49 additions & 0 deletions public/translations/amh-ETH.json
Original file line number Diff line number Diff line change
Expand Up @@ -844,5 +844,54 @@
"more": "ተጨማሪ አሳይ",
"no_transfers_found": "በእርሶ መስፈርት መሰረት ምንም የተላለፈ የለም.",
"pick_date": "ቀን ምረጥ..."
},
"contact_modal": {
"new": "አዲስ",
"title": "የስልክ ቁጥርዎን ያክሉ",
"footer": "በኋላ ላይ በመገለጫው አካባቢ ውስጥ ማከል ይችላሉ"
},
"contact_form": {
"country": "ሀገር",
"contact_type": "የእውቂያ ዓይነት",
"error": "ዕውቂያዎን ሲያክሉ አንድ ነገር ተሳስቷል",
"submit_multiple": "አስቀምጥ",
"profile_loading_failed": "መገለጫዎን ሲጭን አንድ ነገር ተሳስቷል",
"options": "የእውቂያ አማራጮች",
"types": {
"phone": "ስልክ",
"instagram": "Instagram",
"telegram": "Telegram",
"whatsapp": "Whatsapp"
},
"phone": {
"label": "የስልክ ቁጥር (ከዲዲዲ ጋር)",
"placeholder": "ዘጸ-{{example_number}}",
"submit": "ስልክ ቁጥር ያክሉ"
},
"username": {
"label": "የተጠቃሚ ስም",
"placeholder": "ዘፀ: cambiatus",
"submit": "መገለጫ ያክሉ"
},
"validation": {
"phone": {
"blank": "እባክዎን የስልክ ቁጥርዎን ያስገቡ",
"invalid": "እባክዎ ትክክለኛ የስልክ ቁጥር ያስገቡ"
},
"username": {
"blank": "እባክዎን የመገለጫ ስምዎን ያስገቡ",
"invalid": "እባክዎ ትክክለኛ የመገለጫ ስም ያስገቡ"
}
},
"feedback": {
"single": {
"success": "የእርስዎ እውቂያ በተሳካ ሁኔታ ተቀምጧል",
"failure": "ዕውቂያዎን ለማስቀመጥ ሲሞክሩ የሆነ ችግር ተፈጥሯል"
},
"multiple": {
"success": "እውቂያዎችዎ በተሳካ ሁኔታ ተቀምጠዋል",
"failure": "እውቂያዎችዎን ለማስቀመጥ ሲሞክሩ የሆነ ችግር ተፈጥሯል"
}
}
}
}
49 changes: 49 additions & 0 deletions public/translations/cat-CAT.json
Original file line number Diff line number Diff line change
Expand Up @@ -885,5 +885,54 @@
"more": "Mostra més",
"no_transfers_found": "No s'ha trobat transferència segons els vostres criteris.",
"pick_date": "Escolliu una data..."
},
"contact_modal": {
"new": "Novetat",
"title": "Afegiu el vostre Número de Telèfon",
"footer": "Podeu afegir-lo més endavant a l'àrea del perfil"
},
"contact_form": {
"country": "País",
"contact_type": "Tipus de contacte",
"error": "S'ha produït un error en afegir el vostre contacte",
"submit_multiple": "Desa",
"profile_loading_failed": "S'ha produït un error en carregar el vostre perfil",
"options": "Opcions de Contacte",
"types": {
"phone": "Telèfon",
"instagram": "Instagram",
"telegram": "Telegram",
"whatsapp": "Whatsapp"
},
"phone": {
"label": "Número de telèfon (amb DDD)",
"placeholder": "Ex.: {{example_number}}",
"submit": "Afegiu un Número de Telèfon"
},
"username": {
"label": "Nom d'usuari",
"placeholder": "Ex.: cambiatus",
"submit": "Afegeix un perfil"
},
"validation": {
"phone": {
"blank": "Introduïu el vostre número de telèfon",
"invalid": "Siusplau introdueixi un número de telèfon vàlid"
},
"username": {
"blank": "Introduïu el nom del vostre perfil",
"invalid": "Introduïu un nom de perfil vàlid"
}
},
"feedback": {
"single": {
"success": "El vostre contacte s'ha desat correctament",
"failure": "S'ha produït un error en intentar desar el contacte"
},
"multiple": {
"success": "Els vostres contactes s'han desat correctament",
"failure": "S'ha produït un error en intentar desar els vostres contactes"
}
}
}
}
49 changes: 49 additions & 0 deletions public/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -883,5 +883,54 @@
"more": "Show More",
"no_transfers_found": "No transfers were found according to your criteria.",
"pick_date": "Pick a date..."
},
"contact_modal": {
"new": "New",
"title": "Add your Phone Number",
"footer": "You can add it later in the profile's area"
},
"contact_form": {
"country": "Country",
"contact_type": "Contact type",
"error": "Something went wrong when adding your contact",
"submit_multiple": "Save",
"profile_loading_failed": "Something went wrong loading your profile",
"options": "Contact Options",
"types": {
"phone": "Phone",
"instagram": "Instagram",
"telegram": "Telegram",
"whatsapp": "Whatsapp"
},
"phone": {
"label": "Phone Number (with DDD)",
"placeholder": "Ex.: {{example_number}}",
"submit": "Add Phone Number"
},
"username": {
"label": "Username",
"placeholder": "Ex.: cambiatus",
"submit": "Add Profile"
},
"validation": {
"phone": {
"blank": "Please enter your phone number",
"invalid": "Please enter a valid phone number"
},
"username": {
"blank": "Please enter your profile name",
"invalid": "Please enter a valid profile name"
}
},
"feedback": {
"single": {
"success": "Contact saved successfully",
"failure": "Something went wrong while trying to save your contact"
},
"multiple": {
"success": "Contacts saved successfully",
"failure": "Something went wrong while trying to save your contacts"
}
}
}
}
49 changes: 49 additions & 0 deletions public/translations/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -885,5 +885,54 @@
"more": "Mostrar más",
"no_transfers_found": "No se encontraron transferencias según sus criterios.",
"pick_date": "Selecciona una fecha..."
},
"contact_modal": {
"new": "Nuevo",
"title": "Agrega tu Número de Teléfono",
"footer": "Puedes agregarlo más tarde en el área del perfil"
},
"contact_form": {
"country": "País",
"contact_type": "Tipo de Contacto",
"error": "Algo salió mal al agregar su contacto",
"submit_multiple": "Salvar",
"profile_loading_failed": "Algo salió mal al cargar tu perfil",
"options": "Opciones de Contacto",
"types": {
"phone": "Teléfono",
"instagram": "Instagram",
"telegram": "Telegram",
"whatsapp": "Whatsapp"
},
"phone": {
"label": "Número de teléfono (con DDD)",
"placeholder": "Ej.: {{example_number}}",
"submit": "Agregar el número de teléfono"
},
"username": {
"label": "Nombre de Usuario",
"placeholder": "Ej.: cambiatus",
"submit": "Agregar Perfil"
},
"validation": {
"phone": {
"blank": "Por favor, introduzca su número de teléfono",
"invalid": "Por favor ingrese un número de teléfono válido"
},
"username": {
"blank": "Ingrese su nombre de perfil",
"invalid": "Ingrese un nombre de perfil válido"
}
},
"feedback": {
"single": {
"success": "Tu contacto se ha guardado correctamente",
"failure": "Algo salió mal al intentar guardar su contacto"
},
"multiple": {
"success": "Tus contactos se han guardado correctamente",
"failure": "Se produjo un error al intentar guardar tus contactos."
}
}
}
}
49 changes: 49 additions & 0 deletions public/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -887,5 +887,54 @@
"more": "Mostre mais",
"no_transfers_found": "Nenhuma transferência foi encontrada de acordo com seus critérios.",
"pick_date": "Escolha uma data..."
},
"contact_modal": {
"new": "Novo",
"title": "Adicione seu Número de Telefone",
"footer": "Você pode fazer isso mais tarde na área do perfil"
},
"contact_form": {
"country": "País",
"contact_type": "Tipo de contato",
"error": "Algo deu errado ao adicionar seu contato",
"submit_multiple": "Salvar",
"profile_loading_failed": "Algo de errado aconteceu ao carregar seu perfil",
"options": "Opções de Contato",
"types": {
"phone": "Telefone",
"instagram": "Instagram",
"telegram": "Telegram",
"whatsapp": "Whatsapp"
},
"phone": {
"label": "Número de Telefone (com DDD)",
"placeholder": "Ex.: {{example_number}}",
"submit": "Adicionar Número de Telefone"
},
"username": {
"label": "Nome de Usuário",
"placeholder": "Ex.: cambiatus",
"submit": "Adicionar Perfil"
},
"validation": {
"phone": {
"blank": "Por favor insira seu número de telefone",
"invalid": "Por favor insira um número de telefone válido"
},
"username": {
"blank": "Por favor insira seu perfil",
"invalid": "Por favor insira um perfil válido"
}
},
"feedback": {
"single": {
"success": "Seu contato foi salvo com sucesso",
"failure": "Algo deu errado ao tentar salvar seu contato"
},
"multiple": {
"success": "Seus contatos foram salvos com sucesso",
"failure": "Algo deu errado ao tentar salvar seus contatos"
}
}
}
}
2 changes: 1 addition & 1 deletion src/elm/Cambiatus/Query.elm
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ type alias CountryRequiredArguments =
{ input : Cambiatus.InputObject.CountryInput }


{-| List of supported countries
{-| [Auth required] List of supported countries
-}
country :
CountryRequiredArguments
Expand Down
Loading