Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroAir committed Nov 11, 2023
1 parent ada15df commit d65ec56
Show file tree
Hide file tree
Showing 26 changed files with 618 additions and 151 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ set(server_module
${lithium_src_dir}/websocket/device/WsDeviceInstance.cpp
${lithium_src_dir}/websocket/device/WsDeviceServer.cpp

${lithium_src_dir}/websocket/device/WsCameraInstance.cpp

${lithium_src_dir}/websocket/plugin/WsPluginHub.cpp
${lithium_src_dir}/websocket/plugin/WsPluginInstance.cpp
${lithium_src_dir}/websocket/plugin/WsPluginServer.cpp
Expand Down Expand Up @@ -276,9 +278,6 @@ add_subdirectory(modules/hydrogen_client)

# 构建Lithium内核
add_subdirectory(${lithium_src_dir}/core)
if(NOT WIN32)
add_subdirectory(${lithium_module_dir}/deviceloader)
endif()

add_executable(lithium_server ${api_module} ${config_module} ${io_module} ${module_module} ${web_module} ${device_module} ${thread_module} ${task_module} ${server_module} ${script_module} ${system_module} ${utils_module} ${Lithium_module})

Expand Down
287 changes: 287 additions & 0 deletions locale/lithium.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,287 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Max Qian
# This file is distributed under the same license as the package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2023-11-11 19:58+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: E:/msys64/home/Qrm/Lithium/src/device/device_manager.cpp:161
#, c++-format
msgid "A device with name {} already exists, please choose a different name"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/device/indidevice_manager.cpp:278
#, c++-format
msgid "Failed to run command: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:63
#, c++-format
msgid "Failed to destroy ThreadManager: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:82
msgid "Thread manager has stopped, cannot add new thread"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:100
#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:122
#, c++-format
msgid "Unhandled exception in thread: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:128
#, c++-format
msgid "Added thread: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:133
#, c++-format
msgid "Failed to add thread {}: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:149
msgid "All threads joined"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:153
#, c++-format
msgid "Failed to join all threads: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:163
#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:180
#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:194
#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:205
#, c++-format
msgid "Thread {} not found"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:172
#, c++-format
msgid "Thread {} joined"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:184
#, c++-format
msgid "Failed to join thread {}: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/thread/thread.cpp:210
#, c++-format
msgid "Failed to check if thread {} is running: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:76
msgid "Failed to create PowerShell process"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:86
#, c++-format
msgid "Running command: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:103
#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:127
#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:148
msgid "Failed to create process"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:113
#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:158
#, c++-format
msgid "Process created: {} (PID: {})"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:137
#, c++-format
msgid "Running script: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:175
#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:187
#, c++-format
msgid "Process terminated: {} (PID: {})"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:179
msgid "Failed to terminate process"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:195
#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:240
msgid "Process not found"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:210
#, c++-format
msgid "Process not found by name: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:255
#, c++-format
msgid "Process completed: {} (PID: {})"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:259
msgid "Failed to wait for process completion"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:265
#, c-format
msgid "Process completed: %s (PID: %d)"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:270
msgid "All processes completed."
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:281
msgid "Failed to create process snapshot"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:322
msgid "Failed to open /proc directory"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:351
msgid "Failed to get process path"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:372
msgid "Failed to get process info length"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:379
msgid "Failed to allocate memory"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/process.cpp:385
msgid "Failed to get process info"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/pid.cpp:94
msgid "CreateToolhelp32Snapshot failed."
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/pid.cpp:113
#, c++-format
msgid "Watching process with PID: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/pid.cpp:124
#, c++-format
msgid "Process exited with code: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/pid.cpp:133
msgid "GetExitCodeProcess failed."
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/pid.cpp:143
msgid "OpenProcess failed."
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/pid.cpp:170
#, c++-format
msgid "Process exited with status: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/atom/system/pid.cpp:179
#, c++-format
msgid "Process terminated by signal: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:226
msgid "port the server running on"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:227
msgid "host the server running on"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:228
msgid "path to the config file"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:229
msgid "path to the modules directory"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:230
msgid "web panel"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:231
msgid "path to log file"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:233
msgid "Lithium Command Line Interface:"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:234
msgid "End."
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:242
#, c-format
msgid "Failed to parser command line : %s"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:263
#, c-format
msgid "Command line server port : %d"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/App.cpp:269
#, c-format
msgid "Set server port to %d"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/LithiumApp.cpp:81
#, c++-format
msgid "Failed to load Lithium App , error : {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/LithiumApp.cpp:93
#, c++-format
msgid "Get config value: {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/LithiumApp.cpp:99
#, c++-format
msgid "Set {} to {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/LithiumApp.cpp:297
#, c++-format
msgid "Failed to run chai command : {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/LithiumApp.cpp:315
#, c++-format
msgid "Failed to run chai multi command {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/LithiumApp.cpp:328
#, c++-format
msgid "Failed to load chaiscript file {}"
msgstr ""

#: E:/msys64/home/Qrm/Lithium/src/LithiumApp.cpp:341
#, c++-format
msgid "Failed to run chai script {}"
msgstr ""
Loading

0 comments on commit d65ec56

Please sign in to comment.