added missing translation for the profile setting page
This commit is contained in:
@@ -138,6 +138,15 @@ export const en = {
|
||||
SettingsPreferencesMicVolume: 'Mic volume',
|
||||
SettingsPreferencesDevice: 'Device',
|
||||
|
||||
NoAssociatedEmail: 'No associated email',
|
||||
nbGamesPlayed: 'Games played',
|
||||
XPDescription: 'XP is a measure of your progress. You earn XP by playing songs and completing challenges.',
|
||||
userCreatedAt: 'Creation date',
|
||||
premiumAccount: "Premium account",
|
||||
yes: 'Yes',
|
||||
no: 'No',
|
||||
|
||||
|
||||
};
|
||||
|
||||
export const fr: typeof en = {
|
||||
@@ -276,6 +285,14 @@ export const fr: typeof en = {
|
||||
recommendations: 'Recommandations',
|
||||
customAds: 'Publicités personnalisées',
|
||||
|
||||
NoAssociatedEmail: 'Aucun email associé',
|
||||
nbGamesPlayed: 'Parties jouées',
|
||||
XPDescription: 'L\'XP est gagnée en jouant des chansons. Plus vous jouez, plus vous gagnez d\'XP. Plus vous avez d\'XP, plus vous montez de niveau.',
|
||||
userCreatedAt: 'Compte créé le',
|
||||
premiumAccount: 'Compte premium',
|
||||
yes: 'Oui',
|
||||
no: 'Non',
|
||||
|
||||
};
|
||||
|
||||
export const sp: typeof en = {
|
||||
@@ -398,6 +415,7 @@ export const sp: typeof en = {
|
||||
SettingsCategorySecurity: 'Seguridad',
|
||||
SettingsCategoryEmail: 'Email',
|
||||
SettingsCategoryGoogle: 'Google',
|
||||
SettingsCategoryPiano: 'Piano',
|
||||
|
||||
transformGuestToUserExplanations: 'Actualmente estás conectado como invitado. Puedes crear una cuenta para guardar tus datos y disfrutar de todas las funciones de Chromacase.',
|
||||
SettingsCategoryGuest: 'Invitado',
|
||||
@@ -416,4 +434,12 @@ export const sp: typeof en = {
|
||||
dataCollection: 'Recopilación de datos',
|
||||
recommendations: 'Recomendaciones',
|
||||
customAds: 'Anuncios personalizados',
|
||||
|
||||
NoAssociatedEmail: 'No hay correo electrónico asociado',
|
||||
nbGamesPlayed: 'Partidos jugados',
|
||||
XPDescription: 'XP se gana jugando canciones. Cuanto más juegas, más XP ganas. Cuanto más XP tienes, más subes de nivel.',
|
||||
userCreatedAt: 'Cuenta creada el',
|
||||
premiumAccount: 'Cuenta premium',
|
||||
yes: 'Sí',
|
||||
no: 'No',
|
||||
};
|
||||
@@ -82,9 +82,9 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
|
||||
elements={[
|
||||
{
|
||||
type: "text",
|
||||
title: "Email",
|
||||
title: translate("email"),
|
||||
data: {
|
||||
text: user.email || "Aucun email associé",
|
||||
text: user.email || translate("NoAssociatedEmail"),
|
||||
onPress: () => {
|
||||
navigation.navigate("ChangeEmail");
|
||||
},
|
||||
@@ -102,7 +102,7 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
|
||||
elements={[
|
||||
{
|
||||
type: "text",
|
||||
title: "Username",
|
||||
title: translate("username"),
|
||||
data: {
|
||||
text: user.name,
|
||||
},
|
||||
@@ -117,7 +117,7 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
title: "Party played",
|
||||
title: translate("nbGamesPlayed"),
|
||||
data: {
|
||||
text: user.data.partyPlayed,
|
||||
},
|
||||
@@ -126,14 +126,14 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
|
||||
type: "text",
|
||||
title: "XP",
|
||||
description:
|
||||
"XP is the experience points you get by playing games",
|
||||
translate("XPDescription"),
|
||||
data: {
|
||||
text: user.data.xp,
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
title: "Date de création",
|
||||
title: translate("userCreatedAt"),
|
||||
helperText:
|
||||
"La date de création est actuellement arbitraire car le serveur ne retourne pas cette information",
|
||||
data: {
|
||||
@@ -142,9 +142,9 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
title: "Compte Premium",
|
||||
title: translate("premiumAccount"),
|
||||
data: {
|
||||
text: user.premium ? "Oui" : "Non",
|
||||
text: translate(user.premium ? "yes" : "no"),
|
||||
},
|
||||
}
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user