mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Remove the last _()
This commit is contained in:
parent
7a34e267c0
commit
1a6289d115
2 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@ def dyndns_subscribe(subscribe_host="dyndns.yunohost.org", domain=None, key=None
|
|||
if key is None:
|
||||
if len(glob.glob('/etc/yunohost/dyndns/*.key')) == 0:
|
||||
os.makedirs('/etc/yunohost/dyndns')
|
||||
print(_("DNS key is being generated, it may take a while..."))
|
||||
print(m18n.n('dyndns_key_generating'))
|
||||
os.system('cd /etc/yunohost/dyndns && dnssec-keygen -a hmac-md5 -b 128 -n USER %s' % domain)
|
||||
os.system('chmod 600 /etc/yunohost/dyndns/*.key /etc/yunohost/dyndns/*.private')
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
"domain_deletion_failed" : "Unable to delete domain",
|
||||
"domain_deleted" : "Domain successfully deleted",
|
||||
|
||||
"dyndns_key_generating" : "DNS key is being generated, it may take a while...",
|
||||
"dyndns_unavailable" : "Unavailable DynDNS subdomain",
|
||||
"dyndns_registration_failed" : "Unable to register DynDNS domain: %s",
|
||||
"dyndns_registered" : "DynDNS domain successfully registered",
|
||||
|
|
Loading…
Add table
Reference in a new issue