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