Use new translation argument passing

This commit is contained in:
Johannes Zellner
2020-11-12 23:13:52 +01:00
parent 50433206a3
commit bf2965dba0
16 changed files with 50 additions and 72 deletions

View File

@@ -86,7 +86,7 @@
},
"loginTokens": {
"title": "Login Tokens",
"description": "You have {{ webadminTokens.length }} active web token(s) and {{ cliTokens.length }} CLI token(s).",
"description": "You have {{ webadminTokenCount}} active web token(s) and {{ cliTokenCount }} CLI token(s).",
"logoutAll": "Logout From All"
},
"changeEmail": {
@@ -151,7 +151,7 @@
"contents": "Contents",
"version": "Version",
"noApps": "No apps",
"appCount": "{{ contents.length }} apps",
"appCount": "{{ appCount }} apps",
"tooltipDownloadBackupConfig": "Download Backup Configuration",
"cleanupBackups": "Cleanup Backups",
"backupNow": "Backup now",
@@ -168,7 +168,7 @@
"date": "Date",
"version": "Version",
"format": "Format",
"list": "References backups of {{ backup.contents.length }} apps"
"list": "References backups of {{ appCount }} apps"
},
"backupFailed": {
"title": "Unable to create backup"
@@ -191,7 +191,7 @@
"provider": "Storage provider",
"noopNote": "This option breaks the backup and restore functionality of Cloudron and should only be used for testing. Please make sure the server is completely backed up using alternate means.",
"mountPoint": "Mount point",
"mountPointDescription": "The mount point has to be setup manually. See <a href=\"https://docs.cloudron.io/backups/#{{ provider }}\" target=\"_blank\">docs</a>.",
"mountPointDescription": "The mount point has to be setup manually. See <a href=\"{{ providerDocsLink }}\" target=\"_blank\">docs</a>.",
"localDirectory": "Local backup directory",
"ext4Label": "Backup directory is an external EXT4 Disk",
"hardlinksLabel": "Use hardlinks",
@@ -244,7 +244,7 @@
"config": "Config",
"outbound": "Outbound only",
"disabled": "Disabled",
"stats": "{{ mailboxCount }} Mailbox(es) / Usage: {{ usage | prettyByteSize }}",
"stats": "{{ mailboxCount }} Mailbox(es) / Usage: {{ usage }}",
"testEmailTooltip": "Send Test Email"
},
"settings": {
@@ -253,7 +253,7 @@
"location": "Mail server location",
"maxMailSize": "Maximum email size",
"spamFilter": "Spam filtering",
"spamFilterOverview": "{{ acl.blacklist.length }} address(es) blacklisted {{ customConfig ? '. Custom rules set.' : '.' }}",
"spamFilterOverview": "{{ blacklistCount }} address(es) blacklisted.",
"changeDomainProgress": "Changing Email domain:"
},
"eventlog": {
@@ -287,7 +287,7 @@
"location": "Location",
"locationPlaceholder": "Leave empty to use bare domain",
"linodeInfo": "Linode DNS average <a target=\"_blank\" href=\"{{ linodeDocsLink }}\">propagation time</a> is 30 minutes. Changing the location will take a while.",
"manualInfo": "Add an A record manually for {{ (!subdomain ? '' : '.') + domain.domain }} to this Cloudron's public IP"
"manualInfo": "Add an A record manually for {{ domain }} to this Cloudron's public IP"
},
"changeMailSizeDialog": {
"title": "Change Maximum Email Size",
@@ -304,7 +304,7 @@
},
"testMailDialog": {
"title": "Send test email for {{ domain }}",
"description": "This will send a test email from <b>no-reply@{{domain}}</b> to the address below.",
"description": "This will send a test email from <b>no-reply@{{ domain }}</b> to the address below.",
"mailTo": "Email to",
"mailToPlaceholder": "Email address",
"sendAction": "Send"
@@ -324,7 +324,7 @@
"firewall": {
"title": "Firewall",
"blockedIpRanges": "Blocked IPs & Ranges",
"blocklist": "{{ currentBlocklistLength }} IP(s) blocked",
"blocklist": "{{ blockCount }} IP(s) blocked",
"configure": {
"title": "Firewall Configuration",
"description": "Matched addresses will be unable to connect to the server including the mail server, the dashboard and all apps. Be careful not to lock yourself out.",
@@ -351,7 +351,7 @@
"configureActionTooltip": "Configure",
"restartActionTooltip": "Restart",
"configure": {
"title": "Configure {{ displayName }}",
"title": "Configure {{ name }}",
"memoryLimitDescription": "Cloudron allocates 50% of this value as RAM and 50% as swap.",
"accessControl": "Access Control",
"accessControlDescription": "Allowing non-admins to access SFTP will let them read application config files and secret keys. For some apps like WordPress, they can also log the password.",
@@ -375,7 +375,7 @@
},
"timezone": {
"title": "Time Zone",
"description": "The current timezone setting is <b>{{ currentTimeZone.display }}</b>.\nThis setting is used for scheduling backup and update tasks."
"description": "The current timezone setting is <b>{{ timeZone }}</b>.\nThis setting is used for scheduling backup and update tasks."
},
"updates": {
"title": "Updates",
@@ -527,7 +527,7 @@
"namecheapInfo": "The server IP needs to be whitelisted for this API Key.",
"linodeInfo": "Linode DNS average <a target=\"_blank\" href=\"{{ linodeDocsLink }}\">propagation time</a> is 30 minutes. Installing apps &amp; and getting a Let's Encrypt certificate will take a while.",
"manualInfo": "All DNS records have to be setup manually before each app installation.",
"wildcardInfo": "Setup <i>A</i> records for <b>*.{{ newDomain || domain.domain }}</b> and <b>{{ newDomain || domain.domain }}</b> to this server's IP.",
"wildcardInfo": "Setup <i>A</i> records for <b>*.{{ domain }}</b> and <b>{{ domain }}</b> to this server's IP.",
"letsEncryptInfo": "Let's Encrypt requires your server to be reachable on port 80",
"advancedAction": "Advanced settings...",
"zoneName": "Zone Name (Optional)",