From 63ebf701eab125944cd736d8c0c267d5f6f8c2a3 Mon Sep 17 00:00:00 2001 From: liyang Date: Sun, 10 Nov 2024 22:37:45 +0800 Subject: [PATCH] * [bug#56820] Add notic lang. --- module/host/lang/de.php | 14 ++++++++------ module/host/lang/fr.php | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/module/host/lang/de.php b/module/host/lang/de.php index 77379046ce..b33044ea42 100644 --- a/module/host/lang/de.php +++ b/module/host/lang/de.php @@ -169,12 +169,14 @@ $lang->host->diskTypeList['ssd'] = 'SSD'; $lang->host->confirmDelete = 'Do you want to delete this host?'; $lang->host->notice = new stdclass(); -$lang->host->notice->memory = 'Memory size should be numbers!'; -$lang->host->notice->diskSize = 'Disk size should be numbers!'; -$lang->host->notice->cpuNumber = 'CPU number should be numbers!'; -$lang->host->notice->cpuCores = 'CPU cores should be numbers!'; -$lang->host->notice->int = '『%s』should be a positive integer!'; -$lang->host->notice->ip = '『%s』incorrect format!'; +$lang->host->notice->memory = 'Memory size should be numbers!'; +$lang->host->notice->diskSize = 'Disk size should be numbers!'; +$lang->host->notice->cpuNumber = 'CPU number should be numbers!'; +$lang->host->notice->cpuCores = 'CPU cores should be numbers!'; +$lang->host->notice->int = '『%s』should be a positive integer!'; +$lang->host->notice->ip = '『%s』incorrect format!'; +$lang->host->notice->nameLength = 'Host name length should not exceed 100 characters!'; +$lang->host->notice->descLength = 'Host description length should not exceed 255 characters!'; $lang->host->CDlist = array(); $lang->host->CDlist['manual'] = 'Manual'; diff --git a/module/host/lang/fr.php b/module/host/lang/fr.php index 77379046ce..b33044ea42 100644 --- a/module/host/lang/fr.php +++ b/module/host/lang/fr.php @@ -169,12 +169,14 @@ $lang->host->diskTypeList['ssd'] = 'SSD'; $lang->host->confirmDelete = 'Do you want to delete this host?'; $lang->host->notice = new stdclass(); -$lang->host->notice->memory = 'Memory size should be numbers!'; -$lang->host->notice->diskSize = 'Disk size should be numbers!'; -$lang->host->notice->cpuNumber = 'CPU number should be numbers!'; -$lang->host->notice->cpuCores = 'CPU cores should be numbers!'; -$lang->host->notice->int = '『%s』should be a positive integer!'; -$lang->host->notice->ip = '『%s』incorrect format!'; +$lang->host->notice->memory = 'Memory size should be numbers!'; +$lang->host->notice->diskSize = 'Disk size should be numbers!'; +$lang->host->notice->cpuNumber = 'CPU number should be numbers!'; +$lang->host->notice->cpuCores = 'CPU cores should be numbers!'; +$lang->host->notice->int = '『%s』should be a positive integer!'; +$lang->host->notice->ip = '『%s』incorrect format!'; +$lang->host->notice->nameLength = 'Host name length should not exceed 100 characters!'; +$lang->host->notice->descLength = 'Host description length should not exceed 255 characters!'; $lang->host->CDlist = array(); $lang->host->CDlist['manual'] = 'Manual';