diff --git a/packages/web/public/i18n/locales/be-BY/ui.json b/packages/web/public/i18n/locales/be-BY/ui.json index c8460b9f..9a6e5398 100644 --- a/packages/web/public/i18n/locales/be-BY/ui.json +++ b/packages/web/public/i18n/locales/be-BY/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Direct", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Last heard", diff --git a/packages/web/public/i18n/locales/cs-CZ/ui.json b/packages/web/public/i18n/locales/cs-CZ/ui.json index bc4862d8..01a53de5 100644 --- a/packages/web/public/i18n/locales/cs-CZ/ui.json +++ b/packages/web/public/i18n/locales/cs-CZ/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Přímý", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Naposledy slyšen", diff --git a/packages/web/public/i18n/locales/en/ui.json b/packages/web/public/i18n/locales/en/ui.json index 721050dd..98724eb2 100644 --- a/packages/web/public/i18n/locales/en/ui.json +++ b/packages/web/public/i18n/locales/en/ui.json @@ -152,8 +152,8 @@ }, "hops": { "direct": "Direct", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Last heard", diff --git a/packages/web/public/i18n/locales/es-ES/ui.json b/packages/web/public/i18n/locales/es-ES/ui.json index bcf13398..7ce78757 100644 --- a/packages/web/public/i18n/locales/es-ES/ui.json +++ b/packages/web/public/i18n/locales/es-ES/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Directo", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Última escucha", diff --git a/packages/web/public/i18n/locales/hu-HU/ui.json b/packages/web/public/i18n/locales/hu-HU/ui.json index 8ea0a0ee..adfa2de4 100644 --- a/packages/web/public/i18n/locales/hu-HU/ui.json +++ b/packages/web/public/i18n/locales/hu-HU/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Közvetlen", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Utoljára hallott", diff --git a/packages/web/public/i18n/locales/ja-JP/ui.json b/packages/web/public/i18n/locales/ja-JP/ui.json index 6afb22e0..64fed3a1 100644 --- a/packages/web/public/i18n/locales/ja-JP/ui.json +++ b/packages/web/public/i18n/locales/ja-JP/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "直接", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "最後の通信", diff --git a/packages/web/public/i18n/locales/nl-NL/ui.json b/packages/web/public/i18n/locales/nl-NL/ui.json index ca37de0a..57c28b93 100644 --- a/packages/web/public/i18n/locales/nl-NL/ui.json +++ b/packages/web/public/i18n/locales/nl-NL/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Direct", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Laatst gehoord", diff --git a/packages/web/public/i18n/locales/pl-PL/ui.json b/packages/web/public/i18n/locales/pl-PL/ui.json index 206a8bb0..53a283f5 100644 --- a/packages/web/public/i18n/locales/pl-PL/ui.json +++ b/packages/web/public/i18n/locales/pl-PL/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Bezpośrednio", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Aktywność", diff --git a/packages/web/public/i18n/locales/pt-BR/ui.json b/packages/web/public/i18n/locales/pt-BR/ui.json index ad841067..c1b9897f 100644 --- a/packages/web/public/i18n/locales/pt-BR/ui.json +++ b/packages/web/public/i18n/locales/pt-BR/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Direto", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Visto pela última vez", diff --git a/packages/web/public/i18n/locales/pt-PT/ui.json b/packages/web/public/i18n/locales/pt-PT/ui.json index 6763befe..2124324f 100644 --- a/packages/web/public/i18n/locales/pt-PT/ui.json +++ b/packages/web/public/i18n/locales/pt-PT/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Direto", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Último recebido", diff --git a/packages/web/public/i18n/locales/ru-RU/ui.json b/packages/web/public/i18n/locales/ru-RU/ui.json index 492d459e..a5c30e16 100644 --- a/packages/web/public/i18n/locales/ru-RU/ui.json +++ b/packages/web/public/i18n/locales/ru-RU/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Прямой", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Последний раз слышен", diff --git a/packages/web/public/i18n/locales/tr-TR/ui.json b/packages/web/public/i18n/locales/tr-TR/ui.json index 31c79f48..ccf67758 100644 --- a/packages/web/public/i18n/locales/tr-TR/ui.json +++ b/packages/web/public/i18n/locales/tr-TR/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Doğrudan", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Son duyulma", diff --git a/packages/web/public/i18n/locales/uk-UA/ui.json b/packages/web/public/i18n/locales/uk-UA/ui.json index 8ad2d724..795dc70e 100644 --- a/packages/web/public/i18n/locales/uk-UA/ui.json +++ b/packages/web/public/i18n/locales/uk-UA/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "Direct", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "Last heard", diff --git a/packages/web/public/i18n/locales/zh-CN/ui.json b/packages/web/public/i18n/locales/zh-CN/ui.json index 7269d6f5..1cc2e25f 100644 --- a/packages/web/public/i18n/locales/zh-CN/ui.json +++ b/packages/web/public/i18n/locales/zh-CN/ui.json @@ -166,8 +166,8 @@ }, "hops": { "direct": "直频", - "label": "Number of hops", - "text": "Number of hops: {{value}}" + "label": "Hops Away", + "text": "Hops Away: {{value}}" }, "lastHeard": { "label": "最后听到", diff --git a/packages/web/public/icon.svg b/packages/web/public/logo.svg similarity index 100% rename from packages/web/public/icon.svg rename to packages/web/public/logo.svg diff --git a/packages/web/src/components/PageComponents/Messages/MessageItem.tsx b/packages/web/src/components/PageComponents/Messages/MessageItem.tsx index 54e589e3..33ffbeca 100644 --- a/packages/web/src/components/PageComponents/Messages/MessageItem.tsx +++ b/packages/web/src/components/PageComponents/Messages/MessageItem.tsx @@ -193,6 +193,24 @@ export const MessageItem = ({ message }: MessageItemProps) => { const isOnPrimaryChannel = message.channel === Types.ChannelNumber.Primary; // Use the enum const shouldShowStatusIcon = isSender && isOnPrimaryChannel; + const messageMetadata = useMemo(() => { + if (message.hops != null) { + return ( +