Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
als:
build: .
container_name: als
ports:
- 80:80
restart: unless-stopped
7 changes: 7 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
als:
image: wikihostinc/looking-glass-server
container_name: als
ports:
- 80:80
restart: unless-stopped
9 changes: 8 additions & 1 deletion ui/src/config/lang.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zhCN, dateZhCN, enUS, dateEnUS } from 'naive-ui'
import { zhCN, dateZhCN, enUS, dateEnUS, ruRU, dateRuRU } from 'naive-ui'
import { nextTick } from 'vue'
import { createI18n } from 'vue-i18n'

Expand All @@ -16,6 +16,13 @@ export const list = [
autoChangeMap: ['en-US', 'en'],
uiLang: () => enUS,
dateLang: () => dateEnUS
},
{
label: 'Русский',
value: 'ru-RU',
autoChangeMap: ['ru-RU', 'ru'],
uiLang: () => ruRU,
dateLang: () => dateRuRU
}
]

Expand Down
23 changes: 23 additions & 0 deletions ui/src/locales/ru-RU.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"server_info": "Информация о сервере",
"server_location": "Локация сервера",
"server_speedtest": "Тест скорости сервера",
"file_speedtest": "Тест загрузки файлов",
"file_ipv4_speedtest": "Тест загрузки по IPv4",
"file_ipv6_speedtest": "Тест загрузки по IPv6",
"librespeed_begin": "Начать тест",
"librespeed_stop": "Остановить тест",
"librespeed_upload": "Загрузка",
"librespeed_download": "Загрузка",
"network_tools": "Сетевые инструменты",
"server_bandwidth_graph": "Диаграмма пропускной способности сервера",
"server_bandwidth_graph_receive": "Получено",
"server_bandwidth_graph_sended": "Отправлено",
"ipv4_address": "IPv4-адрес",
"ipv6_address": "IPv6-адрес",
"my_address": "Ваш текущий IP-адрес",
"sponsor_message": "Сообщение спонсора",
"memory_usage": "Использование памяти"
}