From f16da850fde7c03776a68f925c96d5e2035a04fa Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 2 Aug 2022 09:20:07 -0400 Subject: [PATCH 001/941] Add React Query --- app/soapbox/actions/auth.ts | 4 +- app/soapbox/containers/soapbox.tsx | 29 ++++++---- app/soapbox/contexts/auth-context.tsx | 77 +++++++++++++++++++++++++++ app/soapbox/features/ui/index.tsx | 72 +++++++++++++------------ app/soapbox/queries/client.ts | 36 ++++++++++++- app/soapbox/reducers/auth.js | 2 +- 6 files changed, 172 insertions(+), 48 deletions(-) create mode 100644 app/soapbox/contexts/auth-context.tsx diff --git a/app/soapbox/actions/auth.ts b/app/soapbox/actions/auth.ts index d3252e7fb..53209464e 100644 --- a/app/soapbox/actions/auth.ts +++ b/app/soapbox/actions/auth.ts @@ -202,9 +202,7 @@ export const rememberAuthAccount = (accountUrl: string) => export const loadCredentials = (token: string, accountUrl: string) => (dispatch: AppDispatch) => dispatch(rememberAuthAccount(accountUrl)) - .then(() => { - dispatch(verifyCredentials(token, accountUrl)); - }) + .then(() => dispatch(verifyCredentials(token, accountUrl))) .catch(() => dispatch(verifyCredentials(token, accountUrl))); /** Trim the username and strip the leading @. */ diff --git a/app/soapbox/containers/soapbox.tsx b/app/soapbox/containers/soapbox.tsx index 099bb3b96..54404b92a 100644 --- a/app/soapbox/containers/soapbox.tsx +++ b/app/soapbox/containers/soapbox.tsx @@ -17,6 +17,7 @@ import * as BuildConfig from 'soapbox/build_config'; import GdprBanner from 'soapbox/components/gdpr-banner'; import Helmet from 'soapbox/components/helmet'; import LoadingScreen from 'soapbox/components/loading-screen'; +import { AuthProvider, useAuth } from 'soapbox/contexts/auth-context'; import AuthLayout from 'soapbox/features/auth_layout'; import EmbeddedStatus from 'soapbox/features/embedded-status'; import PublicLayout from 'soapbox/features/public_layout'; @@ -40,6 +41,7 @@ import { } from 'soapbox/hooks'; import MESSAGES from 'soapbox/locales/messages'; import { queryClient } from 'soapbox/queries/client'; +import { useAxiosInterceptors } from 'soapbox/queries/client'; import { useCachedLocationHandler } from 'soapbox/utils/redirect'; import { generateThemeCss } from 'soapbox/utils/theme'; @@ -63,7 +65,7 @@ const loadInitial = () => { // @ts-ignore return async(dispatch, getState) => { // Await for authenticated fetch - await dispatch(fetchMe()); + const account = await dispatch(fetchMe()); // Await for feature detection await dispatch(loadInstance()); // Await for configuration @@ -76,12 +78,15 @@ const loadInitial = () => { if (pepeEnabled && !state.me) { await dispatch(fetchVerificationConfig()); } + + return account; }; }; /** Highest level node with the Redux store. */ const SoapboxMount = () => { useCachedLocationHandler(); + const me = useAppSelector(state => state.me); const instance = useAppSelector(state => state.instance); const account = useOwnAccount(); @@ -204,6 +209,9 @@ interface ISoapboxLoad { /** Initial data loader. */ const SoapboxLoad: React.FC = ({ children }) => { const dispatch = useAppDispatch(); + const { setAccount, token, baseApiUri } = useAuth(); + + useAxiosInterceptors(token, baseApiUri); const me = useAppSelector(state => state.me); const account = useOwnAccount(); @@ -233,7 +241,8 @@ const SoapboxLoad: React.FC = ({ children }) => { // Load initial data from the API useEffect(() => { - dispatch(loadInitial()).then(() => { + dispatch(loadInitial()).then((account) => { + setAccount(account); setIsLoaded(true); }).catch(() => { setIsLoaded(true); @@ -292,13 +301,15 @@ const SoapboxHead: React.FC = ({ children }) => { const Soapbox: React.FC = () => { return ( - - - - - - - + + + + + + + + + ); }; diff --git a/app/soapbox/contexts/auth-context.tsx b/app/soapbox/contexts/auth-context.tsx new file mode 100644 index 000000000..7c023e92d --- /dev/null +++ b/app/soapbox/contexts/auth-context.tsx @@ -0,0 +1,77 @@ + +import React, { + createContext, + useContext, + useEffect, + useMemo, + useState, +} from 'react'; + +import { localState } from 'soapbox/reducers/auth'; +import { parseBaseURL } from 'soapbox/utils/auth'; + +const AuthContext = createContext(null as any); + +interface IAccount { + acct: string + avatar: string + avatar_static: string + bot: boolean + created_at: string + discoverable: boolean + display_name: string + emojis: string[] + fields: any // not sure + followers_count: number + following_count: number + group: boolean + header: string + header_static: string + id: string + last_status_at: string + location: string + locked: boolean + note: string + statuses_count: number + url: string + username: string + verified: boolean + website: string +} + +export const AuthProvider: React.FC = ({ children }: { children: React.ReactNode }) => { + const [account, setAccount] = useState(); + const [token, setToken] = useState(); + const [baseApiUri, setBaseApiUri] = useState(); + + const value = useMemo(() => ({ + account, + baseApiUri, + setAccount, + token, + }), [account]); + + useEffect(() => { + const cachedAuth: any = localState?.toJS(); + + if (cachedAuth?.me) { + setToken(cachedAuth.users[cachedAuth.me].access_token); + setBaseApiUri(parseBaseURL(cachedAuth.users[cachedAuth.me].url)); + } + }, []); + + return ( + + {children} + + ); +}; + +interface IAuth { + account: IAccount + baseApiUri: string + setAccount(account: IAccount): void + token: string +} + +export const useAuth = (): IAuth => useContext(AuthContext); diff --git a/app/soapbox/features/ui/index.tsx b/app/soapbox/features/ui/index.tsx index e7c0f74e2..31d555f4a 100644 --- a/app/soapbox/features/ui/index.tsx +++ b/app/soapbox/features/ui/index.tsx @@ -1,5 +1,6 @@ 'use strict'; +import { QueryClientProvider } from '@tanstack/react-query'; import debounce from 'lodash/debounce'; import React, { useState, useEffect, useRef, useCallback } from 'react'; import { HotKeys } from 'react-hotkeys'; @@ -119,6 +120,7 @@ import { WrappedRoute } from './util/react_router_helpers'; // Dummy import, to make sure that ends up in the application bundle. // Without this it ends up in ~8 very commonly used bundles. import 'soapbox/components/status'; +import { queryClient } from 'soapbox/queries/client'; const EmptyPage = HomePage; @@ -648,51 +650,53 @@ const UI: React.FC = ({ children }) => { }; return ( - -
- + + +
+ -
- +
+ - - - {!standalone && } - + + + {!standalone && } + - - {children} - - + + {children} + + - {me && floatingActionButton} + {me && floatingActionButton} - - {Component => } - + + {Component => } + - {me && ( - + {me && ( + + {Component => } + + )} + {me && features.chats && !mobile && ( + + {Component => } + + )} + + + {Component => } - )} - {me && features.chats && !mobile && ( - + + {Component => } - )} - - - - {Component => } - - - - {Component => } - +
-
-
+ +
); }; diff --git a/app/soapbox/queries/client.ts b/app/soapbox/queries/client.ts index d772e9288..dd9fafa46 100644 --- a/app/soapbox/queries/client.ts +++ b/app/soapbox/queries/client.ts @@ -1,4 +1,38 @@ import { QueryClient } from '@tanstack/react-query'; +import axios, { AxiosRequestConfig } from 'axios'; + +import * as BuildConfig from 'soapbox/build_config'; +import { isURL } from 'soapbox/utils/auth'; + +const maybeParseJSON = (data: string) => { + try { + return JSON.parse(data); + } catch (Exception) { + return data; + } +}; + +const API = axios.create({ + transformResponse: [maybeParseJSON], +}); + +const useAxiosInterceptors = (token: string, baseApiUri: string) => { + API.interceptors.request.use( + async (config: AxiosRequestConfig) => { + if (token) { + config.baseURL = isURL(BuildConfig.BACKEND_URL) ? BuildConfig.BACKEND_URL : baseApiUri; + // eslint-disable-next-line no-param-reassign + config.headers = { + ...config.headers, + Authorization: (token ? `Bearer ${token}` : null) as string | number | boolean | string[] | undefined, + } as any; + } + + return config; + }, + (error) => Promise.reject(error), + ); +}; const queryClient = new QueryClient({ defaultOptions: { @@ -10,4 +44,4 @@ const queryClient = new QueryClient({ }, }); -export { queryClient }; +export { API as default, queryClient, useAxiosInterceptors }; diff --git a/app/soapbox/reducers/auth.js b/app/soapbox/reducers/auth.js index 2f0c773cd..ad0da1a1d 100644 --- a/app/soapbox/reducers/auth.js +++ b/app/soapbox/reducers/auth.js @@ -38,7 +38,7 @@ const getSessionUser = () => { }; const sessionUser = getSessionUser(); -const localState = fromJS(JSON.parse(localStorage.getItem(STORAGE_KEY))); +export const localState = fromJS(JSON.parse(localStorage.getItem(STORAGE_KEY))); // Checks if the user has an ID and access token const validUser = user => { From 0b4fc431725ba7b3dab44e8b602ab7560c4b81b1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 20 Jul 2022 15:32:25 -0500 Subject: [PATCH 002/941] Chats: break out Pane into a UI component --- .../features/chats/components/chat-panes.tsx | 9 +++--- .../features/chats/components/chat-window.tsx | 9 ++---- .../features/chats/components/ui/index.ts | 2 ++ .../features/chats/components/ui/pane.tsx | 32 +++++++++++++++++++ 4 files changed, 42 insertions(+), 10 deletions(-) create mode 100644 app/soapbox/features/chats/components/ui/index.ts create mode 100644 app/soapbox/features/chats/components/ui/pane.tsx diff --git a/app/soapbox/features/chats/components/chat-panes.tsx b/app/soapbox/features/chats/components/chat-panes.tsx index 6ed873139..7bd8cd9d5 100644 --- a/app/soapbox/features/chats/components/chat-panes.tsx +++ b/app/soapbox/features/chats/components/chat-panes.tsx @@ -15,6 +15,7 @@ import { Chat } from 'soapbox/types/entities'; import ChatList from './chat-list'; import ChatWindow from './chat-window'; +import { Pane, WindowState } from './ui'; const messages = defineMessages({ searchPlaceholder: { id: 'chats.search_placeholder', defaultMessage: 'Start a chat with…' }, @@ -43,7 +44,7 @@ const ChatPanes = () => { const history = useHistory(); const panes = useAppSelector((state) => normalizeChatPanes(state)); - const mainWindowState = useSettings().getIn(['chats', 'mainWindow']); + const mainWindowState = useSettings().getIn(['chats', 'mainWindow']) as WindowState; const unreadCount = useAppSelector((state) => getChatsUnreadCount(state)); const handleClickChat = ((chat: Chat) => { @@ -61,7 +62,7 @@ const ChatPanes = () => { const open = mainWindowState === 'open'; const mainWindowPane = ( -
+
{unreadCount > 0 && (
@@ -87,7 +88,7 @@ const ChatPanes = () => { )}
-
+
); return ( @@ -95,7 +96,7 @@ const ChatPanes = () => { {mainWindowPane} {panes.map((pane, i) => ( = ({ idx, chatId, windowState }) => { if (!chat) return null; const account = chat.account as unknown as AccountEntity; - - const right = (285 * (idx + 1)) + 20; const unreadCount = chat.unread; const unreadIcon = ( @@ -91,7 +88,7 @@ const ChatWindow: React.FC = ({ idx, chatId, windowState }) => { ); return ( -
+ {unreadCount > 0 ? unreadIcon : avatar }
-
+ ); }; diff --git a/app/soapbox/features/chats/components/ui/index.ts b/app/soapbox/features/chats/components/ui/index.ts new file mode 100644 index 000000000..e028d7509 --- /dev/null +++ b/app/soapbox/features/chats/components/ui/index.ts @@ -0,0 +1,2 @@ +export { Pane } from './pane'; +export type { WindowState } from './pane'; diff --git a/app/soapbox/features/chats/components/ui/pane.tsx b/app/soapbox/features/chats/components/ui/pane.tsx new file mode 100644 index 000000000..b04ff3d29 --- /dev/null +++ b/app/soapbox/features/chats/components/ui/pane.tsx @@ -0,0 +1,32 @@ +import classNames from 'classnames'; +import React from 'react'; + +/** Chat pane state. */ +export type WindowState = 'open' | 'minimized'; + +interface IPane { + /** Whether the pane is open or minimized. */ + windowState: WindowState, + /** Positions the pane on the screen, with 0 at the right. */ + index: number, + /** Children to display in the pane. */ + children: React.ReactNode, + /** Whether this is the main chat pane. */ + main?: boolean, +} + +/** Chat pane UI component for desktop. */ +const Pane: React.FC = ({ windowState, index, children, main = false }) => { + const right = (285 * index) + 20; + + return ( +
+ {children} +
+ ); +}; + +export { Pane }; From 58322862e40cdd84762143d95e9d65c347e3c74b Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 20 Jul 2022 20:58:45 -0500 Subject: [PATCH 003/941] Make chat panes REALLY BIG --- app/soapbox/features/chats/components/chat-panes.tsx | 2 +- app/soapbox/features/chats/components/ui/pane.tsx | 7 +++++-- app/styles/chats.scss | 9 ++------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/app/soapbox/features/chats/components/chat-panes.tsx b/app/soapbox/features/chats/components/chat-panes.tsx index 7bd8cd9d5..d2aae435d 100644 --- a/app/soapbox/features/chats/components/chat-panes.tsx +++ b/app/soapbox/features/chats/components/chat-panes.tsx @@ -27,7 +27,7 @@ const getChatsUnreadCount = (state: RootState) => { }; // Filter out invalid chats -const normalizePanes = (chats: Immutable.Map, panes = ImmutableList>()) => ( +const normalizePanes = (chats: ImmutableMap, panes = ImmutableList>()) => ( panes.filter(pane => chats.get(pane.get('chat_id'))) ); diff --git a/app/soapbox/features/chats/components/ui/pane.tsx b/app/soapbox/features/chats/components/ui/pane.tsx index b04ff3d29..b8eda30e0 100644 --- a/app/soapbox/features/chats/components/ui/pane.tsx +++ b/app/soapbox/features/chats/components/ui/pane.tsx @@ -17,11 +17,14 @@ interface IPane { /** Chat pane UI component for desktop. */ const Pane: React.FC = ({ windowState, index, children, main = false }) => { - const right = (285 * index) + 20; + const right = (404 * index) + 20; return (
{children} diff --git a/app/styles/chats.scss b/app/styles/chats.scss index 5bfb5362c..1fdd7ad02 100644 --- a/app/styles/chats.scss +++ b/app/styles/chats.scss @@ -1,5 +1,5 @@ .pane { - @apply flex flex-col shadow-md rounded-t-md fixed bottom-0 right-5 w-[256px] h-[350px] z-[1000]; + @apply flex flex-col shadow-md rounded-t-md fixed bottom-0 right-5 w-96 h-[350px] z-[1000]; max-height: calc(100vh - 70px); transition: 0.05s; @@ -11,10 +11,6 @@ } } - &--minimized { - height: 31px; - } - .search--account { border-top: 1px solid hsla(var(--primary-text-color_hsl), 0.2); padding: 5px; @@ -25,8 +21,7 @@ } &__header { - @apply flex items-center py-0 px-2.5 box-border rounded-t-md font-bold bg-primary-600 text-white; - height: 31px; + @apply flex items-center py-0 px-2.5 h-14 box-border rounded-t-md font-bold bg-primary-600 text-white; .account__avatar { margin-right: 7px; From 2aab3bb736a1b0f53d36281595df14e5f3242692 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 9 Aug 2022 14:17:33 -0400 Subject: [PATCH 004/941] Change translations for chat --- app/soapbox/locales/ar.json | 4 ++-- app/soapbox/locales/ast.json | 4 ++-- app/soapbox/locales/bg.json | 4 ++-- app/soapbox/locales/bn.json | 4 ++-- app/soapbox/locales/br.json | 4 ++-- app/soapbox/locales/ca.json | 2 +- app/soapbox/locales/co.json | 4 ++-- app/soapbox/locales/cs.json | 2 +- app/soapbox/locales/cy.json | 4 ++-- app/soapbox/locales/da.json | 4 ++-- app/soapbox/locales/el.json | 4 ++-- app/soapbox/locales/en.json | 4 ++-- app/soapbox/locales/eo.json | 4 ++-- app/soapbox/locales/es-AR.json | 4 ++-- app/soapbox/locales/es.json | 4 ++-- app/soapbox/locales/et.json | 4 ++-- app/soapbox/locales/eu.json | 4 ++-- app/soapbox/locales/fa.json | 4 ++-- app/soapbox/locales/fi.json | 4 ++-- app/soapbox/locales/fr.json | 4 ++-- app/soapbox/locales/ga.json | 4 ++-- app/soapbox/locales/gl.json | 4 ++-- app/soapbox/locales/hi.json | 4 ++-- app/soapbox/locales/hr.json | 4 ++-- app/soapbox/locales/hu.json | 4 ++-- app/soapbox/locales/hy.json | 4 ++-- app/soapbox/locales/id.json | 4 ++-- app/soapbox/locales/io.json | 4 ++-- app/soapbox/locales/ja.json | 2 +- app/soapbox/locales/ka.json | 4 ++-- app/soapbox/locales/kk.json | 4 ++-- app/soapbox/locales/ko.json | 4 ++-- app/soapbox/locales/lt.json | 4 ++-- app/soapbox/locales/lv.json | 4 ++-- app/soapbox/locales/mk.json | 4 ++-- app/soapbox/locales/ms.json | 4 ++-- app/soapbox/locales/nl.json | 4 ++-- app/soapbox/locales/nn.json | 4 ++-- app/soapbox/locales/no.json | 4 ++-- app/soapbox/locales/oc.json | 4 ++-- app/soapbox/locales/pt-BR.json | 4 ++-- app/soapbox/locales/pt.json | 2 +- app/soapbox/locales/ro.json | 4 ++-- app/soapbox/locales/ru.json | 2 +- app/soapbox/locales/sk.json | 4 ++-- app/soapbox/locales/sl.json | 4 ++-- app/soapbox/locales/sq.json | 4 ++-- app/soapbox/locales/sr-Latn.json | 4 ++-- app/soapbox/locales/sr.json | 4 ++-- app/soapbox/locales/sv.json | 4 ++-- app/soapbox/locales/ta.json | 4 ++-- app/soapbox/locales/te.json | 4 ++-- app/soapbox/locales/th.json | 4 ++-- app/soapbox/locales/tr.json | 4 ++-- app/soapbox/locales/uk.json | 4 ++-- app/soapbox/locales/zh-HK.json | 4 ++-- app/soapbox/locales/zh-TW.json | 4 ++-- 57 files changed, 109 insertions(+), 109 deletions(-) diff --git a/app/soapbox/locales/ar.json b/app/soapbox/locales/ar.json index bb72e7904..cd7870935 100644 --- a/app/soapbox/locales/ar.json +++ b/app/soapbox/locales/ar.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "إعادة المحاولة", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ast.json b/app/soapbox/locales/ast.json index cf907e74d..92962d083 100644 --- a/app/soapbox/locales/ast.json +++ b/app/soapbox/locales/ast.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/bg.json b/app/soapbox/locales/bg.json index c470f3895..54c4a62ac 100644 --- a/app/soapbox/locales/bg.json +++ b/app/soapbox/locales/bg.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/bn.json b/app/soapbox/locales/bn.json index 8154f0e45..e64f15445 100644 --- a/app/soapbox/locales/bn.json +++ b/app/soapbox/locales/bn.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "আবার চেষ্টা করুন", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/br.json b/app/soapbox/locales/br.json index 4008d5d24..0fe6b6724 100644 --- a/app/soapbox/locales/br.json +++ b/app/soapbox/locales/br.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Klask endro", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ca.json b/app/soapbox/locales/ca.json index 53131bbdb..2dfbb3bfd 100644 --- a/app/soapbox/locales/ca.json +++ b/app/soapbox/locales/ca.json @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Notificació amb so desactivada", "chats.audio_toggle_on": "Notificació amb so activada", "chats.dividers.today": "Avui", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Esperant aprovació", "column.admin.dashboard": "Tauler", "column.admin.moderation_log": "Registre de moderació", diff --git a/app/soapbox/locales/co.json b/app/soapbox/locales/co.json index 81db01620..2b821ccc1 100644 --- a/app/soapbox/locales/co.json +++ b/app/soapbox/locales/co.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Pruvà torna", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/cs.json b/app/soapbox/locales/cs.json index 8d40c597b..cfedb6d21 100644 --- a/app/soapbox/locales/cs.json +++ b/app/soapbox/locales/cs.json @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio upozornění vypnuté", "chats.audio_toggle_on": "Audio upozornění zapnoté", "chats.dividers.today": "Dnes", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/cy.json b/app/soapbox/locales/cy.json index fea3d1b18..7b3d25bef 100644 --- a/app/soapbox/locales/cy.json +++ b/app/soapbox/locales/cy.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Ceiswich eto", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/da.json b/app/soapbox/locales/da.json index d0272e3e4..9b49f9f9f 100644 --- a/app/soapbox/locales/da.json +++ b/app/soapbox/locales/da.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Prøv igen", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/el.json b/app/soapbox/locales/el.json index 824b35bb5..339a0c2c8 100644 --- a/app/soapbox/locales/el.json +++ b/app/soapbox/locales/el.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Δοκίμασε ξανά", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/en.json b/app/soapbox/locales/en.json index cded97f64..9c57027ae 100644 --- a/app/soapbox/locales/en.json +++ b/app/soapbox/locales/en.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/eo.json b/app/soapbox/locales/eo.json index afd929700..1795b1893 100644 --- a/app/soapbox/locales/eo.json +++ b/app/soapbox/locales/eo.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Bonvolu reprovi", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/es-AR.json b/app/soapbox/locales/es-AR.json index 6d015b300..c0371ace5 100644 --- a/app/soapbox/locales/es-AR.json +++ b/app/soapbox/locales/es-AR.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Intentá de nuevo", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/es.json b/app/soapbox/locales/es.json index f2250adef..fe14168eb 100644 --- a/app/soapbox/locales/es.json +++ b/app/soapbox/locales/es.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Inténtalo de nuevo", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/et.json b/app/soapbox/locales/et.json index f1daa3c48..bbfd40eb6 100644 --- a/app/soapbox/locales/et.json +++ b/app/soapbox/locales/et.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Proovi uuesti", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/eu.json b/app/soapbox/locales/eu.json index b37e9f19a..9cc44c899 100644 --- a/app/soapbox/locales/eu.json +++ b/app/soapbox/locales/eu.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Saiatu berriro", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/fa.json b/app/soapbox/locales/fa.json index 1e81edae0..369a8ba1e 100644 --- a/app/soapbox/locales/fa.json +++ b/app/soapbox/locales/fa.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "تلاش دوباره", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/fi.json b/app/soapbox/locales/fi.json index 986cb2885..0e6cb476b 100644 --- a/app/soapbox/locales/fi.json +++ b/app/soapbox/locales/fi.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Yritä uudestaan", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/fr.json b/app/soapbox/locales/fr.json index f46b1158e..8f62d0587 100644 --- a/app/soapbox/locales/fr.json +++ b/app/soapbox/locales/fr.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Réessayer", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ga.json b/app/soapbox/locales/ga.json index 49a8e0491..9a0373d93 100644 --- a/app/soapbox/locales/ga.json +++ b/app/soapbox/locales/ga.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/gl.json b/app/soapbox/locales/gl.json index 98fbd4682..27f60e6c5 100644 --- a/app/soapbox/locales/gl.json +++ b/app/soapbox/locales/gl.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Inténteo de novo", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/hi.json b/app/soapbox/locales/hi.json index 8c03d6c75..8c52cee63 100644 --- a/app/soapbox/locales/hi.json +++ b/app/soapbox/locales/hi.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/hr.json b/app/soapbox/locales/hr.json index 35a0d7436..641f66686 100644 --- a/app/soapbox/locales/hr.json +++ b/app/soapbox/locales/hr.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/hu.json b/app/soapbox/locales/hu.json index 5713f6fff..fbd8f76d3 100644 --- a/app/soapbox/locales/hu.json +++ b/app/soapbox/locales/hu.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Próbáld újra", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/hy.json b/app/soapbox/locales/hy.json index 007915b13..404fe4755 100644 --- a/app/soapbox/locales/hy.json +++ b/app/soapbox/locales/hy.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Կրկին փորձել", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/id.json b/app/soapbox/locales/id.json index bcfb4b3ce..a95b3fec5 100644 --- a/app/soapbox/locales/id.json +++ b/app/soapbox/locales/id.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Coba lagi", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/io.json b/app/soapbox/locales/io.json index 36a86bc2c..d22917899 100644 --- a/app/soapbox/locales/io.json +++ b/app/soapbox/locales/io.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ja.json b/app/soapbox/locales/ja.json index af909bb45..0e17278a5 100644 --- a/app/soapbox/locales/ja.json +++ b/app/soapbox/locales/ja.json @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "音声通知をOFF", "chats.audio_toggle_on": "音声通知をON", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ka.json b/app/soapbox/locales/ka.json index 448f4cae9..489509059 100644 --- a/app/soapbox/locales/ka.json +++ b/app/soapbox/locales/ka.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "სცადეთ კიდევ ერთხელ", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/kk.json b/app/soapbox/locales/kk.json index c9c4ac3a2..5e1d540f9 100644 --- a/app/soapbox/locales/kk.json +++ b/app/soapbox/locales/kk.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Қайтадан көріңіз", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ko.json b/app/soapbox/locales/ko.json index db8a486be..d2334fede 100644 --- a/app/soapbox/locales/ko.json +++ b/app/soapbox/locales/ko.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "다시 시도", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/lt.json b/app/soapbox/locales/lt.json index 9fdc5d331..521071a21 100644 --- a/app/soapbox/locales/lt.json +++ b/app/soapbox/locales/lt.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/lv.json b/app/soapbox/locales/lv.json index d1cb0d41c..daadbeab4 100644 --- a/app/soapbox/locales/lv.json +++ b/app/soapbox/locales/lv.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Mēģini vēlreiz", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/mk.json b/app/soapbox/locales/mk.json index 01e5ae407..31394cdfa 100644 --- a/app/soapbox/locales/mk.json +++ b/app/soapbox/locales/mk.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Обидете се повторно", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ms.json b/app/soapbox/locales/ms.json index 790f63a45..6e7fdf48d 100644 --- a/app/soapbox/locales/ms.json +++ b/app/soapbox/locales/ms.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Try again", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/nl.json b/app/soapbox/locales/nl.json index e9fbcf36a..f303f181f 100644 --- a/app/soapbox/locales/nl.json +++ b/app/soapbox/locales/nl.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Opnieuw proberen", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/nn.json b/app/soapbox/locales/nn.json index 9fbbd86eb..e0689ddaa 100644 --- a/app/soapbox/locales/nn.json +++ b/app/soapbox/locales/nn.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Prøv igjen", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/no.json b/app/soapbox/locales/no.json index 69979e9ca..2abaa554e 100644 --- a/app/soapbox/locales/no.json +++ b/app/soapbox/locales/no.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Prøv igjen", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/oc.json b/app/soapbox/locales/oc.json index e371fcfe1..94eecd441 100644 --- a/app/soapbox/locales/oc.json +++ b/app/soapbox/locales/oc.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Tornar ensajar", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/pt-BR.json b/app/soapbox/locales/pt-BR.json index a34fc6a96..f2509479b 100644 --- a/app/soapbox/locales/pt-BR.json +++ b/app/soapbox/locales/pt-BR.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Tente novamente", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/pt.json b/app/soapbox/locales/pt.json index c4e70704a..8f31fe475 100644 --- a/app/soapbox/locales/pt.json +++ b/app/soapbox/locales/pt.json @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Notificação de Som desligada", "chats.audio_toggle_on": "Notificação de Som ligada", "chats.dividers.today": "Hoje", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Aguardando Aprovação", "column.admin.dashboard": "Painel de Controlo", "column.admin.moderation_log": "Histórico de moderação", diff --git a/app/soapbox/locales/ro.json b/app/soapbox/locales/ro.json index 44f37a7d2..2f69aaa25 100644 --- a/app/soapbox/locales/ro.json +++ b/app/soapbox/locales/ro.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Încearcă din nou", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ru.json b/app/soapbox/locales/ru.json index 49eb47080..03c2fc7d7 100644 --- a/app/soapbox/locales/ru.json +++ b/app/soapbox/locales/ru.json @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Отключить аудио увидомление", "chats.audio_toggle_on": "Включить аудио увидомление", "chats.dividers.today": "Сегодня", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Ожидает Одобрения", "column.admin.dashboard": "Стена", "column.admin.moderation_log": "Лог модерации", diff --git a/app/soapbox/locales/sk.json b/app/soapbox/locales/sk.json index 759cd9416..a6ed70b8c 100644 --- a/app/soapbox/locales/sk.json +++ b/app/soapbox/locales/sk.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Skúsiť znova", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/sl.json b/app/soapbox/locales/sl.json index 27ab18f84..e32c47cef 100644 --- a/app/soapbox/locales/sl.json +++ b/app/soapbox/locales/sl.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Poskusi ponovno", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/sq.json b/app/soapbox/locales/sq.json index 7100397a0..cee71ea19 100644 --- a/app/soapbox/locales/sq.json +++ b/app/soapbox/locales/sq.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Riprovoni", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/sr-Latn.json b/app/soapbox/locales/sr-Latn.json index fc494140f..20db8ef2b 100644 --- a/app/soapbox/locales/sr-Latn.json +++ b/app/soapbox/locales/sr-Latn.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Pokušajte ponovo", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/sr.json b/app/soapbox/locales/sr.json index 975d58170..3b110a3e6 100644 --- a/app/soapbox/locales/sr.json +++ b/app/soapbox/locales/sr.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Покушајте поново", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/sv.json b/app/soapbox/locales/sv.json index e1b9b6a07..1b184b2fe 100644 --- a/app/soapbox/locales/sv.json +++ b/app/soapbox/locales/sv.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Försök igen", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/ta.json b/app/soapbox/locales/ta.json index 23dfecff2..46abbc740 100644 --- a/app/soapbox/locales/ta.json +++ b/app/soapbox/locales/ta.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "மீண்டும் முயற்சி செய்", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/te.json b/app/soapbox/locales/te.json index ac87c4dd5..d2725cd68 100644 --- a/app/soapbox/locales/te.json +++ b/app/soapbox/locales/te.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "మళ్ళీ ప్రయత్నించండి", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/th.json b/app/soapbox/locales/th.json index d316977ab..079759fb6 100644 --- a/app/soapbox/locales/th.json +++ b/app/soapbox/locales/th.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "ลองอีกครั้ง", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/tr.json b/app/soapbox/locales/tr.json index 07c9d1246..f01235586 100644 --- a/app/soapbox/locales/tr.json +++ b/app/soapbox/locales/tr.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Tekrar deneyin", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/uk.json b/app/soapbox/locales/uk.json index 5aa8d0054..6faac725f 100644 --- a/app/soapbox/locales/uk.json +++ b/app/soapbox/locales/uk.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "Спробувати ще раз", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Чат", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Приборна панель", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/zh-HK.json b/app/soapbox/locales/zh-HK.json index 1a3fe6f4a..1f890145d 100644 --- a/app/soapbox/locales/zh-HK.json +++ b/app/soapbox/locales/zh-HK.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "重試", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", diff --git a/app/soapbox/locales/zh-TW.json b/app/soapbox/locales/zh-TW.json index 22c93958f..7c927ad32 100644 --- a/app/soapbox/locales/zh-TW.json +++ b/app/soapbox/locales/zh-TW.json @@ -165,7 +165,7 @@ "bundle_modal_error.retry": "重試", "card.back.label": "Back", "chat_box.actions.send": "Send", - "chat_box.input.placeholder": "Send a message…", + "chat_box.input.placeholder": "Type a message", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.title": "Chats", "chats.actions.delete": "Delete message", @@ -176,7 +176,7 @@ "chats.audio_toggle_off": "Audio notification off", "chats.audio_toggle_on": "Audio notification on", "chats.dividers.today": "Today", - "chats.search_placeholder": "Start a chat with…", + "chats.search_placeholder": "Type a name", "column.admin.awaiting_approval": "Awaiting Approval", "column.admin.dashboard": "Dashboard", "column.admin.moderation_log": "Moderation Log", From 2f568ffc8426e5b5d126a5870a80bb5e8b67bba1 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 9 Aug 2022 14:17:59 -0400 Subject: [PATCH 005/941] Extend Textarea component with resizeable prop --- app/soapbox/components/ui/textarea/textarea.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/soapbox/components/ui/textarea/textarea.tsx b/app/soapbox/components/ui/textarea/textarea.tsx index c1bbe0ee4..bdce03a12 100644 --- a/app/soapbox/components/ui/textarea/textarea.tsx +++ b/app/soapbox/components/ui/textarea/textarea.tsx @@ -1,7 +1,7 @@ import classNames from 'clsx'; import React from 'react'; -interface ITextarea extends Pick, 'maxLength' | 'onChange' | 'required' | 'disabled' | 'rows' | 'readOnly'> { +interface ITextarea extends Pick, 'maxLength' | 'onChange' | 'onKeyDown' | 'required' | 'disabled' | 'rows' | 'readOnly'> { /** Put the cursor into the input on mount. */ autoFocus?: boolean, /** The initial text in the input. */ @@ -18,11 +18,13 @@ interface ITextarea extends Pick) => { + ({ isCodeEditor = false, hasError = false, isResizeable = true, ...props }: ITextarea, ref: React.ForwardedRef) => { return (