translated a dropbox message

This commit is contained in:
antelle 2020-04-18 15:48:29 +02:00
parent 63850f75af
commit abc154738c
No known key found for this signature in database
GPG Key ID: 094A2F2D6136A4EE
2 changed files with 3 additions and 1 deletions

View File

@ -598,6 +598,7 @@
"dropboxSetupDesc": "Some configuration is required to use Dropbox in a self-hosted app. Please create your own Dropbox app and fill in its key below.",
"dropboxAppKey": "Dropbox app key",
"dropboxAppKeyDesc": "Copy the key from your Dropbox app (Developer settings)",
"dropboxAppKeyHint": "your app key",
"dropboxAppSecret": "Dropbox app secret",
"dropboxAppSecretDesc": "The secret can be found next to the app key",
"dropboxFolder": "App folder",

View File

@ -2,6 +2,7 @@ import { StorageBase } from 'storage/storage-base';
import { Features } from 'util/features';
import { UrlFormat } from 'util/formatting/url-format';
import { DropboxApps } from 'const/cloud-storage-apps';
import { Locale } from 'util/locale';
const DropboxCustomErrors = {
BadKey: 'bad-key'
@ -203,7 +204,7 @@ class StorageDropbox extends StorageBase {
value = DropboxApps.FullDropbox.id;
break;
case 'custom':
value = '(your app key)';
value = `(${Locale.dropboxAppKeyHint})`;
break;
default:
return;