zoneconf: Remove red warning

This is a bit shouty and there are various places where we do not
warn about this problem, so this patch makes it more consistent.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-05-09 17:16:35 +02:00
parent d21b86b6c3
commit 1d6bc7a0dc
5 changed files with 6 additions and 18 deletions

View File

@@ -746,7 +746,6 @@ WARNING: translation string unused: zoneconf val native assignment error
WARNING: translation string unused: zoneconf val ppp assignment error
WARNING: translation string unused: zoneconf val vlan amount assignment error
WARNING: translation string unused: zoneconf val vlan tag assignment error
WARNING: translation string unused: zoneconf warning incorrect configuration
WARNING: untranslated string: Scan for Songs = unknown string
WARNING: untranslated string: addons = Addons
WARNING: untranslated string: bytes = unknown string

View File

@@ -859,7 +859,6 @@
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: fr #
############################################################################
@@ -939,7 +938,6 @@
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: it #
############################################################################
@@ -1230,7 +1228,6 @@
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: nl #
############################################################################
@@ -1579,7 +1576,6 @@
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: pl #
############################################################################
@@ -2368,7 +2364,6 @@
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: ru #
############################################################################
@@ -3164,7 +3159,6 @@
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: tr #
############################################################################
@@ -3260,4 +3254,3 @@
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration

View File

@@ -88,11 +88,9 @@ my $css = <<END
}
#submit-container {
display: flex;
width: 100%;
justify-content: space-between;
padding-top: 20px;
text-align: left;
text-align: right;
}
#submit-container.input {
@@ -429,11 +427,11 @@ END
print <<END
</table>
<div id="submit-container">
<font color="red">$Lang::tr{"zoneconf warning incorrect configuration"}</font>
<input type="submit" name="ACTION" value="$Lang::tr{"save"}">
</div>
</form>
<div id="submit-container">
<input type="submit" name="ACTION" value="$Lang::tr{"save"}">
</div>
</form>
END
;

View File

@@ -2892,7 +2892,6 @@
'zoneconf val ppp assignment error' => 'Die Netzwerkkarte, die von RED im PPP-Modus verwendet wird, kann keiner anderen Zone zugeordnet werden.',
'zoneconf val vlan amount assignment error' => 'Pro Zone kann nur ein VLAN verwendet werden.',
'zoneconf val vlan tag assignment error' => 'Pro Netzwerkkarte kann derselbe VLAN-Tag nur einmal verwendet werden.',
'zoneconf warning incorrect configuration' => 'Achtung: Fehlerhafte Einstellungen können dazu führen, dass diese Webseite nicht mehr erreichbar ist!',
);
#EOF

View File

@@ -2941,7 +2941,6 @@
'zoneconf val ppp assignment error' => 'The NIC used for RED in PPP mode cannot be accessed by any other zone.',
'zoneconf val vlan amount assignment error' => 'A zone cannot have more than one VLAN assigned.',
'zoneconf val vlan tag assignment error' => 'You cannot use the same VLAN tag more than once per NIC.',
'zoneconf warning incorrect configuration' => 'Warning: Incorrect configuration may render this web interface unreachable!',
);
#EOF