diff --git a/src/components/error/Error404.vue b/src/components/error/Error404.vue
index 85abcb0..cb93ce4 100644
--- a/src/components/error/Error404.vue
+++ b/src/components/error/Error404.vue
@@ -1,7 +1,5 @@
-
+ {{ error}}
diff --git a/src/i18n/en.ts b/src/i18n/en.ts
index 3b6fa90..a42cc5d 100644
--- a/src/i18n/en.ts
+++ b/src/i18n/en.ts
@@ -26,7 +26,8 @@ const messages = {
confirmPasswordPlaceHolder: 'Re-enter password',
rememberMe: 'Remember Me',
profilePhoto: 'profile photo',
- coverPhoto: 'cover photo'
+ coverPhoto: 'cover photo',
+ privacy: 'Privacy',
},
cancel: 'Cancel',
save: 'Save',
@@ -95,6 +96,21 @@ const messages = {
notFound: 'Page not found',
},
+ profile: {
+ card: {
+ info: {
+ title: 'Account Info',
+ verifyButton: 'Verify Email',
+ updatePasswordButton: 'Update Password',
+ mailVerified: 'Email is verified',
+ mailNotVerified: 'Email is not verified',
+ },
+ linkedAccounts: {
+ title: 'Linked Accounts',
+ },
+ },
+ },
+
notification: {
verifyMailSent: 'Verification mail has been sent to {email}',
verifyMailNotSent: 'Verification mail can not sent to {email}',
@@ -147,20 +163,6 @@ const messages = {
},
},
- card: {
- user: {
- title: 'Account Info',
- providers: 'Providers',
- verifyButton: 'Verify Email',
- updatePasswordButton: 'Update Password',
- mailVerified: 'Email is verified',
- mailNotVerified: 'Email is not verified',
- },
- linkedAccounts: {
- title: 'Linked Accounts:',
- },
- },
-
provider: {
label: {
password: 'Password',
@@ -197,6 +199,7 @@ const messages = {
},
},
},
+
image: {
crop: {
preview: 'Preview',
@@ -205,6 +208,20 @@ const messages = {
dragAndDropButton: 'Drop your files here or click to upload',
},
},
+
+ privacy: {
+ private: {
+ title: 'Private',
+ subtitle: 'No one can see',
+ description: 'No one can see any data of you',
+ },
+ public: {
+ title: 'Public',
+ subtitle: 'Everyone can see',
+ description: 'The authenticated users can see your non-sensitive data like name, username, profile and cover photo',
+ },
+ notSelected: 'Select visibility',
+ },
}
export default messages
diff --git a/src/i18n/tr.ts b/src/i18n/tr.ts
index 75bea14..0f55473 100644
--- a/src/i18n/tr.ts
+++ b/src/i18n/tr.ts
@@ -27,7 +27,8 @@ const messages = {
confirmPasswordPlaceHolder: 'Parolanizi tekrar giriniz',
rememberMe: 'Beni Hatirla',
profilePhoto: 'Profil fotografi',
- coverPhoto: 'Kapak fotografi'
+ coverPhoto: 'Kapak fotografi',
+ privacy: 'Gizlilik',
},
cancel: 'Iptal',
save: 'Kaydet',
@@ -48,6 +49,21 @@ const messages = {
logout: 'Cikis Yap',
},
+ profile: {
+ card: {
+ info: {
+ title: 'Hesap Bilgileri',
+ verifyButton: 'E-posta Dogrula',
+ updatePasswordButton: 'Parolayi guncelle',
+ mailVerified: 'E-posta dogrulandi',
+ mailNotVerified: 'E-posta dogrulanmadi',
+ },
+ linkedAccounts: {
+ title: 'Bagli Hesaplar',
+ },
+ },
+ },
+
page: {
home: {
title: 'Anasayfaya hosgeldiniz',
@@ -146,20 +162,6 @@ const messages = {
},
},
- card: {
- user: {
- title: 'Hesap Bilgileri',
- providers: 'Saglayicilar',
- verifyButton: 'E-posta Dogrula',
- updatePasswordButton: 'Parolayi guncelle',
- mailVerified: 'E-posta dogrulandi',
- mailNotVerified: 'E-posta dogrulanmadi',
- },
- linkedAccounts: {
- title: 'Bagli Hesaplar:',
- },
- },
-
provider: {
label: {
password: 'Password',
@@ -202,6 +204,19 @@ const messages = {
dragAndDropButton: 'Dosya yuklemek icin tikla veya surukle&birak',
},
},
+ privacy: {
+ private: {
+ title: 'Gizli',
+ subtitle: 'Kimse goremez',
+ description: 'Kimse size ait her hangi bir bilgiye ulasamaz',
+ },
+ public: {
+ title: 'Herkese Acik',
+ subtitle: 'Herkes gorebilir',
+ description: 'Giris yapmis kullanicilar, kisisel olmayan bilgilerinize gorebilir. ornegin isim, kullanici adi, profil ve kapak fotografi',
+ },
+ notSelected: 'Gizliligi belirle',
+ },
}
export default messages
diff --git a/src/pages/u/_username/index.vue b/src/pages/u/_username/index.vue
index 3fc53a0..e1631b9 100644
--- a/src/pages/u/_username/index.vue
+++ b/src/pages/u/_username/index.vue
@@ -5,7 +5,7 @@