mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-08-03 02:48:51 -04:00
add translations
This commit is contained in:
@@ -64,8 +64,13 @@ const de = {
|
||||
link: 'Link',
|
||||
link_desc:
|
||||
'Macht Ihren Gerätenamen zu einem anklickbaren Link, ideal zum Beispiel für die Verknüpfung eines Dashboards.',
|
||||
ping: 'Ping',
|
||||
ping_desc:
|
||||
'Du kannst einen benutzerdefinierten Shell-Befehl verwenden, um festzustellen, ob das Gerät eingeschaltet ist. Der Befehl sollte einen Exit-Code von <span class="badge">0</span> zurückgeben, um anzuzeigen, dass das Gerät eingeschaltet ist. Jeder andere Exit-Code setzt den Status auf offline.',
|
||||
ping_cmd: 'Eigener Ping-Befehl',
|
||||
wake: 'Einschalten',
|
||||
wake_desc: 'Du kannst das Gerät mit einem Cron-Job einschalten.',
|
||||
wake_cmd: 'Eigener Einschalt-Befehl',
|
||||
wake_cron: 'Cron',
|
||||
wake_cron_enable: 'Aktivieren',
|
||||
sol: 'Sleep-On-LAN',
|
||||
|
||||
@@ -65,8 +65,13 @@ const fr = {
|
||||
link: 'Lien',
|
||||
link_desc:
|
||||
'Rend le nom de votre appareil cliquable, parfait pour y lier un tableau de bord par exemple.',
|
||||
ping: 'Ping',
|
||||
ping_desc:
|
||||
"Vous pouvez utiliser une commande shell personnalisée pour vérifier si l'appareil est sous tension. La commande doit renvoyer un code de sortie de <span class='badge'>0</span> pour indiquer que l'appareil est sous tension, tout autre code de sortie indiquera que l'appareil est hors tension.",
|
||||
ping_cmd: 'Commande ping personnalisée',
|
||||
wake: 'Réveil',
|
||||
wake_desc: 'Vous pouvez allumer cet appareil en utilisant un job cron planifié.',
|
||||
wake_cmd: 'Commande de réveil personnalisée',
|
||||
wake_cron: 'Réveil avec cron',
|
||||
wake_cron_enable: 'Activer le réveil avec cron',
|
||||
sol: 'Sleep-On-LAN',
|
||||
|
||||
@@ -257,6 +257,18 @@ type RootTranslation = {
|
||||
* Makes your device name a clickable link, perfect for linking a dashboard for example.
|
||||
*/
|
||||
link_desc: string;
|
||||
/**
|
||||
* Ping
|
||||
*/
|
||||
ping: string;
|
||||
/**
|
||||
* You can use a custom shell command to see if the device is powered on. The command should return an exit code of <span class="badge">0</span> to indicate that the device is powered on, any other exit code will mark the device as powered off.
|
||||
*/
|
||||
ping_desc: string;
|
||||
/**
|
||||
* Custom ping command
|
||||
*/
|
||||
ping_cmd: string;
|
||||
/**
|
||||
* Wake
|
||||
*/
|
||||
@@ -265,6 +277,10 @@ type RootTranslation = {
|
||||
* You can power this device using a scheduled cron job.
|
||||
*/
|
||||
wake_desc: string;
|
||||
/**
|
||||
* Custom wake command
|
||||
*/
|
||||
wake_cmd: string;
|
||||
/**
|
||||
* Wake cron
|
||||
*/
|
||||
@@ -1012,6 +1028,18 @@ export type TranslationFunctions = {
|
||||
* Makes your device name a clickable link, perfect for linking a dashboard for example.
|
||||
*/
|
||||
link_desc: () => LocalizedString;
|
||||
/**
|
||||
* Ping
|
||||
*/
|
||||
ping: () => LocalizedString;
|
||||
/**
|
||||
* You can use a custom shell command to see if the device is powered on. The command should return an exit code of <span class="badge">0</span> to indicate that the device is powered on, any other exit code will mark the device as powered off.
|
||||
*/
|
||||
ping_desc: () => LocalizedString;
|
||||
/**
|
||||
* Custom ping command
|
||||
*/
|
||||
ping_cmd: () => LocalizedString;
|
||||
/**
|
||||
* Wake
|
||||
*/
|
||||
@@ -1020,6 +1048,10 @@ export type TranslationFunctions = {
|
||||
* You can power this device using a scheduled cron job.
|
||||
*/
|
||||
wake_desc: () => LocalizedString;
|
||||
/**
|
||||
* Custom wake command
|
||||
*/
|
||||
wake_cmd: () => LocalizedString;
|
||||
/**
|
||||
* Wake cron
|
||||
*/
|
||||
|
||||
@@ -64,8 +64,13 @@ const pt = {
|
||||
link: 'Link',
|
||||
link_desc:
|
||||
'Permite que o nome do seu dispositivo seja um link. Perfeito para dashboard, por exemplo.',
|
||||
ping: 'Ping',
|
||||
ping_desc:
|
||||
'Pode utilizar um comando shell personalizado para ver se o dispositivo está ligado. O comando deve devolver um código de saída de <span class="badge">0</span> para indicar que o dispositivo está ligado, qualquer outro código de saída marcará o dispositivo como desligado.',
|
||||
ping_cmd: 'Comando ping personalizado',
|
||||
wake: 'Ligar',
|
||||
wake_desc: 'Poderá ligar este dispositivo através dum cron job agendado.',
|
||||
wake_cmd: 'Comando de despertar personalizado',
|
||||
wake_cron: 'Wake cron',
|
||||
wake_cron_enable: 'Ativar wake cron',
|
||||
sol: 'Sleep-On-LAN',
|
||||
|
||||
@@ -60,8 +60,13 @@ const zh = {
|
||||
ports_number: '端口号',
|
||||
link: '链接',
|
||||
link_desc: '为您的设备名设置一个可点击的链接.',
|
||||
ping: 'Ping',
|
||||
ping_desc:
|
||||
'您可以使用自定义 shell 命令来查看设备是否已接通电源。该命令应返回 <span class="badge">0</span> 的退出代码,表示设备电源已打开,任何其他退出代码都将标记设备电源已关闭。',
|
||||
ping_cmd: '自定义 ping 命令',
|
||||
wake: '唤醒',
|
||||
wake_desc: '您可以通过计划任务来唤醒设备.',
|
||||
wake_cmd: '自定义唤醒命令',
|
||||
wake_cron: '唤醒计划任务',
|
||||
wake_cron_enable: '启用定时唤醒',
|
||||
sol: 'Sleep-On-LAN',
|
||||
|
||||
Reference in New Issue
Block a user