Skip to content

Commit

Permalink
wizard-tunnel: fix ca property and add file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrenarchy committed Aug 27, 2017
1 parent 77e3598 commit 349aa74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/components/wizard-tunnel/wizard-tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ export default module('app.components.wizard-tunnel', [])

this.tunnelConf = [
{
fileExtensions: '.ovpn,.cnf,text/*',
fileExtensions: '.ovpn,.cnf,.conf,text/*',
property: 'config',
required: true,
},
{
fileExtensions: '.crt,text/*',
fileExtensions: '.crt,.cert,text/*',
property: 'cert',
},
{
fileExtensions: '.crt,text/*',
property: 'cacert',
fileExtensions: '.crt,.cert, text/*',
property: 'ca',
},
{
fileExtensions: '.key,text/*',
Expand Down
2 changes: 1 addition & 1 deletion src/nls/locale-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"pattern": "Falsches Dateiformat oder falscher Dateiname. Nur Textdateien sind erlaubt."
}
},
"cacert": {
"ca": {
"label": "CA Zertifikat",
"select": "Zertifikatsdatei",
"error": {
Expand Down
2 changes: 1 addition & 1 deletion src/nls/locale-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"pattern": "Wrong file format or name. Only text files are allowed."
}
},
"cacert": {
"ca": {
"label": "CA Certificate",
"select": ".cert file",
"error": {
Expand Down

0 comments on commit 349aa74

Please sign in to comment.