terminologie pour les types de domaine : correction. Traduction ok pour les types par defaut ...

This commit is contained in:
Benjamin Sonntag 2011-03-27 13:21:09 +00:00
parent cc25cabf6e
commit 3f67f06c06
7 changed files with 62 additions and 41 deletions

View File

@ -35,7 +35,13 @@ $dom->unlock();
<input type="hidden" name="type_old" value="<?php ehe($type); ?>" /> <input type="hidden" name="type_old" value="<?php ehe($type); ?>" />
<input type="hidden" name="value_old" value="<?php ehe($value); ?>" /> <input type="hidden" name="value_old" value="<?php ehe($value); ?>" />
<input type="hidden" name="action" value="add" /> <input type="hidden" name="action" value="add" />
<?php __("Create a subdomain:"); ?></td><td> <?php
if ($isedit) {
__("Create a subdomain:");
} else {
__("Edit a subdomain:");
}
?></td><td>
<input type="text" class="int" name="sub" style="text-align:right" value="<?php ehe($sub); ?>" size="22" id="sub" /><span class="int" id="newsubname">.<?php echo $domain; ?></span></td> <input type="text" class="int" name="sub" style="text-align:right" value="<?php ehe($sub); ?>" size="22" id="sub" /><span class="int" id="newsubname">.<?php echo $domain; ?></span></td>
</tr> </tr>
<?php <?php

View File

