mirror of
https://github.com/kerberos-io/agent.git
synced 2026-03-03 13:50:11 +00:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
192f78ae78 | ||
|
|
ef20d4c0b1 | ||
|
|
af95c0f798 | ||
|
|
0e32a10ff5 | ||
|
|
e59c2b179d | ||
|
|
e5d03f19de | ||
|
|
58c3e73f6f | ||
|
|
8ca2c44422 | ||
|
|
a2e584a225 | ||
|
|
c4cda0afb0 | ||
|
|
adbb923e92 | ||
|
|
f444ae4ad6 | ||
|
|
b16d028293 | ||
|
|
07646e483d |
3
.github/workflows/docker-dev.yml
vendored
3
.github/workflows/docker-dev.yml
vendored
@@ -34,7 +34,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
architecture: [arm64, arm/v7, arm/v6]
|
||||
#architecture: [arm64, arm/v7, arm/v6]
|
||||
architecture: [arm64, arm/v7]
|
||||
steps:
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
|
||||
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
@@ -62,6 +62,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
architecture: [arm64, arm-v7, arm-v6]
|
||||
#architecture: [arm64, arm-v7]
|
||||
steps:
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
|
||||
19
README.md
19
README.md
@@ -231,20 +231,21 @@ On opening of the GitHub Codespace, some dependencies will be installed. Once th
|
||||
|
||||
Go and open two terminals one for the `ui` project and one for the `machinery` project.
|
||||
|
||||
1. Terminal A:
|
||||
1. Terminal A:
|
||||
|
||||
cd machinery/
|
||||
go run main.go run camera 80
|
||||
|
||||
2. Terminal B:
|
||||
|
||||
|
||||
2. Terminal B:
|
||||
|
||||
cd ui/
|
||||
yarn start
|
||||
|
||||
Once executed, a popup will show up mentioning `portforwarding`. You should see two ports being opened, one for the ui `3000` and one for the machinery `80`. `Right-click` on the port `80` and change visibility from `private` to `public`, this is required to avoid `CORS` errors.
|
||||
|
||||
As mentioned above, copy the hostname of the `machinery` DNS name, and past it in the `ui/src/config.json` file. Once done reload, the `ui` page in your browser, and you should be able to access the login page with the default credentials `root` and `root`.
|
||||
|
||||
|
||||
Once executed, a popup will show up mentioning `portforwarding`. You should see two ports being opened, one for the ui `3000` and one for the machinery `80`. `Right-click` on the port `80` and change visibility from `private` to `public`, this is required to avoid `CORS` errors.
|
||||
|
||||

