From ab92c0fcf9466f24dc9668634e135d27752aa90f Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Fri, 19 Jan 2024 00:37:26 +0200 Subject: [PATCH] Remove real name from present users API --- app/views/api/users/present.json.jbuilder | 2 +- config/locales/bg.yml | 2 +- config/locales/en.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/api/users/present.json.jbuilder b/app/views/api/users/present.json.jbuilder index 56865fa8..26bf9e15 100644 --- a/app/views/api/users/present.json.jbuilder +++ b/app/views/api/users/present.json.jbuilder @@ -1 +1 @@ -json.array! @users, :id, :name, :url, :twitter, :username, :github, :jabber, :picture +json.array! @users, :id, :url, :twitter, :username, :github, :jabber, :picture diff --git a/config/locales/bg.yml b/config/locales/bg.yml index c0207815..e7e8516f 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -118,7 +118,7 @@ bg: are_you_sure: Сигурни ли Сте, че искате да изтриете регистрацията си? add_phone_number: Добави телефонен номер announce_my_presence_explanation: | - Ако изберете тази отметка, вашето име, потребителско име, аватар и + Ако изберете тази отметка, вашето потребителско име, аватар и публични данни от профила (сайт, Github, Twitter) ще са видими на началната страница на Fauna. Вашето потребителско име ще бъде изпращано в Twitter, IRC и Telegram, когато отключвате, заключвате или отваряте diff --git a/config/locales/en.yml b/config/locales/en.yml index 11ca9c1f..d2f5470f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -112,7 +112,7 @@ en: are_you_sure: Are you sure that you want to delete your registration? add_phone_number: Add phone number announce_my_presence_explanation: | - If you select this option, your name, username, avatar and public + If you select this option, your username, avatar and public profile information (website, Github, Twitter) will be visible on the Fauna homepage. Your username will be sent to Twitter, IRC and Telegram every time you unlock, lock or open any of the doors or switch the lights.