mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Merge branch 'main' into openhands/fix-websocket-warning-log-level
This commit is contained in:
commit
7ef6824327
@ -2,7 +2,7 @@ import React from "react";
|
||||
import { useLocation } from "react-router";
|
||||
import { useGitUser } from "#/hooks/query/use-git-user";
|
||||
import { UserActions } from "./user-actions";
|
||||
import { AllHandsLogoButton } from "#/components/shared/buttons/all-hands-logo-button";
|
||||
import { OpenHandsLogoButton } from "#/components/shared/buttons/openhands-logo-button";
|
||||
import { NewProjectButton } from "#/components/shared/buttons/new-project-button";
|
||||
import { ConversationPanelButton } from "#/components/shared/buttons/conversation-panel-button";
|
||||
import { SettingsModal } from "#/components/shared/modals/settings/settings-modal";
|
||||
@ -74,7 +74,7 @@ export function Sidebar() {
|
||||
<nav className="flex flex-row md:flex-col items-center justify-between w-full h-auto md:w-auto md:h-full">
|
||||
<div className="flex flex-row md:flex-col items-center gap-[26px]">
|
||||
<div className="flex items-center justify-center">
|
||||
<AllHandsLogoButton />
|
||||
<OpenHandsLogoButton />
|
||||
</div>
|
||||
<div>
|
||||
<NewProjectButton disabled={settings?.EMAIL_VERIFIED === false} />
|
||||
|
||||
@ -3,13 +3,13 @@ import AllHandsLogo from "#/assets/branding/all-hands-logo.svg?react";
|
||||
import { I18nKey } from "#/i18n/declaration";
|
||||
import { TooltipButton } from "./tooltip-button";
|
||||
|
||||
export function AllHandsLogoButton() {
|
||||
export function OpenHandsLogoButton() {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<TooltipButton
|
||||
tooltip={t(I18nKey.BRANDING$ALL_HANDS_AI)}
|
||||
ariaLabel={t(I18nKey.BRANDING$ALL_HANDS_LOGO)}
|
||||
tooltip={t(I18nKey.BRANDING$OPENHANDS)}
|
||||
ariaLabel={t(I18nKey.BRANDING$OPENHANDS_LOGO)}
|
||||
navLinkTo="/"
|
||||
>
|
||||
<AllHandsLogo width={46} height={30} />
|
||||
@ -168,8 +168,8 @@ export enum I18nKey {
|
||||
GITHUB$CODE_NOT_IN_GITHUB = "GITHUB$CODE_NOT_IN_GITHUB",
|
||||
GITHUB$START_FROM_SCRATCH = "GITHUB$START_FROM_SCRATCH",
|
||||
AVATAR$ALT_TEXT = "AVATAR$ALT_TEXT",
|
||||
BRANDING$ALL_HANDS_AI = "BRANDING$ALL_HANDS_AI",
|
||||
BRANDING$ALL_HANDS_LOGO = "BRANDING$ALL_HANDS_LOGO",
|
||||
BRANDING$OPENHANDS = "BRANDING$OPENHANDS",
|
||||
BRANDING$OPENHANDS_LOGO = "BRANDING$OPENHANDS_LOGO",
|
||||
ERROR$GENERIC = "ERROR$GENERIC",
|
||||
GITHUB$AUTH_SCOPE = "GITHUB$AUTH_SCOPE",
|
||||
FILE_SERVICE$INVALID_FILE_PATH = "FILE_SERVICE$INVALID_FILE_PATH",
|
||||
|
||||
@ -2687,37 +2687,37 @@
|
||||
"tr": "Kullanıcı avatarı",
|
||||
"uk": "аватар користувача"
|
||||
},
|
||||
"BRANDING$ALL_HANDS_AI": {
|
||||
"en": "All Hands AI",
|
||||
"ja": "All Hands AI",
|
||||
"zh-CN": "All Hands AI",
|
||||
"zh-TW": "All Hands AI",
|
||||
"ko-KR": "All Hands AI",
|
||||
"de": "All Hands AI",
|
||||
"no": "All Hands AI",
|
||||
"it": "All Hands AI",
|
||||
"pt": "All Hands AI",
|
||||
"es": "All Hands AI",
|
||||
"ar": "All Hands AI",
|
||||
"fr": "All Hands AI",
|
||||
"tr": "All Hands AI",
|
||||
"uk": "All Hands AI"
|
||||
"BRANDING$OPENHANDS": {
|
||||
"en": "OpenHands",
|
||||
"ja": "OpenHands",
|
||||
"zh-CN": "OpenHands",
|
||||
"zh-TW": "OpenHands",
|
||||
"ko-KR": "OpenHands",
|
||||
"de": "OpenHands",
|
||||
"no": "OpenHands",
|
||||
"it": "OpenHands",
|
||||
"pt": "OpenHands",
|
||||
"es": "OpenHands",
|
||||
"ar": "OpenHands",
|
||||
"fr": "OpenHands",
|
||||
"tr": "OpenHands",
|
||||
"uk": "OpenHands"
|
||||
},
|
||||
"BRANDING$ALL_HANDS_LOGO": {
|
||||
"en": "All Hands Logo",
|
||||
"ja": "All Handsロゴ",
|
||||
"zh-CN": "All Hands标志",
|
||||
"zh-TW": "All Hands標誌",
|
||||
"ko-KR": "All Hands 로고",
|
||||
"de": "All Hands Logo",
|
||||
"no": "All Hands Logo",
|
||||
"it": "Logo All Hands",
|
||||
"pt": "Logo All Hands",
|
||||
"es": "Logo de All Hands",
|
||||
"ar": "شعار All Hands",
|
||||
"fr": "Logo All Hands",
|
||||
"tr": "All Hands Logosu",
|
||||
"uk": "All Hands лого"
|
||||
"BRANDING$OPENHANDS_LOGO": {
|
||||
"en": "OpenHands Logo",
|
||||
"ja": "OpenHandsロゴ",
|
||||
"zh-CN": "OpenHands标志",
|
||||
"zh-TW": "OpenHands標誌",
|
||||
"ko-KR": "OpenHands 로고",
|
||||
"de": "OpenHands Logo",
|
||||
"no": "OpenHands Logo",
|
||||
"it": "Logo OpenHands",
|
||||
"pt": "Logo OpenHands",
|
||||
"es": "Logo de OpenHands",
|
||||
"ar": "شعار OpenHands",
|
||||
"fr": "Logo OpenHands",
|
||||
"tr": "OpenHands Logosu",
|
||||
"uk": "OpenHands лого"
|
||||
},
|
||||
"ERROR$GENERIC": {
|
||||
"en": "An error occurred",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user