Skip to content

Commit

Permalink
remplacement anglais -> français
Browse files Browse the repository at this point in the history
  • Loading branch information
squatteur committed Dec 5, 2017
1 parent 0c3ebb9 commit 4fd4b85
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions src/pages/buddies/buddies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ export class BuddiesPage {
this.newrequest.sender = firebase.auth().currentUser.uid;
this.newrequest.recipient = recipient.uid;
if (this.newrequest.sender === this.newrequest.recipient)
alert('You are your friend always');
alert('Tu sera toujours ton ami');
else {
let successalert = this.alertCtrl.create({
title: 'Request sent',
subTitle: 'Your request was sent to ' + recipient.displayName,
title: 'Requête envoyée',
subTitle: 'Votre requête a été envoyé à ' + recipient.displayName,
buttons: ['ok']
});

Expand Down
2 changes: 1 addition & 1 deletion src/pages/buddychat/buddychat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class BuddychatPage {

sendPicMsg() {
let loader = this.loadingCtrl.create({
content: 'Please wait'
content: 'S\'il vous plaît, attendez'
});
loader.present();
this.imgstore.picmsgstore().then((imgurl) => {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/chats/chats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export class ChatsPage {
this.requestservice.acceptrequest(item).then(() => {

let newalert = this.alertCtrl.create({
title: 'Friend added',
subTitle: 'Tap on the friend to chat with him',
title: 'Ami ajouté',
subTitle: 'Appuyez sur l\'ami pour discuter avec lui',
buttons: ['Okay']
});
newalert.present();
Expand Down
24 changes: 12 additions & 12 deletions src/pages/groupchat/groupchat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class GroupchatPage {

sendpicmsg() {
let loader = this.loadingCtrl.create({
content: 'Please wait'
content: 'S\'il vous plaît attendez'
});
loader.present();
this.imgstore.picmsgstore().then((imgurl) => {
Expand All @@ -91,28 +91,28 @@ export class GroupchatPage {
title: 'Group Actions',
buttons: [
{
text: 'Add member',
text: 'Ajouter un membre',
icon: 'person-add',
handler: () => {
this.navCtrl.push('GroupbuddiesPage');
}
},
{
text: 'Remove member',
text: 'Supprimer un membre',
icon: 'remove-circle',
handler: () => {
this.navCtrl.push('GroupmembersPage');
}
},
{
text: 'Group Info',
text: 'Info du groupe',
icon: 'person',
handler: () => {
this.navCtrl.push('GroupinfoPage', {groupName: this.groupName});
}
},
{
text: 'Delete Group',
text: 'Suppression du groupe',
icon: 'trash',
handler: () => {
this.groupservice.deletegroup().then(() => {
Expand All @@ -123,11 +123,11 @@ export class GroupchatPage {
}
},
{
text: 'Cancel',
text: 'Annuler',
role: 'cancel',
icon: 'cancel',
handler: () => {
console.log('Cancelled');
console.log('Annulé');
}
}
]
Expand All @@ -137,10 +137,10 @@ export class GroupchatPage {

presentMemberSheet() {
let sheet = this.actionSheet.create({
title: 'Group Actions',
title: 'Actions de groupe',
buttons: [
{
text: 'Leave Group',
text: 'Quitter le groupe',
icon: 'log-out',
handler: () => {
this.groupservice.leavegroup().then(() => {
Expand All @@ -151,18 +151,18 @@ export class GroupchatPage {
}
},
{
text: 'Group Info',
text: 'Info de groupe',
icon: 'person',
handler: () => {
this.navCtrl.push('GroupinfoPage', {groupName: this.groupName});
}
},
{
text: 'Cancel',
text: 'Annuler',
role: 'cancel',
icon: 'cancel',
handler: () => {
console.log('Cancelled');
console.log('Annulé');
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/pages/groups/groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class GroupsPage {

ionViewWillEnter() {
let loader = this.loadingCtrl.create({
content: 'Getting your groups, Please wait...'
content: 'Obtenir vos groupes, veuillez patienter ...'
});
loader.present();
this.groupservice.getmygroups();
Expand Down

0 comments on commit 4fd4b85

Please sign in to comment.