|
||||
|
||||
As mentioned above, copy the hostname of the `machinery` DNS name, and past it in the `ui/src/config.json` file. Once done reload, the `ui` page in your browser, and you should be able to access the login page with the default credentials `root` and `root`.
|
||||
|
||||
## Develop and build
|
||||
|
||||
|
||||
BIN
assets/img/codespace-make-public.png
Normal file
BIN
assets/img/codespace-make-public.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 138 KiB |
@@ -22,6 +22,10 @@
|
||||
"device": ""
|
||||
},
|
||||
"continuous": "false",
|
||||
"recording": "true",
|
||||
"snapshots": "true",
|
||||
"liveview": "true",
|
||||
"motion": "true",
|
||||
"postrecording": 20,
|
||||
"prerecording": 10,
|
||||
"maxlengthrecording": 30,
|
||||
|
||||
@@ -19,6 +19,7 @@ func UploadKerberosVault(configuration *models.Configuration, fileName string, d
|
||||
config.KStorage.Directory == "" ||
|
||||
config.KStorage.URI == "" {
|
||||
log.Log.Info("UploadKerberosVault: Kerberos Vault not properly configured.")
|
||||
return false
|
||||
}
|
||||
|
||||
//fmt.Println("Uploading...")
|
||||
|
||||
@@ -44,6 +44,12 @@ func UploadS3(configuration *models.Configuration, fileName string, directory st
|
||||
aws_secret_access_key = config.HubPrivateKey
|
||||
}
|
||||
|
||||
// Check if we have some credentials otherwise we abort the request.
|
||||
if aws_access_key_id == "" || aws_secret_access_key == "" {
|
||||
log.Log.Error("UploadS3: Uploading Failed, as no credentials found")
|
||||
return false
|
||||
}
|
||||
|
||||
s3Client, err := minio.NewWithRegion("s3.amazonaws.com", aws_access_key_id, aws_secret_access_key, true, aws_region)
|
||||
if err != nil {
|
||||
log.Log.Error(err.Error())
|
||||
|
||||
@@ -50,10 +50,10 @@ type Capture struct {
|
||||
USBCamera USBCamera `json:"usbcamera"`
|
||||
RaspiCamera RaspiCamera `json:"raspicamera"`
|
||||
Recording string `json:"recording,omitempty"`
|
||||
Continuous string `json:"continuous,omitempty"`
|
||||
Snapshots string `json:"snapshots,omitempty"`
|
||||
Motion string `json:"motion,omitempty"`
|
||||
Liveview string `json:"liveview,omitempty"`
|
||||
Continuous string `json:"continuous,omitempty"`
|
||||
PostRecording int64 `json:"postrecording"`
|
||||
PreRecording int64 `json:"prerecording"`
|
||||
MaxLengthRecording int64 `json:"maxlengthrecording"`
|
||||
|
||||
204
ui/public/locales/ja/translation.json
Normal file
204
ui/public/locales/ja/translation.json
Normal file
@@ -0,0 +1,204 @@
|
||||
{
|
||||
"breadcrumb": {
|
||||
"watch_recordings": "録画を見る",
|
||||
"configure": "設定"
|
||||
},
|
||||
"buttons": {
|
||||
"save": "保存"
|
||||
},
|
||||
"navigation": {
|
||||
"profile": "プロフィール",
|
||||
"admin": "管理者",
|
||||
"management": "管理",
|
||||
"dashboard": "ダッシュボード",
|
||||
"recordings": "録画",
|
||||
"settings": "設定",
|
||||
"help_support": "ヘルプ",
|
||||
"swagger": "Swagger API",
|
||||
"documentation": "ドキュメンテーション",
|
||||
"ui_library": "UI ライブラリ",
|
||||
"layout": "言語",
|
||||
"choose_language": "言語を選択"
|
||||
},
|
||||
"dashboard": {
|
||||
"title": "ダッシュボード",
|
||||
"heading": "ビデオ監視の概要",
|
||||
"number_of_days": "日数",
|
||||
"total_recordings": "録画一覧",
|
||||
"connected": "接続済み",
|
||||
"not_connected": "接続されていません",
|
||||
"offline_mode": "オフラインモード",
|
||||
"latest_events": "最新のイベント",
|
||||
"configure_connection": "接続の構成",
|
||||
"no_events": "イベントなし",
|
||||
"no_events_description": "記録が見つかりません。Kerberos エージェントが正しく構成されていることを確認してください。",
|
||||
"motion_detected": "モーションが検出されました",
|
||||
"live_view": "ライブビュー",
|
||||
"loading_live_view": "ライブビューを読み込んでいます",
|
||||
"loading_live_view_description": "ライブ ビューをロードしています。お待ちください。",
|
||||
"time": "時間",
|
||||
"description": "説明",
|
||||
"name": "名前"
|
||||
},
|
||||
"recordings": {
|
||||
"title": "録画",
|
||||
"heading": "すべての録音を 1 か所に",
|
||||
"search_media": "メディアを検索"
|
||||
},
|
||||
"settings": {
|
||||
"title": "設定",
|
||||
"heading": "搭載カメラ",
|
||||
"submenu": {
|
||||
"all": "全て",
|
||||
"overview": "概要",
|
||||
"camera": "カメラ",
|
||||
"recording": "録音",
|
||||
"streaming": "ストリーミング",
|
||||
"conditions": "条件",
|
||||
"persistence": "持続性"
|
||||
},
|
||||
"info": {
|
||||
"kerberos_hub_demo": "Kerberos Hub のデモ環境を見て、Kerberos Hub の動作を確認してください。",
|
||||
"configuration_updated_success": "構成が正常に更新されました。",
|
||||
"configuration_updated_error": "保存中にエラーが発生しました。",
|
||||
"verify_hub": "Kerberos Hub の設定を確認しています。",
|
||||
"verify_hub_success": "Kerberos Hub 設定が正常に検証されました。",
|
||||
"verify_hub_error": "Kerberos Hub の検証中に問題が発生しました",
|
||||
"verify_persistence": "持続性設定を確認しています。",
|
||||
"verify_persistence_success": "持続性設定が正常に検証されました。",
|
||||
"verify_persistence_error": "持続性の検証中に問題が発生しました",
|
||||
"verify_camera": "カメラの設定を確認しています。",
|
||||
"verify_camera_success": "カメラの設定が正常に検証されました。",
|
||||
"verify_camera_error": "カメラ設定の確認中に問題が発生しました"
|
||||
},
|
||||
"overview": {
|
||||
"general": "全般的",
|
||||
"description_general": "Kerberos エージェントの一般設定",
|
||||
"key": "鍵",
|
||||
"camera_name": "カメラ名",
|
||||
"timezone": "タイムゾーン",
|
||||
"select_timezone": "タイムゾーンを選択",
|
||||
"advanced_configuration": "詳細設定",
|
||||
"description_advanced_configuration": "Kerberos エージェントの特定の部分を有効または無効にするための詳細な構成オプション",
|
||||
"offline_mode": "オフラインモード",
|
||||
"description_offline_mode": "すべての送信トラフィックを無効にする"
|
||||
},
|
||||
"camera": {
|
||||
"camera": "カメラ",
|
||||
"description_camera": "選択したカメラに接続するには、カメラの設定が必要です。",
|
||||
"only_h264": "現在、H264 RTSP ストリームのみがサポートされています。",
|
||||
"rtsp_url": "RTSP URL",
|
||||
"rtsp_h264": "カメラへの H264 RTSP 接続。",
|
||||
"sub_rtsp_url": "Sub RTSP url (ライブストリーミングに使用)",
|
||||
"sub_rtsp_h264": "カメラの低解像度へのセカンダリ RTSP 接続。",
|
||||
"onvif": "ONVIF",
|
||||
"description_onvif": "ONVIF 機能と通信するための資格情報",
|
||||
"onvif_xaddr": "ONVIF xaddr",
|
||||
"onvif_username": "ONVIF ユーザー名",
|
||||
"onvif_password": "ONVIF パスワード",
|
||||
"verify_connection": "接続の確認",
|
||||
"verify_sub_connection": "サブ接続の確認"
|
||||
},
|
||||
"recording": {
|
||||
"recording": "録画",
|
||||
"description_recording": "録画方法を指定します。",
|
||||
"continuous_recording": "連続記録",
|
||||
"description_continuous_recording": "24 時間またはモーション ベースの録画を行います。",
|
||||
"max_duration": "動画の最大再生時間 (秒)",
|
||||
"description_max_duration": "録音の最大継続時間。",
|
||||
"pre_recording": "事前録画 (キー フレームのバッファリング)",
|
||||
"description_pre_recording": "イベントが発生する数秒前。",
|
||||
"post_recording": "ポストレコーディング (秒)",
|
||||
"description_post_recording": "イベントが発生してからの秒数。",
|
||||
"threshold": "記録閾値(ピクセル)",
|
||||
"description_threshold": "記録するために変更されたピクセル数",
|
||||
"autoclean": "オートクリーン",
|
||||
"description_autoclean": "特定のストレージ容量 (MB) に達したときに、Kerberos エージェントが記録をクリーンアップできるかどうかを指定します。",
|
||||
"autoclean_enable": "自動クリーニングを有効にする",
|
||||
"autoclean_description_enable": "容量に達したら、最も古い記録を削除します。",
|
||||
"autoclean_max_directory_size": "最大ディレクトリ サイズ (MB)",
|
||||
"autoclean_description_max_directory_size": "保存された録音の最大 MB。",
|
||||
"fragmentedrecordings": "断片化された録音",
|
||||
"description_fragmentedrecordings": "録音が断片化されている場合、HLS ストリームに適しています。",
|
||||
"fragmentedrecordings_enable": "断片化を有効にする",
|
||||
"fragmentedrecordings_description_enable": "HLS には断片化された録音が必要です。",
|
||||
"fragmentedrecordings_duration": "フラグメント期間",
|
||||
"fragmentedrecordings_description_duration": "1 つのフラグメントの持続時間。"
|
||||
},
|
||||
"streaming": {
|
||||
"stun_turn": "WebRTCのSTUN/TURN",
|
||||
"description_stun_turn": "フル解像度のライブ ストリーミングには、WebRTC の概念を使用します。",
|
||||
"stun_server": "STUNサーバー",
|
||||
"turn_server": "TURNサーバー",
|
||||
"turn_username": "ユーザー名",
|
||||
"turn_password": "パスワード",
|
||||
"stun_turn_forward": "転送とトランスコーディング",
|
||||
"stun_turn_description_forward": "TURN/STUN 通信の最適化と機能強化。",
|
||||
"stun_turn_webrtc": "WebRTC ブローカーへの転送",
|
||||
"stun_turn_description_webrtc": "MQTT を介して h264 ストリームを転送する",
|
||||
"stun_turn_transcode": "トランスコード ストリーム",
|
||||
"stun_turn_description_transcode": "ストリームを低解像度に変換する",
|
||||
"stun_turn_downscale": "解像度のダウンスケール (% または元の解像度)",
|
||||
"mqtt": "MQTT",
|
||||
"description_mqtt": "それらの通信にはMQTT ブローカーが使用されます。",
|
||||
"description2_mqtt": "たとえば、ライブストリーミングや ONVIF (PTZ) 機能を実現するために、Kerberos エージェントに送信します。",
|
||||
"mqtt_brokeruri": "ブローカー URI",
|
||||
"mqtt_username": "ユーザー名",
|
||||
"mqtt_password": "パスワード"
|
||||
},
|
||||
"conditions": {
|
||||
"timeofinterest": "特定の時間",
|
||||
"description_timeofinterest": "特定の時間間隔 (タイムゾーンに基づく) の間のみ録画を行います。",
|
||||
"timeofinterest_enabled": "有効",
|
||||
"timeofinterest_description_enabled": "有効にすると、時間枠を指定できます",
|
||||
"sunday": "日曜日",
|
||||
"monday": "月曜日",
|
||||
"tuesday": "火曜日",
|
||||
"wednesday": "水曜日",
|
||||
"thursday": "木曜日",
|
||||
"friday": "金曜日",
|
||||
"saturday": "土曜日",
|
||||
"externalcondition": "外部条件",
|
||||
"description_externalcondition": "外部 Web サービスに応じて、記録を有効または無効にすることができます。",
|
||||
"regionofinterest": "検出領域",
|
||||
"description_regionofinterest": "1 つまたは複数の領域を定義すると、定義した領域でのみモーションが追跡されます。"
|
||||
},
|
||||
"persistence": {
|
||||
"kerberoshub": "ケルベロス ハブ",
|
||||
"description_kerberoshub": "Kerberos エージェントはハートビートを中央に送信できます。",
|
||||
"description2_kerberoshub": "インストール。",
|
||||
"persistence": "持続性",
|
||||
"saasoffering": "Kerberos ハブ (SAAS オファリング)",
|
||||
"description_persistence": "録音を保存する機能を持つことは、すべての始まりです。",
|
||||
"description2_persistence": "、またはサードパーティのプロバイダ",
|
||||
"select_persistence": "永続性を選択",
|
||||
"kerberoshub_proxyurl": "Kerberos ハブ プロキシ URL",
|
||||
"kerberoshub_description_proxyurl": "記録をアップロードするためのプロキシ エンドポイント。",
|
||||
"kerberoshub_apiurl": "ケルベロス ハブ API URL",
|
||||
"kerberoshub_description_apiurl": "録音をアップロードするための API エンドポイント。",
|
||||
"kerberoshub_publickey": "公開鍵",
|
||||
"kerberoshub_description_publickey": "Kerberos Hub アカウントに付与された公開鍵。",
|
||||
"kerberoshub_privatekey": "秘密鍵",
|
||||
"kerberoshub_description_privatekey": "Kerberos Hub アカウントに付与された秘密鍵。",
|
||||
"kerberoshub_site": "サイト",
|
||||
"kerberoshub_description_site": "Kerberos Hub で Kerberos エージェントが属しているサイト ID。",
|
||||
"kerberoshub_region": "領域",
|
||||
"kerberoshub_description_region": "録音を保存しているリージョン。",
|
||||
"kerberoshub_bucket": "bucket",
|
||||
"kerberoshub_description_bucket": "録音を保存しているbucket",
|
||||
"kerberoshub_username": "ユーザー名/ディレクトリ",
|
||||
"kerberoshub_description_username": "Kerberos Hub アカウントのユーザー名。",
|
||||
"kerberosvault_apiurl": "Kerberos ボールト API URL",
|
||||
"kerberosvault_description_apiurl": "Kerberos ボールト API",
|
||||
"kerberosvault_provider": "プロバイダ",
|
||||
"kerberosvault_description_provider": "録音の送信先のプロバイダー。",
|
||||
"kerberosvault_directory": "ディレクトリ",
|
||||
"kerberosvault_description_directory": "録音がプロバイダーに保存されるサブディレクトリ。",
|
||||
"kerberosvault_accesskey": "アクセスキー",
|
||||
"kerberosvault_description_accesskey": "Kerberos Vault アカウントのアクセス キー。",
|
||||
"kerberosvault_secretkey": "秘密鍵",
|
||||
"kerberosvault_description_secretkey": "Kerberos Vault アカウントの秘密鍵。",
|
||||
"verify_connection": "接続の確認"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"breadcrumb": {
|
||||
"watch_recordings": "Watch recordings",
|
||||
"configure": "Configure"
|
||||
"watch_recordings": "Assistir gravações",
|
||||
"configure": "Configurar"
|
||||
},
|
||||
"buttons": {
|
||||
"save": "Save"
|
||||
"save": "Salvar"
|
||||
},
|
||||
"navigation": {
|
||||
"profile": "Perfil",
|
||||
@@ -12,7 +12,7 @@
|
||||
"management": "Gestão",
|
||||
"dashboard": "Painel",
|
||||
"recordings": "Gravações",
|
||||
"settings": "Definições",
|
||||
"settings": "Configurações",
|
||||
"help_support": "Ajuda e suporte",
|
||||
"swagger": "Swagger API",
|
||||
"documentation": "Documentação",
|
||||
@@ -21,184 +21,184 @@
|
||||
"choose_language": "Escolha o seu idioma"
|
||||
},
|
||||
"dashboard": {
|
||||
"title": "Dashboard",
|
||||
"heading": "Overview of your video surveilance",
|
||||
"number_of_days": "Number of days",
|
||||
"total_recordings": "Total recordings",
|
||||
"connected": "Connected",
|
||||
"not_connected": "Not connected",
|
||||
"offline_mode": "Offline mode",
|
||||
"latest_events": "Latest events",
|
||||
"configure_connection": "Configure connection",
|
||||
"no_events": "No events",
|
||||
"no_events_description": "No recordings where found, make sure your Kerberos Agent is properly configured.",
|
||||
"motion_detected": "Motion was detected",
|
||||
"live_view": "Live view",
|
||||
"loading_live_view": "Loading live view",
|
||||
"loading_live_view_description": "Hold on we are loading your live view here. If you didn't configure your camera connection, update it on the settings pages.",
|
||||
"title": "Painel",
|
||||
"heading": "Visão geral de sua videovigilância",
|
||||
"number_of_days": "Número de dias",
|
||||
"total_recordings": "Total de gravações",
|
||||
"connected": "Conectado",
|
||||
"not_connected": "Desconectado",
|
||||
"offline_mode": "Modo Offline",
|
||||
"latest_events": "Ultimos eventos",
|
||||
"configure_connection": "Configurar conexão",
|
||||
"no_events": "Nenhum evento",
|
||||
"no_events_description": "Nenhuma gravação foi encontrada, certifique-se de que seu Kerberos Agent esteja configurado corretamente.",
|
||||
"motion_detected": "Movimento detectado",
|
||||
"live_view": "Visualização ao vivo",
|
||||
"loading_live_view": "Carregando visualização ao vivo",
|
||||
"loading_live_view_description": "Aguarde, estamos carregando sua visualização ao vivo. Se você não configurou a conexão de sua câmera, atualize-a nas páginas de configurações.",
|
||||
"time": "Time",
|
||||
"description": "Description",
|
||||
"name": "Name"
|
||||
"description": "Descrição",
|
||||
"name": "Nome"
|
||||
},
|
||||
"recordings": {
|
||||
"title": "Recordings",
|
||||
"heading": "All your recordings in a single place",
|
||||
"search_media": "Search media"
|
||||
"title": "Gravações",
|
||||
"heading": "Todas as suas gravações em um único lugar",
|
||||
"search_media": "Pesquisar mídia"
|
||||
},
|
||||
"settings": {
|
||||
"title": "Settings",
|
||||
"heading": "Onboard your camera",
|
||||
"title": "Configurações",
|
||||
"heading": "Integre sua câmera",
|
||||
"submenu": {
|
||||
"all": "All",
|
||||
"overview": "Overview",
|
||||
"camera": "Camera",
|
||||
"recording": "Recording",
|
||||
"streaming": "Streaming",
|
||||
"conditions": "Conditions",
|
||||
"persistence": "Persistence"
|
||||
"all": "Todas",
|
||||
"overview": "Visão geral",
|
||||
"camera": "Câmera",
|
||||
"recording": "Gravação",
|
||||
"streaming": "Transmissão",
|
||||
"conditions": "Condições",
|
||||
"persistence": "Armazenamento"
|
||||
},
|
||||
"info": {
|
||||
"kerberos_hub_demo": "Have a look at our Kerberos Hub demo environment, to see Kerberos Hub in action!",
|
||||
"configuration_updated_success": "Your configuration have been updated successfully.",
|
||||
"configuration_updated_error": "Something went wrong while saving.",
|
||||
"verify_hub": "Verifying your Kerberos Hub settings.",
|
||||
"verify_hub_success": "Kerberos Hub settings are successfully verified.",
|
||||
"verify_hub_error": "Something went wrong while verifying Kerberos Hub",
|
||||
"verify_persistence": "Verifying your persistence settings.",
|
||||
"verify_persistence_success": "Persistence settings are successfully verified.",
|
||||
"verify_persistence_error": "Something went wrong while verifying the persistence",
|
||||
"verify_camera": "Verifying your camera settings.",
|
||||
"verify_camera_success": "Camera settings are successfully verified.",
|
||||
"verify_camera_error": "Something went wrong while verifying the camera settings"
|
||||
"kerberos_hub_demo": "Dê uma olhada em nosso ambiente de demonstração do Kerberos Hub para ver o Kerberos Hub em ação!",
|
||||
"configuration_updated_success": "Sua configuração foi atualizada com sucesso.",
|
||||
"configuration_updated_error": "Ocorreu um erro durante o salvamento.",
|
||||
"verify_hub": "Verificando as configurações do Kerberos Hub.",
|
||||
"verify_hub_success": "As configurações do Kerberos Hub foram verificadas com sucesso.",
|
||||
"verify_hub_error": "Algo deu errado ao verificar o Kerberos Hub",
|
||||
"verify_persistence": "Verificando suas configurações de armazenamento.",
|
||||
"verify_persistence_success": "As configurações de armazenamento foram verificadas com sucesso.",
|
||||
"verify_persistence_error": "Algo deu errado ao verificar o armazenamento",
|
||||
"verify_camera": "Verificando as configurações de sua câmera.",
|
||||
"verify_camera_success": "As configurações da câmera foram verificadas com sucesso.",
|
||||
"verify_camera_error": "Algo deu errado ao verificar as configurações da câmera."
|
||||
},
|
||||
"overview": {
|
||||
"general": "General",
|
||||
"description_general": "General settings for your Kerberos Agent",
|
||||
"key": "Key",
|
||||
"camera_name": "Camera name",
|
||||
"timezone": "Timezone",
|
||||
"select_timezone": "Select a timezone",
|
||||
"advanced_configuration": "Advanced configuration",
|
||||
"description_advanced_configuration": "Detailed configuration options to enable or disable specific parts of the Kerberos Agent",
|
||||
"offline_mode": "Offline mode",
|
||||
"description_offline_mode": "Disable all outgoing traffic"
|
||||
"general": "Geral",
|
||||
"description_general": "Configurações gerais para seu agente Kerberos",
|
||||
"key": "Chave",
|
||||
"camera_name": "Nome da câmera",
|
||||
"timezone": "Fuso horário",
|
||||
"select_timezone": "Selecione a timezone",
|
||||
"advanced_configuration": "Configurações avançadas",
|
||||
"description_advanced_configuration": "Opções de configuração detalhadas para habilitar ou desabilitar partes específicas do Kerberos Agent",
|
||||
"offline_mode": "Modo Offline",
|
||||
"description_offline_mode": "Desative todo o tráfego de saída"
|
||||
},
|
||||
"camera": {
|
||||
"camera": "Camera",
|
||||
"description_camera": "Camera settings are required to make a connection to your camera of choice.",
|
||||
"only_h264": "Currently only H264 RTSP streams are supported.",
|
||||
"rtsp_url": "RTSP url",
|
||||
"rtsp_h264": "A H264 RTSP connection to your camera.",
|
||||
"sub_rtsp_url": "Sub RTSP url (used for livestreaming)",
|
||||
"sub_rtsp_h264": "A secondary RTSP connection to the low resolution of your camera.",
|
||||
"camera": "Câmera",
|
||||
"description_camera": "As configurações da câmera são necessárias para fazer uma conexão com a câmera de sua escolha.",
|
||||
"only_h264": "Atualmente, apenas streams H264 RTSP são suportados.",
|
||||
"rtsp_url": "Url RTSP",
|
||||
"rtsp_h264": "Uma conexão H264 RTSP para sua câmera.",
|
||||
"sub_rtsp_url": "Sub RTSP URL(usado para transmissão ao vivo)",
|
||||
"sub_rtsp_h264": "Uma conexão RTSP secundária para a baixa resolução de sua câmera.",
|
||||
"onvif": "ONVIF",
|
||||
"description_onvif": "Credentials to communicate with ONVIF capabilities. These are used for PTZ or other capabilities provided by the camera.",
|
||||
"description_onvif": "Credenciais para se comunicar com recursos ONVIF. Eles são usados para PTZ ou outros recursos fornecidos pela câmera.",
|
||||
"onvif_xaddr": "ONVIF xaddr",
|
||||
"onvif_username": "ONVIF username",
|
||||
"onvif_password": "ONVIF password",
|
||||
"verify_connection": "Verify Connection",
|
||||
"verify_sub_connection": "Verify Sub Connection"
|
||||
"onvif_username": "ONVIF usuario (username)",
|
||||
"onvif_password": "ONVIF senha (password)",
|
||||
"verify_connection": "Verificar conexão",
|
||||
"verify_sub_connection": "Verificar subconexão"
|
||||
},
|
||||
"recording": {
|
||||
"recording": "Recording",
|
||||
"description_recording": "Specify how you would like to make recordings. Having a continuous 24/7 setup or a motion based recording.",
|
||||
"continuous_recording": "Continuous recording",
|
||||
"description_continuous_recording": "Make 24/7 or motion based recordings.",
|
||||
"max_duration": "max video duration (seconds)",
|
||||
"description_max_duration": "The maximum duration of a recording.",
|
||||
"pre_recording": "pre recording (key frames buffered)",
|
||||
"description_pre_recording": "Seconds before an event occurred.",
|
||||
"post_recording": "post recording (seconds)",
|
||||
"description_post_recording": "Seconds after an event occurred.",
|
||||
"threshold": "Recording threshold (pixels)",
|
||||
"description_threshold": "The number of pixels changed to record",
|
||||
"autoclean": "Auto clean",
|
||||
"description_autoclean": "Specify if the Kerberos Agent can cleanup recordings when a specific storage capacity (MB) is reached. This will remove the oldest recordings when the capacity is reached.",
|
||||
"autoclean_enable": "Enable auto clean",
|
||||
"autoclean_description_enable": "Remove oldest recording when capacity reached.",
|
||||
"autoclean_max_directory_size": "Maximum directory size (MB)",
|
||||
"autoclean_description_max_directory_size": "The maximum MB's of recordings stored.",
|
||||
"fragmentedrecordings": "Fragmented recordings",
|
||||
"description_fragmentedrecordings": "When recordings are fragmented they are suitable for an HLS stream. When turned on the MP4 container will look a bit different.",
|
||||
"fragmentedrecordings_enable": "Enable fragmentation",
|
||||
"fragmentedrecordings_description_enable": "Fragmented recordings are required for HLS.",
|
||||
"fragmentedrecordings_duration": "fragment duration",
|
||||
"fragmentedrecordings_description_duration": "Duration of a single fragment."
|
||||
"recording": "Gravação",
|
||||
"description_recording": "Especifique como você gostaria de fazer gravações. Gravar o tempo todo (24/7) ou baseada na detecção de movimento.",
|
||||
"continuous_recording": "Gravação contínua",
|
||||
"description_continuous_recording": "Faça gravações 24/7 ou baseadas na detecção de movimento.",
|
||||
"max_duration": "duração máxima do vídeo (segundos)",
|
||||
"description_max_duration": "A duração máxima de uma gravação.",
|
||||
"pre_recording": "pré-gravação (key frames em buffer)",
|
||||
"description_pre_recording": "Segundos antes de um evento ocorrer.",
|
||||
"post_recording": "pós gravação (segundos)",
|
||||
"description_post_recording": "Segundos após a ocorrência de um evento.",
|
||||
"threshold": "Limite de gravação (pixels)",
|
||||
"description_threshold": "O número de pixels alterados para gravar",
|
||||
"autoclean": "Limpeza automática",
|
||||
"description_autoclean": "Especifique se o Agente Kerberos pode limpar gravações quando uma capacidade de armazenamento específica (MB) é atingida. Isso removerá as gravações mais antigas quando a capacidade for atingida.",
|
||||
"autoclean_enable": "Ativar limpeza automática",
|
||||
"autoclean_description_enable": "Remova a gravação mais antiga quando a capacidade for atingida.",
|
||||
"autoclean_max_directory_size": "Tamanho máximo do diretório (MB)",
|
||||
"autoclean_description_max_directory_size": "O máximo de MB de gravações armazenadas.",
|
||||
"fragmentedrecordings": "Gravações Fragmentadas",
|
||||
"description_fragmentedrecordings": "Quando as gravações são fragmentadas, elas são adequadas para um fluxo HLS. Quando ativado, o contêiner MP4 parecerá um pouco diferente.",
|
||||
"fragmentedrecordings_enable": "Ativar fragmentação",
|
||||
"fragmentedrecordings_description_enable": "Gravações fragmentadas são necessárias para HLS.",
|
||||
"fragmentedrecordings_duration": "Duração do fragmento",
|
||||
"fragmentedrecordings_description_duration": "Duração de um único fragmento."
|
||||
},
|
||||
"streaming": {
|
||||
"stun_turn": "STUN/TURN for WebRTC",
|
||||
"description_stun_turn": "For full-resolution livestreaming we use the concept of WebRTC. One of the key capabilities is the ICE-candidate feature, which allows NAT traversal using the concepts of STUN/TURN.",
|
||||
"stun_server": "STUN server",
|
||||
"turn_server": "TURN server",
|
||||
"turn_username": "Username",
|
||||
"turn_password": "Password",
|
||||
"stun_turn_forward": "Forwarding and transcoding",
|
||||
"stun_turn_description_forward": "Optimisations and enhancements for TURN/STUN communication.",
|
||||
"stun_turn_webrtc": "Forwarding to WebRTC broker",
|
||||
"stun_turn_description_webrtc": "Forward h264 stream through MQTT",
|
||||
"stun_turn_transcode": "Transcode stream",
|
||||
"stun_turn_description_transcode": "Convert stream to a lower resolution",
|
||||
"stun_turn_downscale": "Downscale resolution (in % or original resolution)",
|
||||
"stun_turn": "STUN/TURN para WebRTC",
|
||||
"description_stun_turn": "Para transmissão ao vivo de resolução total, usamos o conceito de WebRTC. Um dos principais recursos é o recurso ICE-candidate, que permite a travessia de NAT usando os conceitos de STUN/TURN.",
|
||||
"stun_server": "Servidor STUN",
|
||||
"turn_server": "Servidor TURN",
|
||||
"turn_username": "Usuario",
|
||||
"turn_password": "Senha",
|
||||
"stun_turn_forward": "Encaminhamento e transcodificação",
|
||||
"stun_turn_description_forward": "Otimizações e melhorias para a comunicação TURN/STUN.",
|
||||
"stun_turn_webrtc": "Encaminhamento para broker WebRTC",
|
||||
"stun_turn_description_webrtc": "Encaminhar stream h264 através do MQTT",
|
||||
"stun_turn_transcode": "Transcodificar stream",
|
||||
"stun_turn_description_transcode": "Converter stream para uma resolução mais baixa",
|
||||
"stun_turn_downscale": "Resolução reduzida (em % ou resolução original)",
|
||||
"mqtt": "MQTT",
|
||||
"description_mqtt": "A MQTT broker is used to communicate from",
|
||||
"description2_mqtt": "to the Kerberos Agent, to achieve for example livestreaming or ONVIF (PTZ) capabilities.",
|
||||
"mqtt_brokeruri": "Broker Uri",
|
||||
"mqtt_username": "Username",
|
||||
"mqtt_password": "Password"
|
||||
"description_mqtt": "Um broker MQTT é usado para se comunicar de",
|
||||
"description2_mqtt": "para o Kerberos Agent, para obter, por exemplo, recursos de transmissão ao vivo ou ONVIF (PTZ).",
|
||||
"mqtt_brokeruri": "Url Broker",
|
||||
"mqtt_username": "Usuario",
|
||||
"mqtt_password": "Senha"
|
||||
},
|
||||
"conditions": {
|
||||
"timeofinterest": "Time Of Interest",
|
||||
"description_timeofinterest": "Only make recordings between specific time intervals (based on timezone).",
|
||||
"timeofinterest_enabled": "Enabled",
|
||||
"timeofinterest_description_enabled": "If enabled you can specify time windows",
|
||||
"sunday": "Sunday",
|
||||
"monday": "Monday",
|
||||
"tuesday": "Tuesday",
|
||||
"wednesday": "Wednesday",
|
||||
"thursday": "Thursday",
|
||||
"friday": "Friday",
|
||||
"saturday": "Saturday",
|
||||
"externalcondition": "External Condition",
|
||||
"description_externalcondition": "Depending on an external webservice recording can be enabled or disabled.",
|
||||
"regionofinterest": "Region Of Interest",
|
||||
"description_regionofinterest": "By defining one or more regions, motion will be tracked only in the regions you have defined."
|
||||
"timeofinterest": "Tempo de interesse",
|
||||
"description_timeofinterest": "Apenas faça gravações entre intervalos de tempo específicos (com base no fuso horário).",
|
||||
"timeofinterest_enabled": "Habilitado",
|
||||
"timeofinterest_description_enabled": "Se ativado, você pode especificar os intervalos de tempo",
|
||||
"sunday": "Domingo",
|
||||
"monday": "Segunda",
|
||||
"tuesday": "Terça",
|
||||
"wednesday": "Quarta",
|
||||
"thursday": "Quinta",
|
||||
"friday": "Sexta",
|
||||
"saturday": "Sabado",
|
||||
"externalcondition": "Condição Externa",
|
||||
"description_externalcondition": "Dependendo de um serviço de web(API) externo, a gravação pode ser habilitada ou desabilitada.",
|
||||
"regionofinterest": "Região de interesse",
|
||||
"description_regionofinterest": "Ao definir uma ou mais regiões, o movimento será rastreado apenas nas regiões definidas por você."
|
||||
},
|
||||
"persistence": {
|
||||
"kerberoshub": "Kerberos Hub",
|
||||
"description_kerberoshub": "Kerberos Agents can send heartbeats to a central",
|
||||
"description2_kerberoshub": "installation. Heartbeats and other relevant information are synced to Kerberos Hub to show realtime information about your video landscape.",
|
||||
"persistence": "Persistence",
|
||||
"saasoffering": "Kerberos Hub (SAAS offering)",
|
||||
"description_persistence": "Having the ability to store your recordings is the beginning of everything. You can choose between our",
|
||||
"description2_persistence": ", or a 3rd party provider",
|
||||
"select_persistence": "Select a persistence",
|
||||
"kerberoshub_proxyurl": "Kerberos Hub Proxy URL",
|
||||
"kerberoshub_description_proxyurl": "The Proxy endpoint for uploading your recordings.",
|
||||
"kerberoshub_apiurl": "Kerberos Hub API URL",
|
||||
"kerberoshub_description_apiurl": "The API endpoint for uploading your recordings.",
|
||||
"kerberoshub_publickey": "Public key",
|
||||
"kerberoshub_description_publickey": "The public key granted to your Kerberos Hub account.",
|
||||
"kerberoshub_privatekey": "Private key",
|
||||
"kerberoshub_description_privatekey": "The private key granted to your Kerberos Hub account.",
|
||||
"kerberoshub_site": "Site",
|
||||
"kerberoshub_description_site": "The site ID the Kerberos Agents are belonging to in Kerberos Hub.",
|
||||
"kerberoshub_region": "Region",
|
||||
"kerberoshub_description_region": "The region we are storing our recordings in.",
|
||||
"description_kerberoshub": "Agentes Kerberos podem enviar sinais constantes para a central",
|
||||
"description2_kerberoshub": "instalação. Os sinais e outras informações relevantes são sincronizadas com o Kerberos Hub para mostrar informações em tempo real sobre seu cenário de vídeo.",
|
||||
"persistence": "Armazenamento",
|
||||
"saasoffering": "Kerberos Hub (oferta SAAS)",
|
||||
"description_persistence": "Ter a capacidade de armazenar suas gravações é o começo de tudo. Você pode escolher entre nossos",
|
||||
"description2_persistence": ", ou um provedor terceirizado",
|
||||
"select_persistence": "Selecione um provedor de armazenamento",
|
||||
"kerberoshub_proxyurl": "Url proxy para Kerberos Hub",
|
||||
"kerberoshub_description_proxyurl": "O endpoint Proxy para enviar suas gravações.",
|
||||
"kerberoshub_apiurl": "Url de API do Kerberos Hub",
|
||||
"kerberoshub_description_apiurl": "O endpoint da API para enviar suas gravações.",
|
||||
"kerberoshub_publickey": "Chave pública (Public key)",
|
||||
"kerberoshub_description_publickey": "A chave pública concedida à sua conta do Kerberos Hub.",
|
||||
"kerberoshub_privatekey": "Chave privada (Private key)",
|
||||
"kerberoshub_description_privatekey": "A chave privada concedida à sua conta do Kerberos Hub.",
|
||||
"kerberoshub_site": "Local",
|
||||
"kerberoshub_description_site": "O ID do local ao qual os Agentes Kerberos pertencem no Hub Kerberos.",
|
||||
"kerberoshub_region": "Região",
|
||||
"kerberoshub_description_region": "A região em que estamos armazenando nossas gravações.",
|
||||
"kerberoshub_bucket": "Bucket",
|
||||
"kerberoshub_description_bucket": "The bucket we are storing our recordings in.",
|
||||
"kerberoshub_username": "Username/Directory",
|
||||
"kerberoshub_description_username": "The username of your Kerberos Hub account.",
|
||||
"kerberosvault_apiurl": "Kerberos Vault API URL",
|
||||
"kerberosvault_description_apiurl": "The Kerberos Vault API",
|
||||
"kerberosvault_provider": "Provider",
|
||||
"kerberosvault_description_provider": "The provider to which your recordings will be send.",
|
||||
"kerberosvault_directory": "Directory",
|
||||
"kerberosvault_description_directory": "Sub directory the recordings will be stored in your provider.",
|
||||
"kerberosvault_accesskey": "Access key",
|
||||
"kerberosvault_description_accesskey": "The access key of your Kerberos Vault account.",
|
||||
"kerberosvault_secretkey": "Secret key",
|
||||
"kerberosvault_description_secretkey": "The secret key of your Kerberos Vault account.",
|
||||
"verify_connection": "Verify Connection"
|
||||
"kerberoshub_description_bucket": "O bucket no qual estamos armazenando nossas gravações.",
|
||||
"kerberoshub_username": "Nome de usuário/diretório (Username/Directory)",
|
||||
"kerberoshub_description_username": "O nome de usuário da sua conta do Kerberos Hub.",
|
||||
"kerberosvault_apiurl": "Url da API do Kerberos Vault",
|
||||
"kerberosvault_description_apiurl": "a API Kerberos Vault",
|
||||
"kerberosvault_provider": "Provedor",
|
||||
"kerberosvault_description_provider": "O provedor para o qual suas gravações serão enviadas.",
|
||||
"kerberosvault_directory": "Diretório",
|
||||
"kerberosvault_description_directory": "Subdiretório as gravações serão armazenadas em seu provedor.",
|
||||
"kerberosvault_accesskey": "Chave de acesso(Access key)",
|
||||
"kerberosvault_description_accesskey": "A chave de acesso da sua conta do Kerberos Vault.",
|
||||
"kerberosvault_secretkey": "Chave secreta(Secret key)",
|
||||
"kerberosvault_description_secretkey": "A chave secreta da sua conta do Kerberos Vault.",
|
||||
"verify_connection": "Verificar conexão"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ const LanguageSelect = () => {
|
||||
de: { label: 'Deutsch', dir: 'ltr', active: false },
|
||||
pt: { label: 'Português', dir: 'ltr', active: false },
|
||||
es: { label: 'Español', dir: 'ltr', active: false },
|
||||
ja: { label: '日本', dir: 'rlt', active: false },
|
||||
};
|
||||
|
||||
if (!languageMap[selected]) {
|
||||
|
||||
@@ -7,14 +7,16 @@ const websocketprotocol = protocol === 'http:' ? 'ws:' : 'wss:';
|
||||
|
||||
const dev = {
|
||||
ENV: 'dev',
|
||||
// Comment the below lines, when using codespaces or other special DNS names (which you can't control)
|
||||
HOSTNAME: hostname,
|
||||
API_URL: `${protocol}//${hostname}:8080/api`,
|
||||
URL: `${protocol}//${hostname}:8080`,
|
||||
WS_URL: `${websocketprotocol}//${hostname}:8080/ws`,
|
||||
|
||||
// Uncomment, and comment the above lines, when using codespaces or other special DNS names (which you can't control)
|
||||
// HOSTNAME: externalHost,
|
||||
// API_URL: `${protocol}//${externalHost}/api`,
|
||||
// URL: `${protocol}//${externalHost}`,
|
||||
// WS_URL: `${websocketprotocol}//${externalHost}/ws`,
|
||||
};
|
||||
|
||||
const prod = {
|
||||
|
||||
@@ -14,7 +14,7 @@ i18n
|
||||
escapeValue: false,
|
||||
},
|
||||
load: 'languageOnly',
|
||||
whitelist: ['de', 'en', 'nl', 'fr', 'pl', 'es', 'pt'],
|
||||
whitelist: ['de', 'en', 'nl', 'fr', 'pl', 'es', 'pt', 'ja'],
|
||||
});
|
||||
|
||||
export default i18n;
|
||||
|
||||
Reference in New Issue
Block a user