mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-12 00:55:34 +00:00
feat: (#708) Added language support
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,3 +19,4 @@ OliveTin
|
||||
integration-tests/configs/authRequireGuestsToLogin/sessions.yaml
|
||||
webui
|
||||
webui.dev
|
||||
sessions.yaml
|
||||
@@ -172,7 +172,7 @@ function updateHeaderFromInit() {
|
||||
window.checkWebsocketConnection()
|
||||
}
|
||||
|
||||
if (initResponse.loginRequired) {
|
||||
if (window.initResponse.loginRequired) {
|
||||
router.push('/login')
|
||||
return
|
||||
}
|
||||
@@ -187,7 +187,7 @@ function renderSidebar() {
|
||||
sidebar.value.clear()
|
||||
}
|
||||
|
||||
for (const rootDashboard of initResponse.rootDashboards) {
|
||||
for (const rootDashboard of window.initResponse.rootDashboards) {
|
||||
sidebar.value.addNavigationLink({
|
||||
id: rootDashboard,
|
||||
name: rootDashboard,
|
||||
|
||||
@@ -30,10 +30,12 @@
|
||||
<tbody>
|
||||
<tr v-for="log in filteredLogs" :key="log.executionTrackingId" class="log-row" :title="log.actionTitle">
|
||||
<td class="timestamp">{{ formatTimestamp(log.datetimeStarted) }}</td>
|
||||
<td>
|
||||
<span class="icon" v-html="log.actionIcon"></span>
|
||||
<router-link :to="`/logs/${log.executionTrackingId}`">
|
||||
{{ log.actionTitle }}
|
||||
</router-link>
|
||||
</td>
|
||||
<td class="tags">
|
||||
<span class="annotation">
|
||||
<span class="annotation-key">User:</span>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module github.com/OliveTin/OliveTin/langtool
|
||||
|
||||
go 1.24.9
|
||||
go 1.24.0
|
||||
|
||||
require (
|
||||
github.com/jamesread/golure v0.0.0-20250919212919-976d085a100c
|
||||
|
||||
@@ -17,5 +17,4 @@ translations:
|
||||
logs.status: Status
|
||||
logs.no-logs-to-display: Non ci sono registri da mostrare.
|
||||
return-to-index: Torna alla pagina principale
|
||||
search-filter: Filtra la pagina corrente
|
||||
logs.user: Utente
|
||||
search-filter: Filtra la pagina corrente
|
||||
@@ -34,7 +34,6 @@ func main() {
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("Error saving combined language content to file: %v", err)
|
||||
return
|
||||
}
|
||||
|
||||
log.Infof("Combined language content saved to combined_output.json")
|
||||
|
||||
@@ -7,7 +7,7 @@ translations:
|
||||
nav.diagnostics: 诊断
|
||||
connected: 已连接
|
||||
login-button: 登录
|
||||
raise-issue: 报告问题 on GitHub
|
||||
raise-issue: 在 GitHub 上报告问题
|
||||
docs: 文档
|
||||
logs.title: 日志
|
||||
logs.page-description: 这是一个动作执行日志列表。您可以按动作标题过滤列表。
|
||||
|
||||
Reference in New Issue
Block a user