@ -94,7 +94,7 @@ if ($r['dns_action']=='UPDATE') {?>
gestion des sous-domaines gestion des sous-domaines
--> -->
<table class="tlist"> <table class="tlist">
<tr><th colspan="2"> </th><th><?php __("Subdomain"); ?></th><th><?php __("Type");?></th><th><?php __("Place"); ?></th><th><?php __("Status")?></th><th><?php __("Pending");?></tr> <tr><th colspan="2"> </th><th><?php __("Subdomain"); ?></th><th><?php __("Type");?></th><th><?php __("Status")?></th><th><?php __("Pending");?></tr>
<?php <?php
$col=1; $col=1;
for($i=0;$i<$r["nsub"];$i++) { for($i=0;$i<$r["nsub"];$i++) {
@ -110,8 +110,14 @@ for($i=0;$i<$r["nsub"];$i++) {
</td> </td>
<?php } // end IF ==DELETE ?> <?php } // end IF ==DELETE ?>
<td><a href="http://<?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?>" target="_blank"><?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?></a></td> <td><a href="http://<?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?>" target="_blank"><?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?></a></td>
<td><?php __($r['sub'][$i]['type_desc']);?></td> <td><?php __($r['sub'][$i]['type_desc']); ?>
<td><?php echo $r["sub"][$i]['type'] === 'LOCAL' ? '<a href="bro_main.php?R='.urlencode($r["sub"][$i]["dest"]).'">'.htmlspecialchars($r["sub"][$i]["dest"]).'</a>' : htmlspecialchars($r["sub"][$i]["dest"]); ?>&nbsp;</td> <?php
if ($r["sub"][$i]['type'] === 'VHOST') {
echo '<br /><a href="bro_main.php?R='.urlencode($r["sub"][$i]["dest"]).'">'.htmlspecialchars($r["sub"][$i]["dest"]).'</a>';
} else {
if ($r["sub"][$i]['type']) echo "<br />".htmlspecialchars($r["sub"][$i]["dest"]);
}
?></td>
<td><?php <td><?php
if ( $r['sub'][$i]['web_action'] !='DELETE') { if ( $r['sub'][$i]['web_action'] !='DELETE') {
switch ($r['sub'][$i]['enable']) { switch ($r['sub'][$i]['enable']) {
@ -151,6 +157,7 @@ for($i=0;$i<$r["nsub"];$i++) {
<br /> <br />
<hr/> <hr/>
<?php <?php
$isedit=false;
require_once('dom_edit.inc.php'); require_once('dom_edit.inc.php');
sub_domains_edit($domain); sub_domains_edit($domain);
?> ?>

View File

@ -61,6 +61,7 @@ $dom->unlock();
<hr id="topbar"/> <hr id="topbar"/>
<br /> <br />
<?php <?php
$isedit=true;
require_once('dom_edit.inc.php'); require_once('dom_edit.inc.php');
sub_domains_edit($domain,$sub,$type,$value); sub_domains_edit($domain,$sub,$type,$value);

View File

@ -807,3 +807,30 @@ msgstr "Mots de passe des comptes POP/IMAP"
msgid "Protected folders passwords" msgid "Protected folders passwords"
msgstr "Mots de passe des dossiers protégés" msgstr "Mots de passe des dossiers protégés"
msgid "AlternC panel access"
msgstr "Accès au bureau AlternC"
msgid "Locally hosted"
msgstr "Géré en local"
msgid "URL redirection"
msgstr "Redirection vers une url"
msgid "IPv4 redirect"
msgstr "Redirection vers une IPv4"
msgid "Webmail access"
msgstr "Accès au webmail"
msgid "IPv6 redirect"
msgstr "Redirection vers une IPv6"
msgid "CNAME DNS entry"
msgstr "Entrée DNS CNAME"
msgid "TXT DNS entry"
msgstr "Entrée DNS TXT"
msgid "MX DNS entry"
msgstr "Entrée DNS MX"

View File

@ -1252,31 +1252,13 @@ msgstr "Sous-domaines"
msgid "Create a subdomain:" msgid "Create a subdomain:"
msgstr "Création d'un sous-domaine : " msgstr "Création d'un sous-domaine : "
msgid "Edit a subdomain:"
msgstr "Modification d'un sous-domaine : "
#: ../admin/dom_edit.php:95 ../admin/dom_edit.php:126 #: ../admin/dom_edit.php:95 ../admin/dom_edit.php:126
msgid "Add a subdomain" msgid "Add a subdomain"
msgstr "Ajouter un sous-domaine" msgstr "Ajouter un sous-domaine"
#: ../admin/dom_edit.php:99 ../admin/dom_subedit.php:62
#: ../admin/dom_subedit.php:67
msgid "Locally managed"
msgstr "Géré en local"
#: ../admin/dom_edit.php:110 ../admin/dom_subedit.php:73
#: ../admin/dom_subedit.php:78
msgid "URL redirection"
msgstr "Redirection vers une url"
#: ../admin/dom_edit.php:116 ../admin/dom_subedit.php:78
#: ../admin/dom_subedit.php:83
msgid "IP redirection"
msgstr "Redirection vers une ip"
#: ../admin/dom_edit.php:122 ../admin/dom_subedit.php:83
#: ../class/m_dom.php:551 ../class/m_dom.php:594 ../class/m_dom.php:559
#: ../class/m_dom.php:550 ../admin/dom_subedit.php:88 ../class/m_dom.php:574
msgid "Webmail access"
msgstr "Accès au webmail"
#: ../admin/dom_edit.php:138 ../admin/dom_edit.php:141 #: ../admin/dom_edit.php:138 ../admin/dom_edit.php:141
#: ../admin/dom_edit.php:169 #: ../admin/dom_edit.php:169
msgid "DNS parameters" msgid "DNS parameters"

View File

@ -495,15 +495,13 @@ PRIMARY KEY ( `name` )
) COMMENT = 'Type of domains allowed'; ) COMMENT = 'Type of domains allowed';
INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, only_dns, need_dns, advanced) values INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, only_dns, need_dns, advanced) values
('vhost','Locally managed', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), ('vhost','Locally hosted', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false),
('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true, false), ('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true, false),
('ip','IP redirection', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, true), ('ip','IPv4 redirect', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, false),
('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), ('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false),
('ipv6','IPv6 address', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ), ('ipv6','IPv6 redirect', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ),
('cname', 'cname entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ), ('cname', 'CNAME DNS entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ),
('txt', 'txt entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true), ('txt', 'TXT DNS entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true),
('mx', 'mx entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true), ('mx', 'MX DNS entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true),
('panel', 'Panel redirection', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, false) ('panel', 'AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, true)
; ;

View File

@ -20,15 +20,15 @@ PRIMARY KEY ( `name` )
) COMMENT = 'Type of domains allowed'; ) COMMENT = 'Type of domains allowed';
INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, only_dns, need_dns, advanced) values INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, only_dns, need_dns, advanced) values
('vhost','Locally managed', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), ('vhost','Locally hosted', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false),
('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true, false), ('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true, false),
('ip','IP redirection', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, true), ('ip','IPv4 redirect', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true, false),
('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false), ('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false, false),
('ipv6','IPv6 address', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ), ('ipv6','IPv6 redirect', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true, true ),
('cname', 'cname entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ), ('cname', 'CNAME DNS entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true, true ),
('txt', 'txt entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true), ('txt', 'TXT DNS entry', 'TXT', '%SUB% IN TXT "%TARGET%"','vhost,url,ip,webmail,ipv6,cname,txt,mx',true, true, true),
('mx', 'mx entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true), ('mx', 'MX DNS entry', 'IP', '%SUB% IN MX 5 %TARGET%', 'vhost,url,ip,webmail,ipv6,cname,txt,mx',true, false, true),
('panel', 'Panel redirection', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, false) ('panel', 'AlternC panel access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'vhost,url,ip,webmail,ipv6,cname,txt',true, false, true)
; ;
-- Changing standby use -- Changing standby use