mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Better translation of "let's start building" in Japanese (#9310)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
parent
0c38fb0ceb
commit
4f5e146783
@ -833,10 +833,10 @@
|
||||
},
|
||||
"HOME$LETS_START_BUILDING": {
|
||||
"en": "Let's Start Building!",
|
||||
"ja": "構築を始めましょう!",
|
||||
"zh-CN": "让我们开始构建!",
|
||||
"zh-TW": "讓我們開始構建!",
|
||||
"ko-KR": "구축을 시작합시다!",
|
||||
"ja": "開発を始めましょう!",
|
||||
"zh-CN": "让我们开始开发!",
|
||||
"zh-TW": "讓我們開始開發!",
|
||||
"ko-KR": "개발을 시작합시다!",
|
||||
"no": "La oss begynne å bygge!",
|
||||
"it": "Iniziamo a costruire!",
|
||||
"pt": "Vamos começar a construir!",
|
||||
@ -849,7 +849,7 @@
|
||||
},
|
||||
"HOME$OPENHANDS_DESCRIPTION": {
|
||||
"en": "OpenHands makes it easy to build and maintain software using AI-driven development.",
|
||||
"ja": "OpenHandsはAI駆動の開発を使用してソフトウェアの構築と維持を容易にします。",
|
||||
"ja": "OpenHandsはAI駆動の開発を使用してソフトウェアの開発と維持を容易にします。",
|
||||
"zh-CN": "OpenHands使用AI驱动的开发方式,轻松构建和维护软件。",
|
||||
"zh-TW": "OpenHands使用AI驅動的開發方式,輕鬆構建和維護軟件。",
|
||||
"ko-KR": "OpenHands는 AI 기반 개발을 사용하여 소프트웨어를 쉽게 구축하고 유지할 수 있게 합니다.",
|
||||
|
||||
@ -39,8 +39,6 @@ class ConversationValidator:
|
||||
conversation_id: str,
|
||||
user_id: str | None,
|
||||
) -> ConversationMetadata:
|
||||
|
||||
|
||||
config = load_openhands_config()
|
||||
server_config = ServerConfig()
|
||||
|
||||
@ -48,14 +46,16 @@ class ConversationValidator:
|
||||
ConversationStore,
|
||||
server_config.conversation_store_class,
|
||||
)
|
||||
conversation_store = await conversation_store_class.get_instance(config, user_id)
|
||||
conversation_store = await conversation_store_class.get_instance(
|
||||
config, user_id
|
||||
)
|
||||
|
||||
try:
|
||||
metadata = await conversation_store.get_metadata(conversation_id)
|
||||
except FileNotFoundError:
|
||||
logger.info(
|
||||
f'Creating new conversation metadata for {conversation_id}',
|
||||
extra={'session_id': conversation_id}
|
||||
extra={'session_id': conversation_id},
|
||||
)
|
||||
await conversation_store.save_metadata(
|
||||
ConversationMetadata(
|
||||
@ -69,6 +69,7 @@ class ConversationValidator:
|
||||
metadata = await conversation_store.get_metadata(conversation_id)
|
||||
return metadata
|
||||
|
||||
|
||||
def create_conversation_validator() -> ConversationValidator:
|
||||
conversation_validator_cls = os.environ.get(
|
||||
'OPENHANDS_CONVERSATION_VALIDATOR_CLS',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user