diff options
Diffstat (limited to 'apps/files_external')
131 files changed, 249 insertions, 157 deletions
diff --git a/apps/files_external/css/settings.css b/apps/files_external/css/settings.css index 9338b8d3ee7..6dfb012b15e 100644 --- a/apps/files_external/css/settings.css +++ b/apps/files_external/css/settings.css @@ -18,6 +18,11 @@ td.mountPoint, td.backend { width:160px; } #addMountPoint>td.applicable { visibility:hidden; } #addMountPoint>td.hidden { visibility:hidden; } +#externalStorage .icon-settings { + padding: 11px 20px; + vertical-align: text-bottom; +} + #selectBackend { margin-left: -10px; width: 150px; @@ -45,6 +50,10 @@ td.mountPoint, td.backend { width:160px; } margin-right: 6px; } +#externalStorage td.configuration input.disabled-success { + background-color: rgba(134, 255, 110, 0.9); +} + #externalStorage td.applicable div.chzn-container { position: relative; diff --git a/apps/files_external/js/dropbox.js b/apps/files_external/js/dropbox.js new file mode 100644 index 00000000000..8302f5711d6 --- /dev/null +++ b/apps/files_external/js/dropbox.js @@ -0,0 +1,30 @@ +$(document).ready(function() { + + function generateUrl($tr) { + var app_key = $tr.find('[data-parameter="app_key"]').val(); + if (app_key) { + return 'https://www.dropbox.com/developers/apps/info/' + app_key; + } else { + return 'https://www.dropbox.com/developers/apps'; + } + } + + OCA.External.Settings.mountConfig.whenSelectBackend(function($tr, backend, onCompletion) { + if (backend === 'dropbox') { + var backendEl = $tr.find('.backend'); + var el = $(document.createElement('a')) + .attr('href', generateUrl($tr)) + .attr('target', '_blank') + .attr('title', t('files_external', 'Dropbox App Configuration')) + .addClass('icon-settings svg') + ; + el.on('click', function(event) { + var a = $(event.target); + a.attr('href', generateUrl($(this).closest('tr'))); + }); + el.tooltip({placement: 'top'}); + backendEl.append(el); + } + }); + +}); diff --git a/apps/files_external/js/gdrive.js b/apps/files_external/js/gdrive.js new file mode 100644 index 00000000000..e02cedd6b45 --- /dev/null +++ b/apps/files_external/js/gdrive.js @@ -0,0 +1,26 @@ +$(document).ready(function() { + + function generateUrl($tr) { + // no mapping between client ID and Google 'project', so we always load the same URL + return 'https://console.developers.google.com/'; + } + + OCA.External.Settings.mountConfig.whenSelectBackend(function($tr, backend, onCompletion) { + if (backend === 'googledrive') { + var backendEl = $tr.find('.backend'); + var el = $(document.createElement('a')) + .attr('href', generateUrl($tr)) + .attr('target', '_blank') + .attr('title', t('files_external', 'Google Drive App Configuration')) + .addClass('icon-settings svg') + ; + el.on('click', function(event) { + var a = $(event.target); + a.attr('href', generateUrl($(this).closest('tr'))); + }); + el.tooltip({placement: 'top'}); + backendEl.append(el); + } + }); + +}); diff --git a/apps/files_external/js/oauth1.js b/apps/files_external/js/oauth1.js index e2ba25ebf8e..79248a3e3b2 100644 --- a/apps/files_external/js/oauth1.js +++ b/apps/files_external/js/oauth1.js @@ -1,5 +1,9 @@ $(document).ready(function() { + function displayGranted($tr) { + $tr.find('.configuration input.auth-param').attr('disabled', 'disabled').addClass('disabled-success'); + } + OCA.External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) { if (authMechanism === 'oauth1::oauth1') { var config = $tr.find('.configuration'); @@ -13,8 +17,7 @@ $(document).ready(function() { onCompletion.then(function() { var configured = $tr.find('[data-parameter="configured"]'); if ($(configured).val() == 'true') { - $tr.find('.configuration input').attr('disabled', 'disabled'); - $tr.find('.configuration').append('<span id="access" style="padding-left:0.5em;">'+t('files_external', 'Access granted')+'</span>'); + displayGranted($tr); } else { var app_key = $tr.find('.configuration [data-parameter="app_key"]').val(); var app_secret = $tr.find('.configuration [data-parameter="app_secret"]').val(); @@ -33,8 +36,7 @@ $(document).ready(function() { $(configured).val('true'); OCA.External.Settings.mountConfig.saveStorageConfig($tr, function(status) { if (status) { - $tr.find('.configuration input').attr('disabled', 'disabled'); - $tr.find('.configuration').append('<span id="access" style="padding-left:0.5em;">'+t('files_external', 'Access granted')+'</span>'); + displayGranted($tr); } }); } else { diff --git a/apps/files_external/js/oauth2.js b/apps/files_external/js/oauth2.js index 2556bf45cae..13b5162694e 100644 --- a/apps/files_external/js/oauth2.js +++ b/apps/files_external/js/oauth2.js @@ -1,5 +1,9 @@ $(document).ready(function() { + function displayGranted($tr) { + $tr.find('.configuration input.auth-param').attr('disabled', 'disabled').addClass('disabled-success'); + } + OCA.External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) { if (authMechanism === 'oauth2::oauth2') { var config = $tr.find('.configuration'); @@ -13,9 +17,7 @@ $(document).ready(function() { onCompletion.then(function() { var configured = $tr.find('[data-parameter="configured"]'); if ($(configured).val() == 'true') { - $tr.find('.configuration input').attr('disabled', 'disabled'); - $tr.find('.configuration').append($('<span/>').attr('id', 'access') - .text(t('files_external', 'Access granted'))); + displayGranted($tr); } else { var client_id = $tr.find('.configuration [data-parameter="client_id"]').val(); var client_secret = $tr.find('.configuration [data-parameter="client_secret"]') @@ -43,10 +45,7 @@ $(document).ready(function() { $(configured).val('true'); OCA.External.Settings.mountConfig.saveStorageConfig($tr, function(status) { if (status) { - $tr.find('.configuration input').attr('disabled', 'disabled'); - $tr.find('.configuration').append($('<span/>') - .attr('id', 'access') - .text(t('files_external', 'Access granted'))); + displayGranted($tr); } }); } else { diff --git a/apps/files_external/l10n/ast.js b/apps/files_external/l10n/ast.js index dde6d0c1e52..0fab7b15e81 100644 --- a/apps/files_external/l10n/ast.js +++ b/apps/files_external/l10n/ast.js @@ -7,7 +7,6 @@ OC.L10N.register( "Personal" : "Personal", "System" : "Sistema", "Grant access" : "Conceder accesu", - "Access granted" : "Accesu concedíu", "All users. Type to select user or group." : "Tolos usuarios. Escribe pa seleccionar usuariu o grupu.", "(group)" : "(grupu)", "Saved" : "Guardáu", diff --git a/apps/files_external/l10n/ast.json b/apps/files_external/l10n/ast.json index f31a288618c..56bfc2757ea 100644 --- a/apps/files_external/l10n/ast.json +++ b/apps/files_external/l10n/ast.json @@ -5,7 +5,6 @@ "Personal" : "Personal", "System" : "Sistema", "Grant access" : "Conceder accesu", - "Access granted" : "Accesu concedíu", "All users. Type to select user or group." : "Tolos usuarios. Escribe pa seleccionar usuariu o grupu.", "(group)" : "(grupu)", "Saved" : "Guardáu", diff --git a/apps/files_external/l10n/az.js b/apps/files_external/l10n/az.js index ebb84a1b6f3..75c15d57a12 100644 --- a/apps/files_external/l10n/az.js +++ b/apps/files_external/l10n/az.js @@ -10,7 +10,6 @@ OC.L10N.register( "Personal" : "Şəxsi", "System" : "Sistem", "Grant access" : "Yetkinin verilməsi", - "Access granted" : "Yetki verildi", "Generate keys" : "Açarları generasiya et", "Error generating key pair" : "Açar cütlüyünün generasiyası səhvi", "All users. Type to select user or group." : "Sistem istifadəçiləri. Daxil edin ki, istifadəçi və ya qrupu seçəsiniz.", diff --git a/apps/files_external/l10n/az.json b/apps/files_external/l10n/az.json index a8ec16bf97d..608a083f736 100644 --- a/apps/files_external/l10n/az.json +++ b/apps/files_external/l10n/az.json @@ -8,7 +8,6 @@ "Personal" : "Şəxsi", "System" : "Sistem", "Grant access" : "Yetkinin verilməsi", - "Access granted" : "Yetki verildi", "Generate keys" : "Açarları generasiya et", "Error generating key pair" : "Açar cütlüyünün generasiyası səhvi", "All users. Type to select user or group." : "Sistem istifadəçiləri. Daxil edin ki, istifadəçi və ya qrupu seçəsiniz.", diff --git a/apps/files_external/l10n/bg_BG.js b/apps/files_external/l10n/bg_BG.js index 8e8ce312138..a0c5bccc65c 100644 --- a/apps/files_external/l10n/bg_BG.js +++ b/apps/files_external/l10n/bg_BG.js @@ -9,7 +9,6 @@ OC.L10N.register( "Personal" : "Личен", "System" : "Системен", "Grant access" : "Разреши достъп", - "Access granted" : "Достъпът разрешен", "Generate keys" : "Генериране на криптографски ключове", "Error generating key pair" : "Грешка при генериране на криптографски ключове", "All users. Type to select user or group." : "Всички потребители. Пиши, за да избереш потребител или група.", diff --git a/apps/files_external/l10n/bg_BG.json b/apps/files_external/l10n/bg_BG.json index cc76db1ebed..dc358c71857 100644 --- a/apps/files_external/l10n/bg_BG.json +++ b/apps/files_external/l10n/bg_BG.json @@ -7,7 +7,6 @@ "Personal" : "Личен", "System" : "Системен", "Grant access" : "Разреши достъп", - "Access granted" : "Достъпът разрешен", "Generate keys" : "Генериране на криптографски ключове", "Error generating key pair" : "Грешка при генериране на криптографски ключове", "All users. Type to select user or group." : "Всички потребители. Пиши, за да избереш потребител или група.", diff --git a/apps/files_external/l10n/bn_BD.js b/apps/files_external/l10n/bn_BD.js index 13e9c436a01..4d99e32ffdd 100644 --- a/apps/files_external/l10n/bn_BD.js +++ b/apps/files_external/l10n/bn_BD.js @@ -5,7 +5,6 @@ OC.L10N.register( "External storage" : "বাহ্যিক সংরক্ষণাগার", "Personal" : "ব্যক্তিগত", "Grant access" : "অধিগমনের অনুমতি প্রদান কর", - "Access granted" : "অধিগমনের অনুমতি প্রদান করা হলো", "(group)" : "(গোষ্ঠি)", "Saved" : "সংরক্ষণ করা হলো", "Username" : "ব্যবহারকারী", diff --git a/apps/files_external/l10n/bn_BD.json b/apps/files_external/l10n/bn_BD.json index 979e0b43837..d7035b0737f 100644 --- a/apps/files_external/l10n/bn_BD.json +++ b/apps/files_external/l10n/bn_BD.json @@ -3,7 +3,6 @@ "External storage" : "বাহ্যিক সংরক্ষণাগার", "Personal" : "ব্যক্তিগত", "Grant access" : "অধিগমনের অনুমতি প্রদান কর", - "Access granted" : "অধিগমনের অনুমতি প্রদান করা হলো", "(group)" : "(গোষ্ঠি)", "Saved" : "সংরক্ষণ করা হলো", "Username" : "ব্যবহারকারী", diff --git a/apps/files_external/l10n/ca.js b/apps/files_external/l10n/ca.js index 767318876d2..c654e171e46 100644 --- a/apps/files_external/l10n/ca.js +++ b/apps/files_external/l10n/ca.js @@ -10,7 +10,6 @@ OC.L10N.register( "Personal" : "Personal", "System" : "Sistema", "Grant access" : "Concedeix accés", - "Access granted" : "S'ha concedit l'accés", "Generate keys" : "Generar claus", "Error generating key pair" : "Error en generar el parell de claus", "All users. Type to select user or group." : "Tots els usuaris. Escriu per seleccionar un usuari o grup.", diff --git a/apps/files_external/l10n/ca.json b/apps/files_external/l10n/ca.json index a88071fdbea..96e1a52f229 100644 --- a/apps/files_external/l10n/ca.json +++ b/apps/files_external/l10n/ca.json @@ -8,7 +8,6 @@ "Personal" : "Personal", "System" : "Sistema", "Grant access" : "Concedeix accés", - "Access granted" : "S'ha concedit l'accés", "Generate keys" : "Generar claus", "Error generating key pair" : "Error en generar el parell de claus", "All users. Type to select user or group." : "Tots els usuaris. Escriu per seleccionar un usuari o grup.", diff --git a/apps/files_external/l10n/cs_CZ.js b/apps/files_external/l10n/cs_CZ.js index 93c660187d1..c2d99356eb6 100644 --- a/apps/files_external/l10n/cs_CZ.js +++ b/apps/files_external/l10n/cs_CZ.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "Osobní", "System" : "Systém", "Grant access" : "Povolit přístup", - "Access granted" : "Přístup povolen", "Error configuring OAuth1" : "Chyba nastavení OAuth1", "Error configuring OAuth2" : "Chyba nastavení OAuth2", "Generate keys" : "Vytvořit klíče", diff --git a/apps/files_external/l10n/cs_CZ.json b/apps/files_external/l10n/cs_CZ.json index 85734785379..71704dccae8 100644 --- a/apps/files_external/l10n/cs_CZ.json +++ b/apps/files_external/l10n/cs_CZ.json @@ -20,7 +20,6 @@ "Personal" : "Osobní", "System" : "Systém", "Grant access" : "Povolit přístup", - "Access granted" : "Přístup povolen", "Error configuring OAuth1" : "Chyba nastavení OAuth1", "Error configuring OAuth2" : "Chyba nastavení OAuth2", "Generate keys" : "Vytvořit klíče", diff --git a/apps/files_external/l10n/da.js b/apps/files_external/l10n/da.js index 7305364c686..a30d790d685 100644 --- a/apps/files_external/l10n/da.js +++ b/apps/files_external/l10n/da.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "Personligt", "System" : "System", "Grant access" : "Godkend adgang", - "Access granted" : "Adgang godkendt", "Error configuring OAuth1" : "Fejl under konfiguration af OAuth1", "Error configuring OAuth2" : "Fejl under konfiguration af OAuth2", "Generate keys" : "Opret nøgler.", diff --git a/apps/files_external/l10n/da.json b/apps/files_external/l10n/da.json index f2aa731623c..f0b79b1f93a 100644 --- a/apps/files_external/l10n/da.json +++ b/apps/files_external/l10n/da.json @@ -20,7 +20,6 @@ "Personal" : "Personligt", "System" : "System", "Grant access" : "Godkend adgang", - "Access granted" : "Adgang godkendt", "Error configuring OAuth1" : "Fejl under konfiguration af OAuth1", "Error configuring OAuth2" : "Fejl under konfiguration af OAuth2", "Generate keys" : "Opret nøgler.", diff --git a/apps/files_external/l10n/de.js b/apps/files_external/l10n/de.js index af51458d8a4..003a2bd56b9 100644 --- a/apps/files_external/l10n/de.js +++ b/apps/files_external/l10n/de.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Unzureichende Daten: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Speicher mit der ID \"%i\" kann nicht vom Benutzer bearbeitet werden", + "Dropbox App Configuration" : "Dropbox-App Konfiguration", + "Google Drive App Configuration" : "Google Drive - App Konfiguration", "Personal" : "Persönlich", "System" : "System", "Grant access" : "Zugriff gestatten", - "Access granted" : "Zugriff gestattet", "Error configuring OAuth1" : "Fehler beim konfigurieren von OAuth1", "Error configuring OAuth2" : "Fehler beim Einrichten von OAuth2", "Generate keys" : "Schlüssel erzeugen", diff --git a/apps/files_external/l10n/de.json b/apps/files_external/l10n/de.json index 2cb80cc32ae..a18205519fb 100644 --- a/apps/files_external/l10n/de.json +++ b/apps/files_external/l10n/de.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Unzureichende Daten: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Speicher mit der ID \"%i\" kann nicht vom Benutzer bearbeitet werden", + "Dropbox App Configuration" : "Dropbox-App Konfiguration", + "Google Drive App Configuration" : "Google Drive - App Konfiguration", "Personal" : "Persönlich", "System" : "System", "Grant access" : "Zugriff gestatten", - "Access granted" : "Zugriff gestattet", "Error configuring OAuth1" : "Fehler beim konfigurieren von OAuth1", "Error configuring OAuth2" : "Fehler beim Einrichten von OAuth2", "Generate keys" : "Schlüssel erzeugen", diff --git a/apps/files_external/l10n/de_DE.js b/apps/files_external/l10n/de_DE.js index 8582d672aa9..13769ab9787 100644 --- a/apps/files_external/l10n/de_DE.js +++ b/apps/files_external/l10n/de_DE.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Unzureichende Daten: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Der Speicher mit der ID „%i“ ist nicht bearbeitbar durch Benutzer", + "Dropbox App Configuration" : "Dropbox-App Konfiguration", + "Google Drive App Configuration" : "Google Drive - App Konfiguration", "Personal" : "Persönlich", "System" : "System", "Grant access" : "Zugriff gestatten", - "Access granted" : "Zugriff gestattet", "Error configuring OAuth1" : "Fehler beim Konfigurieren von OAuth1", "Error configuring OAuth2" : "Fehler beim Konfigurieren von OAuth2", "Generate keys" : "Schlüssel erzeugen", diff --git a/apps/files_external/l10n/de_DE.json b/apps/files_external/l10n/de_DE.json index c63904c89cb..996723d7dc5 100644 --- a/apps/files_external/l10n/de_DE.json +++ b/apps/files_external/l10n/de_DE.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Unzureichende Daten: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Der Speicher mit der ID „%i“ ist nicht bearbeitbar durch Benutzer", + "Dropbox App Configuration" : "Dropbox-App Konfiguration", + "Google Drive App Configuration" : "Google Drive - App Konfiguration", "Personal" : "Persönlich", "System" : "System", "Grant access" : "Zugriff gestatten", - "Access granted" : "Zugriff gestattet", "Error configuring OAuth1" : "Fehler beim Konfigurieren von OAuth1", "Error configuring OAuth2" : "Fehler beim Konfigurieren von OAuth2", "Generate keys" : "Schlüssel erzeugen", diff --git a/apps/files_external/l10n/el.js b/apps/files_external/l10n/el.js index 8ca17f848d3..4cb950530bf 100644 --- a/apps/files_external/l10n/el.js +++ b/apps/files_external/l10n/el.js @@ -21,7 +21,6 @@ OC.L10N.register( "Personal" : "Προσωπικά", "System" : "Σύστημα", "Grant access" : "Παροχή πρόσβασης", - "Access granted" : "Πρόσβαση παρασχέθηκε", "Error configuring OAuth1" : "Σφάλμα ρύθμισης του OAuth1", "Error configuring OAuth2" : "Σφάλμα ρύθμισης του OAuth2", "Generate keys" : "Δημιουργία κλειδιών", diff --git a/apps/files_external/l10n/el.json b/apps/files_external/l10n/el.json index 2bac56048a5..1a64c1eca06 100644 --- a/apps/files_external/l10n/el.json +++ b/apps/files_external/l10n/el.json @@ -19,7 +19,6 @@ "Personal" : "Προσωπικά", "System" : "Σύστημα", "Grant access" : "Παροχή πρόσβασης", - "Access granted" : "Πρόσβαση παρασχέθηκε", "Error configuring OAuth1" : "Σφάλμα ρύθμισης του OAuth1", "Error configuring OAuth2" : "Σφάλμα ρύθμισης του OAuth2", "Generate keys" : "Δημιουργία κλειδιών", diff --git a/apps/files_external/l10n/en@pirate.js b/apps/files_external/l10n/en@pirate.js deleted file mode 100644 index 7345429f750..00000000000 --- a/apps/files_external/l10n/en@pirate.js +++ /dev/null @@ -1,6 +0,0 @@ -OC.L10N.register( - "files_external", - { - "Password" : "Secret Code" -}, -"nplurals=2; plural=(n != 1);"); diff --git a/apps/files_external/l10n/en@pirate.json b/apps/files_external/l10n/en@pirate.json deleted file mode 100644 index bde5153f309..00000000000 --- a/apps/files_external/l10n/en@pirate.json +++ /dev/null @@ -1,4 +0,0 @@ -{ "translations": { - "Password" : "Secret Code" -},"pluralForm" :"nplurals=2; plural=(n != 1);" -}
\ No newline at end of file diff --git a/apps/files_external/l10n/en_GB.js b/apps/files_external/l10n/en_GB.js index 288a0561765..b9cf62e1965 100644 --- a/apps/files_external/l10n/en_GB.js +++ b/apps/files_external/l10n/en_GB.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Insufficient data: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Storage with id \"%i\" is not user editable", + "Dropbox App Configuration" : "Dropbox App Configuration", + "Google Drive App Configuration" : "Google Drive App Configuration", "Personal" : "Personal", "System" : "System", "Grant access" : "Grant access", - "Access granted" : "Access granted", "Error configuring OAuth1" : "Error configuring OAuth1", "Error configuring OAuth2" : "Error configuring OAuth2", "Generate keys" : "Generate keys", diff --git a/apps/files_external/l10n/en_GB.json b/apps/files_external/l10n/en_GB.json index d479ff7b3af..f8eba19c544 100644 --- a/apps/files_external/l10n/en_GB.json +++ b/apps/files_external/l10n/en_GB.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Insufficient data: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Storage with id \"%i\" is not user editable", + "Dropbox App Configuration" : "Dropbox App Configuration", + "Google Drive App Configuration" : "Google Drive App Configuration", "Personal" : "Personal", "System" : "System", "Grant access" : "Grant access", - "Access granted" : "Access granted", "Error configuring OAuth1" : "Error configuring OAuth1", "Error configuring OAuth2" : "Error configuring OAuth2", "Generate keys" : "Generate keys", diff --git a/apps/files_external/l10n/eo.js b/apps/files_external/l10n/eo.js index 1a3e6145641..56c9dab1cf4 100644 --- a/apps/files_external/l10n/eo.js +++ b/apps/files_external/l10n/eo.js @@ -9,7 +9,6 @@ OC.L10N.register( "Personal" : "Persona", "System" : "Sistemo", "Grant access" : "Doni alirpermeson", - "Access granted" : "Alirpermeso donita", "Generate keys" : "Generi ŝlosilojn", "All users. Type to select user or group." : "Ĉiuj uzantoj. Tajpu por elekti uzanton aŭ grupon.", "(group)" : "(grupo)", diff --git a/apps/files_external/l10n/eo.json b/apps/files_external/l10n/eo.json index 7af3ffad2ca..5988fd66a5d 100644 --- a/apps/files_external/l10n/eo.json +++ b/apps/files_external/l10n/eo.json @@ -7,7 +7,6 @@ "Personal" : "Persona", "System" : "Sistemo", "Grant access" : "Doni alirpermeson", - "Access granted" : "Alirpermeso donita", "Generate keys" : "Generi ŝlosilojn", "All users. Type to select user or group." : "Ĉiuj uzantoj. Tajpu por elekti uzanton aŭ grupon.", "(group)" : "(grupo)", diff --git a/apps/files_external/l10n/es.js b/apps/files_external/l10n/es.js index 71a93dc7da9..2fdeaf1c8a0 100644 --- a/apps/files_external/l10n/es.js +++ b/apps/files_external/l10n/es.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Datos insuficientes: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "El almacenamiento con id \"%i\" no es editable por usuarios", + "Dropbox App Configuration" : "Configuración de la app de Dropbox", + "Google Drive App Configuration" : "Configuración de la app de Google Drive", "Personal" : "Personal", "System" : "Sistema", "Grant access" : "Conceder acceso", - "Access granted" : "Acceso concedido", "Error configuring OAuth1" : "Error al configurar OAuth1", "Error configuring OAuth2" : "Error al configurar OAuth2", "Generate keys" : "Generar claves", diff --git a/apps/files_external/l10n/es.json b/apps/files_external/l10n/es.json index 351135e3011..912455132fa 100644 --- a/apps/files_external/l10n/es.json +++ b/apps/files_external/l10n/es.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Datos insuficientes: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "El almacenamiento con id \"%i\" no es editable por usuarios", + "Dropbox App Configuration" : "Configuración de la app de Dropbox", + "Google Drive App Configuration" : "Configuración de la app de Google Drive", "Personal" : "Personal", "System" : "Sistema", "Grant access" : "Conceder acceso", - "Access granted" : "Acceso concedido", "Error configuring OAuth1" : "Error al configurar OAuth1", "Error configuring OAuth2" : "Error al configurar OAuth2", "Generate keys" : "Generar claves", diff --git a/apps/files_external/l10n/es_AR.js b/apps/files_external/l10n/es_AR.js index 4b8367dfcc9..13c56f78ada 100644 --- a/apps/files_external/l10n/es_AR.js +++ b/apps/files_external/l10n/es_AR.js @@ -4,7 +4,6 @@ OC.L10N.register( "External storage" : "Almacenamiento externo", "Personal" : "Personal", "Grant access" : "Permitir acceso", - "Access granted" : "Acceso permitido", "Saved" : "Guardado", "Username" : "Nombre de usuario", "Password" : "Contraseña", diff --git a/apps/files_external/l10n/es_AR.json b/apps/files_external/l10n/es_AR.json index 90e2ba255ba..4da77b799a1 100644 --- a/apps/files_external/l10n/es_AR.json +++ b/apps/files_external/l10n/es_AR.json @@ -2,7 +2,6 @@ "External storage" : "Almacenamiento externo", "Personal" : "Personal", "Grant access" : "Permitir acceso", - "Access granted" : "Acceso permitido", "Saved" : "Guardado", "Username" : "Nombre de usuario", "Password" : "Contraseña", diff --git a/apps/files_external/l10n/es_MX.js b/apps/files_external/l10n/es_MX.js index e61b0efa2e1..be4478ab639 100644 --- a/apps/files_external/l10n/es_MX.js +++ b/apps/files_external/l10n/es_MX.js @@ -4,7 +4,6 @@ OC.L10N.register( "External storage" : "Almacenamiento externo", "Personal" : "Personal", "Grant access" : "Conceder acceso", - "Access granted" : "Acceso concedido", "Saved" : "Guardado", "Username" : "Nombre de usuario", "Password" : "Contraseña", diff --git a/apps/files_external/l10n/es_MX.json b/apps/files_external/l10n/es_MX.json index 904f0f3c8da..b37b125f036 100644 --- a/apps/files_external/l10n/es_MX.json +++ b/apps/files_external/l10n/es_MX.json @@ -2,7 +2,6 @@ "External storage" : "Almacenamiento externo", "Personal" : "Personal", "Grant access" : "Conceder acceso", - "Access granted" : "Acceso concedido", "Saved" : "Guardado", "Username" : "Nombre de usuario", "Password" : "Contraseña", diff --git a/apps/files_external/l10n/et_EE.js b/apps/files_external/l10n/et_EE.js index 40bcef6bf05..dac4ed3b3fb 100644 --- a/apps/files_external/l10n/et_EE.js +++ b/apps/files_external/l10n/et_EE.js @@ -14,7 +14,6 @@ OC.L10N.register( "Personal" : "Isiklik", "System" : "Süsteem", "Grant access" : "Anna ligipääs", - "Access granted" : "Ligipääs on antud", "Error configuring OAuth1" : "OAuth1 seadistamise tõrge", "Error configuring OAuth2" : "OAuth2 seadistamise tõrge", "Generate keys" : "Loo võtmed", diff --git a/apps/files_external/l10n/et_EE.json b/apps/files_external/l10n/et_EE.json index d9b5a2446f1..e941509ccfe 100644 --- a/apps/files_external/l10n/et_EE.json +++ b/apps/files_external/l10n/et_EE.json @@ -12,7 +12,6 @@ "Personal" : "Isiklik", "System" : "Süsteem", "Grant access" : "Anna ligipääs", - "Access granted" : "Ligipääs on antud", "Error configuring OAuth1" : "OAuth1 seadistamise tõrge", "Error configuring OAuth2" : "OAuth2 seadistamise tõrge", "Generate keys" : "Loo võtmed", diff --git a/apps/files_external/l10n/eu.js b/apps/files_external/l10n/eu.js index 8790c1c1173..419a1fca697 100644 --- a/apps/files_external/l10n/eu.js +++ b/apps/files_external/l10n/eu.js @@ -7,7 +7,6 @@ OC.L10N.register( "Personal" : "Pertsonala", "System" : "Sistema", "Grant access" : "Baimendu sarrera", - "Access granted" : "Sarrera baimendua", "All users. Type to select user or group." : "Erabiltzaile guztiak. Idatzi erabiltzaile edo taldea hautatzeko.", "(group)" : "(taldea)", "Saved" : "Gordeta", diff --git a/apps/files_external/l10n/eu.json b/apps/files_external/l10n/eu.json index b083c3e210a..9118d77b3a7 100644 --- a/apps/files_external/l10n/eu.json +++ b/apps/files_external/l10n/eu.json @@ -5,7 +5,6 @@ "Personal" : "Pertsonala", "System" : "Sistema", "Grant access" : "Baimendu sarrera", - "Access granted" : "Sarrera baimendua", "All users. Type to select user or group." : "Erabiltzaile guztiak. Idatzi erabiltzaile edo taldea hautatzeko.", "(group)" : "(taldea)", "Saved" : "Gordeta", diff --git a/apps/files_external/l10n/fa.js b/apps/files_external/l10n/fa.js index 629775c23a1..bfdf480cdfa 100644 --- a/apps/files_external/l10n/fa.js +++ b/apps/files_external/l10n/fa.js @@ -9,7 +9,6 @@ OC.L10N.register( "Personal" : "شخصی", "System" : "سیستم", "Grant access" : " مجوز اعطا دسترسی", - "Access granted" : "مجوز دسترسی صادر شد", "Error configuring OAuth1" : "خطا پیکربندی OAuth1", "Error configuring OAuth2" : "خطا پیکربندی OAuth2", "Generate keys" : "تولید کلید", diff --git a/apps/files_external/l10n/fa.json b/apps/files_external/l10n/fa.json index 4e7337b95c5..66da7c5785e 100644 --- a/apps/files_external/l10n/fa.json +++ b/apps/files_external/l10n/fa.json @@ -7,7 +7,6 @@ "Personal" : "شخصی", "System" : "سیستم", "Grant access" : " مجوز اعطا دسترسی", - "Access granted" : "مجوز دسترسی صادر شد", "Error configuring OAuth1" : "خطا پیکربندی OAuth1", "Error configuring OAuth2" : "خطا پیکربندی OAuth2", "Generate keys" : "تولید کلید", diff --git a/apps/files_external/l10n/fi_FI.js b/apps/files_external/l10n/fi_FI.js index 3da8e1aea39..1a75d42efdb 100644 --- a/apps/files_external/l10n/fi_FI.js +++ b/apps/files_external/l10n/fi_FI.js @@ -10,7 +10,6 @@ OC.L10N.register( "Personal" : "Henkilökohtainen", "System" : "Järjestelmä", "Grant access" : "Salli pääsy", - "Access granted" : "Pääsy sallittu", "Error configuring OAuth1" : "Virhe OAuth1:n asetuksia tehdessä", "Error configuring OAuth2" : "Virhe OAuth2:n asetuksia tehdessä", "Generate keys" : "Luo avaimet", diff --git a/apps/files_external/l10n/fi_FI.json b/apps/files_external/l10n/fi_FI.json index cc7e933d468..a342d6b84f7 100644 --- a/apps/files_external/l10n/fi_FI.json +++ b/apps/files_external/l10n/fi_FI.json @@ -8,7 +8,6 @@ "Personal" : "Henkilökohtainen", "System" : "Järjestelmä", "Grant access" : "Salli pääsy", - "Access granted" : "Pääsy sallittu", "Error configuring OAuth1" : "Virhe OAuth1:n asetuksia tehdessä", "Error configuring OAuth2" : "Virhe OAuth2:n asetuksia tehdessä", "Generate keys" : "Luo avaimet", diff --git a/apps/files_external/l10n/fr.js b/apps/files_external/l10n/fr.js index 12aeef22fc1..b6cb04355f0 100644 --- a/apps/files_external/l10n/fr.js +++ b/apps/files_external/l10n/fr.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Données insuffisantes : %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Le support de stockage d'id \"%i\" n'est pas modifiable par les utilisateurs", + "Dropbox App Configuration" : "Configuration de l'application Dropbox", + "Google Drive App Configuration" : "Configuration de l'application Google Drive", "Personal" : "Personnel", "System" : "Système", "Grant access" : "Autoriser l'accès", - "Access granted" : "Accès autorisé", "Error configuring OAuth1" : "Erreur lors de la configuration de OAuth1", "Error configuring OAuth2" : "Erreur lors de la configuration de OAuth2", "Generate keys" : "Générer des clés", diff --git a/apps/files_external/l10n/fr.json b/apps/files_external/l10n/fr.json index b345136b5fc..89bd6d19542 100644 --- a/apps/files_external/l10n/fr.json +++ b/apps/files_external/l10n/fr.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Données insuffisantes : %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Le support de stockage d'id \"%i\" n'est pas modifiable par les utilisateurs", + "Dropbox App Configuration" : "Configuration de l'application Dropbox", + "Google Drive App Configuration" : "Configuration de l'application Google Drive", "Personal" : "Personnel", "System" : "Système", "Grant access" : "Autoriser l'accès", - "Access granted" : "Accès autorisé", "Error configuring OAuth1" : "Erreur lors de la configuration de OAuth1", "Error configuring OAuth2" : "Erreur lors de la configuration de OAuth2", "Generate keys" : "Générer des clés", diff --git a/apps/files_external/l10n/gl.js b/apps/files_external/l10n/gl.js index 3206f829813..e0db1aac509 100644 --- a/apps/files_external/l10n/gl.js +++ b/apps/files_external/l10n/gl.js @@ -10,7 +10,6 @@ OC.L10N.register( "Personal" : "Persoal", "System" : "Sistema", "Grant access" : "Permitir o acceso", - "Access granted" : "Concedeuse acceso", "Generate keys" : "Xerar chaves", "Error generating key pair" : "Produciuse un erro ao xerar o par de chaves", "All users. Type to select user or group." : "Todos os usuarios. Escriba para seleccionar usuario ou grupo.", diff --git a/apps/files_external/l10n/gl.json b/apps/files_external/l10n/gl.json index effb0b23fd5..f3df77435f7 100644 --- a/apps/files_external/l10n/gl.json +++ b/apps/files_external/l10n/gl.json @@ -8,7 +8,6 @@ "Personal" : "Persoal", "System" : "Sistema", "Grant access" : "Permitir o acceso", - "Access granted" : "Concedeuse acceso", "Generate keys" : "Xerar chaves", "Error generating key pair" : "Produciuse un erro ao xerar o par de chaves", "All users. Type to select user or group." : "Todos os usuarios. Escriba para seleccionar usuario ou grupo.", diff --git a/apps/files_external/l10n/he.js b/apps/files_external/l10n/he.js index 5e07126d249..f2d23c61b7b 100644 --- a/apps/files_external/l10n/he.js +++ b/apps/files_external/l10n/he.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "אישי", "System" : "מערכת", "Grant access" : "הענקת גישה", - "Access granted" : "הוענקה גישה", "Error configuring OAuth1" : "שגיאה בתצורת OAuth1", "Error configuring OAuth2" : "שגיאה בתצורת OAuth2", "Generate keys" : "יצירת מפתחות", diff --git a/apps/files_external/l10n/he.json b/apps/files_external/l10n/he.json index 5ece8736fc3..9e3ac62475f 100644 --- a/apps/files_external/l10n/he.json +++ b/apps/files_external/l10n/he.json @@ -20,7 +20,6 @@ "Personal" : "אישי", "System" : "מערכת", "Grant access" : "הענקת גישה", - "Access granted" : "הוענקה גישה", "Error configuring OAuth1" : "שגיאה בתצורת OAuth1", "Error configuring OAuth2" : "שגיאה בתצורת OAuth2", "Generate keys" : "יצירת מפתחות", diff --git a/apps/files_external/l10n/hr.js b/apps/files_external/l10n/hr.js index 021c29253bc..7b5fda27d11 100644 --- a/apps/files_external/l10n/hr.js +++ b/apps/files_external/l10n/hr.js @@ -7,7 +7,6 @@ OC.L10N.register( "Personal" : "Osobno", "System" : "Sustav", "Grant access" : "Dodijeli pristup", - "Access granted" : "Pristup odobren", "All users. Type to select user or group." : "Svi korisnici. Započnite unos za izbor korisnika ili grupe.", "(group)" : "(grupa)", "Saved" : "Spremljeno", diff --git a/apps/files_external/l10n/hr.json b/apps/files_external/l10n/hr.json index 35da2cb9109..211a19849f4 100644 --- a/apps/files_external/l10n/hr.json +++ b/apps/files_external/l10n/hr.json @@ -5,7 +5,6 @@ "Personal" : "Osobno", "System" : "Sustav", "Grant access" : "Dodijeli pristup", - "Access granted" : "Pristup odobren", "All users. Type to select user or group." : "Svi korisnici. Započnite unos za izbor korisnika ili grupe.", "(group)" : "(grupa)", "Saved" : "Spremljeno", diff --git a/apps/files_external/l10n/hu_HU.js b/apps/files_external/l10n/hu_HU.js index ce9f7561373..63f31d417ec 100644 --- a/apps/files_external/l10n/hu_HU.js +++ b/apps/files_external/l10n/hu_HU.js @@ -6,7 +6,6 @@ OC.L10N.register( "Personal" : "Személyes", "System" : "Rendszer", "Grant access" : "Megadom a hozzáférést", - "Access granted" : "Érvényes hozzáférés", "Generate keys" : "Kulcsok generálása", "Error generating key pair" : "Hiba történt a kulcspár generálása közben", "All users. Type to select user or group." : "Összes felhasználó. Írj be egy felhasználót vagy csoportot.", diff --git a/apps/files_external/l10n/hu_HU.json b/apps/files_external/l10n/hu_HU.json index d98753c9838..582ebb4aa36 100644 --- a/apps/files_external/l10n/hu_HU.json +++ b/apps/files_external/l10n/hu_HU.json @@ -4,7 +4,6 @@ "Personal" : "Személyes", "System" : "Rendszer", "Grant access" : "Megadom a hozzáférést", - "Access granted" : "Érvényes hozzáférés", "Generate keys" : "Kulcsok generálása", "Error generating key pair" : "Hiba történt a kulcspár generálása közben", "All users. Type to select user or group." : "Összes felhasználó. Írj be egy felhasználót vagy csoportot.", diff --git a/apps/files_external/l10n/id.js b/apps/files_external/l10n/id.js index 6707a8cb455..d4fae999373 100644 --- a/apps/files_external/l10n/id.js +++ b/apps/files_external/l10n/id.js @@ -19,7 +19,6 @@ OC.L10N.register( "Personal" : "Pribadi", "System" : "Sistem", "Grant access" : "Berikan hak akses", - "Access granted" : "Akses diberikan", "Error configuring OAuth1" : "Kesalahan mengkonfigurasi OAuth1", "Error configuring OAuth2" : "Kesalahan mengkonfigurasi OAuth2", "Generate keys" : "Hasilkan kunci", diff --git a/apps/files_external/l10n/id.json b/apps/files_external/l10n/id.json index cec244e4a83..7d83789176a 100644 --- a/apps/files_external/l10n/id.json +++ b/apps/files_external/l10n/id.json @@ -17,7 +17,6 @@ "Personal" : "Pribadi", "System" : "Sistem", "Grant access" : "Berikan hak akses", - "Access granted" : "Akses diberikan", "Error configuring OAuth1" : "Kesalahan mengkonfigurasi OAuth1", "Error configuring OAuth2" : "Kesalahan mengkonfigurasi OAuth2", "Generate keys" : "Hasilkan kunci", diff --git a/apps/files_external/l10n/is.js b/apps/files_external/l10n/is.js index ab588b8785c..06839f9d3d9 100644 --- a/apps/files_external/l10n/is.js +++ b/apps/files_external/l10n/is.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "Einka", "System" : "Kerfi", "Grant access" : "Veita aðgengi", - "Access granted" : "Aðgengi veitt", "Error configuring OAuth1" : "Villa við uppsetningu OAuth1", "Error configuring OAuth2" : "Villa við uppsetningu OAuth2", "Generate keys" : "Útbúa lykla", diff --git a/apps/files_external/l10n/is.json b/apps/files_external/l10n/is.json index 1b57e9d55c8..2a9f31333e9 100644 --- a/apps/files_external/l10n/is.json +++ b/apps/files_external/l10n/is.json @@ -20,7 +20,6 @@ "Personal" : "Einka", "System" : "Kerfi", "Grant access" : "Veita aðgengi", - "Access granted" : "Aðgengi veitt", "Error configuring OAuth1" : "Villa við uppsetningu OAuth1", "Error configuring OAuth2" : "Villa við uppsetningu OAuth2", "Generate keys" : "Útbúa lykla", diff --git a/apps/files_external/l10n/it.js b/apps/files_external/l10n/it.js index 9a9df7bf093..f95c3c69155 100644 --- a/apps/files_external/l10n/it.js +++ b/apps/files_external/l10n/it.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Dati insufficienti: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "L'archiviazione con ID \"%i\" non è modificabile dall'utente", + "Dropbox App Configuration" : "Configurazione applicazione Dropbox", + "Google Drive App Configuration" : "Configurazione applicazione Google Drive", "Personal" : "Personale", "System" : "Sistema", "Grant access" : "Concedi l'accesso", - "Access granted" : "Accesso consentito", "Error configuring OAuth1" : "Errore di configurazione OAuth1", "Error configuring OAuth2" : "Errore di configurazione OAuth2", "Generate keys" : "Genera la chiavi", diff --git a/apps/files_external/l10n/it.json b/apps/files_external/l10n/it.json index 50f00242721..30b3445558b 100644 --- a/apps/files_external/l10n/it.json +++ b/apps/files_external/l10n/it.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Dati insufficienti: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "L'archiviazione con ID \"%i\" non è modificabile dall'utente", + "Dropbox App Configuration" : "Configurazione applicazione Dropbox", + "Google Drive App Configuration" : "Configurazione applicazione Google Drive", "Personal" : "Personale", "System" : "Sistema", "Grant access" : "Concedi l'accesso", - "Access granted" : "Accesso consentito", "Error configuring OAuth1" : "Errore di configurazione OAuth1", "Error configuring OAuth2" : "Errore di configurazione OAuth2", "Generate keys" : "Genera la chiavi", diff --git a/apps/files_external/l10n/ja.js b/apps/files_external/l10n/ja.js index 6406699d412..e8dc52136aa 100644 --- a/apps/files_external/l10n/ja.js +++ b/apps/files_external/l10n/ja.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "個人", "System" : "システム", "Grant access" : "アクセスを許可", - "Access granted" : "アクセスは許可されました", "Error configuring OAuth1" : "OAuth1 設定エラー", "Error configuring OAuth2" : "OAuth2 設定エラー", "Generate keys" : "キーを生成", diff --git a/apps/files_external/l10n/ja.json b/apps/files_external/l10n/ja.json index e44969c7c66..d6babb07ec5 100644 --- a/apps/files_external/l10n/ja.json +++ b/apps/files_external/l10n/ja.json @@ -20,7 +20,6 @@ "Personal" : "個人", "System" : "システム", "Grant access" : "アクセスを許可", - "Access granted" : "アクセスは許可されました", "Error configuring OAuth1" : "OAuth1 設定エラー", "Error configuring OAuth2" : "OAuth2 設定エラー", "Generate keys" : "キーを生成", diff --git a/apps/files_external/l10n/ka_GE.js b/apps/files_external/l10n/ka_GE.js index c1a729b6655..46fcbd6238c 100644 --- a/apps/files_external/l10n/ka_GE.js +++ b/apps/files_external/l10n/ka_GE.js @@ -4,7 +4,6 @@ OC.L10N.register( "External storage" : "ექსტერნალ საცავი", "Personal" : "პირადი", "Grant access" : "დაშვების მინიჭება", - "Access granted" : "დაშვება მინიჭებულია", "Username" : "მომხმარებლის სახელი", "Password" : "პაროლი", "Save" : "შენახვა", diff --git a/apps/files_external/l10n/ka_GE.json b/apps/files_external/l10n/ka_GE.json index f6b0891bb0a..08f0d76d0fb 100644 --- a/apps/files_external/l10n/ka_GE.json +++ b/apps/files_external/l10n/ka_GE.json @@ -2,7 +2,6 @@ "External storage" : "ექსტერნალ საცავი", "Personal" : "პირადი", "Grant access" : "დაშვების მინიჭება", - "Access granted" : "დაშვება მინიჭებულია", "Username" : "მომხმარებლის სახელი", "Password" : "პაროლი", "Save" : "შენახვა", diff --git a/apps/files_external/l10n/km.js b/apps/files_external/l10n/km.js index 5986399f84c..3f42823824b 100644 --- a/apps/files_external/l10n/km.js +++ b/apps/files_external/l10n/km.js @@ -4,7 +4,6 @@ OC.L10N.register( "External storage" : "ឃ្លាំងផ្ទុកខាងក្រៅ", "Personal" : "ផ្ទាល់ខ្លួន", "Grant access" : "ទទួលសិទ្ធិចូល", - "Access granted" : "បានទទួលសិទ្ធិចូល", "Saved" : "បានរក្សាទុក", "Username" : "ឈ្មោះអ្នកប្រើ", "Password" : "ពាក្យសម្ងាត់", diff --git a/apps/files_external/l10n/km.json b/apps/files_external/l10n/km.json index 83036382487..06ab103b606 100644 --- a/apps/files_external/l10n/km.json +++ b/apps/files_external/l10n/km.json @@ -2,7 +2,6 @@ "External storage" : "ឃ្លាំងផ្ទុកខាងក្រៅ", "Personal" : "ផ្ទាល់ខ្លួន", "Grant access" : "ទទួលសិទ្ធិចូល", - "Access granted" : "បានទទួលសិទ្ធិចូល", "Saved" : "បានរក្សាទុក", "Username" : "ឈ្មោះអ្នកប្រើ", "Password" : "ពាក្យសម្ងាត់", diff --git a/apps/files_external/l10n/ko.js b/apps/files_external/l10n/ko.js index b1df3ab3ef1..2f6d48529a7 100644 --- a/apps/files_external/l10n/ko.js +++ b/apps/files_external/l10n/ko.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "개인", "System" : "시스템", "Grant access" : "접근 권한 부여", - "Access granted" : "접근 허가됨", "Error configuring OAuth1" : "OAuth1 설정 오류", "Error configuring OAuth2" : "OAuth2 설정 오류", "Generate keys" : "키 생성", diff --git a/apps/files_external/l10n/ko.json b/apps/files_external/l10n/ko.json index 0dfedaf5cee..e1c127a9e13 100644 --- a/apps/files_external/l10n/ko.json +++ b/apps/files_external/l10n/ko.json @@ -20,7 +20,6 @@ "Personal" : "개인", "System" : "시스템", "Grant access" : "접근 권한 부여", - "Access granted" : "접근 허가됨", "Error configuring OAuth1" : "OAuth1 설정 오류", "Error configuring OAuth2" : "OAuth2 설정 오류", "Generate keys" : "키 생성", diff --git a/apps/files_external/l10n/lt_LT.js b/apps/files_external/l10n/lt_LT.js index 1cdb7b7e715..80399022794 100644 --- a/apps/files_external/l10n/lt_LT.js +++ b/apps/files_external/l10n/lt_LT.js @@ -7,7 +7,6 @@ OC.L10N.register( "External storage" : "Išorinė saugykla", "Personal" : "Asmeniniai", "Grant access" : "Suteikti priėjimą", - "Access granted" : "Priėjimas suteiktas", "Saved" : "Išsaugoti", "Username" : "Prisijungimo vardas", "Password" : "Slaptažodis", diff --git a/apps/files_external/l10n/lt_LT.json b/apps/files_external/l10n/lt_LT.json index f4eca160de3..d7c4d7966ac 100644 --- a/apps/files_external/l10n/lt_LT.json +++ b/apps/files_external/l10n/lt_LT.json @@ -5,7 +5,6 @@ "External storage" : "Išorinė saugykla", "Personal" : "Asmeniniai", "Grant access" : "Suteikti priėjimą", - "Access granted" : "Priėjimas suteiktas", "Saved" : "Išsaugoti", "Username" : "Prisijungimo vardas", "Password" : "Slaptažodis", diff --git a/apps/files_external/l10n/lv.js b/apps/files_external/l10n/lv.js index b31323bc859..2034054737e 100644 --- a/apps/files_external/l10n/lv.js +++ b/apps/files_external/l10n/lv.js @@ -4,7 +4,6 @@ OC.L10N.register( "External storage" : "Ārējā krātuve", "Personal" : "Personīgi", "Grant access" : "Piešķirt pieeju", - "Access granted" : "Piešķirta pieeja", "Saved" : "Saglabāts", "Username" : "Lietotājvārds", "Password" : "Parole", diff --git a/apps/files_external/l10n/lv.json b/apps/files_external/l10n/lv.json index 59192d946e7..59321f9957a 100644 --- a/apps/files_external/l10n/lv.json +++ b/apps/files_external/l10n/lv.json @@ -2,7 +2,6 @@ "External storage" : "Ārējā krātuve", "Personal" : "Personīgi", "Grant access" : "Piešķirt pieeju", - "Access granted" : "Piešķirta pieeja", "Saved" : "Saglabāts", "Username" : "Lietotājvārds", "Password" : "Parole", diff --git a/apps/files_external/l10n/mk.js b/apps/files_external/l10n/mk.js index 69649d9ffeb..e18307a8fc1 100644 --- a/apps/files_external/l10n/mk.js +++ b/apps/files_external/l10n/mk.js @@ -3,7 +3,6 @@ OC.L10N.register( { "Personal" : "Лично", "Grant access" : "Дозволи пристап", - "Access granted" : "Пристапот е дозволен", "Saved" : "Снимено", "Username" : "Корисничко име", "Password" : "Лозинка", diff --git a/apps/files_external/l10n/mk.json b/apps/files_external/l10n/mk.json index fea359e8e52..49ac252700b 100644 --- a/apps/files_external/l10n/mk.json +++ b/apps/files_external/l10n/mk.json @@ -1,7 +1,6 @@ { "translations": { "Personal" : "Лично", "Grant access" : "Дозволи пристап", - "Access granted" : "Пристапот е дозволен", "Saved" : "Снимено", "Username" : "Корисничко име", "Password" : "Лозинка", diff --git a/apps/files_external/l10n/nb_NO.js b/apps/files_external/l10n/nb_NO.js index 5a2f725e483..bc135fea960 100644 --- a/apps/files_external/l10n/nb_NO.js +++ b/apps/files_external/l10n/nb_NO.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "Personlig", "System" : "System", "Grant access" : "Gi tilgang", - "Access granted" : "Tilgang innvilget", "Error configuring OAuth1" : "Feil ved konfigurering av OAuth1", "Error configuring OAuth2" : "Feil ved konfigurering av OAuth2", "Generate keys" : "Generer nøkler", diff --git a/apps/files_external/l10n/nb_NO.json b/apps/files_external/l10n/nb_NO.json index 071557b23ca..37d3ffd61cd 100644 --- a/apps/files_external/l10n/nb_NO.json +++ b/apps/files_external/l10n/nb_NO.json @@ -20,7 +20,6 @@ "Personal" : "Personlig", "System" : "System", "Grant access" : "Gi tilgang", - "Access granted" : "Tilgang innvilget", "Error configuring OAuth1" : "Feil ved konfigurering av OAuth1", "Error configuring OAuth2" : "Feil ved konfigurering av OAuth2", "Generate keys" : "Generer nøkler", diff --git a/apps/files_external/l10n/nds.js b/apps/files_external/l10n/nds.js index 6f5d9739018..b6de58cc433 100644 --- a/apps/files_external/l10n/nds.js +++ b/apps/files_external/l10n/nds.js @@ -19,7 +19,6 @@ OC.L10N.register( "Personal" : "Persönlich", "System" : "System", "Grant access" : "Erlaube Zugriff", - "Access granted" : "Zugriff erlaubt", "Error configuring OAuth1" : "Fehler bei der Konfiguration von OAuth1", "Error configuring OAuth2" : "Fehler bei der Konfiguration von OAuth2", "Generate keys" : "Generiere Schlüssel", diff --git a/apps/files_external/l10n/nds.json b/apps/files_external/l10n/nds.json index d1d939702f3..d1aa0f4751d 100644 --- a/apps/files_external/l10n/nds.json +++ b/apps/files_external/l10n/nds.json @@ -17,7 +17,6 @@ "Personal" : "Persönlich", "System" : "System", "Grant access" : "Erlaube Zugriff", - "Access granted" : "Zugriff erlaubt", "Error configuring OAuth1" : "Fehler bei der Konfiguration von OAuth1", "Error configuring OAuth2" : "Fehler bei der Konfiguration von OAuth2", "Generate keys" : "Generiere Schlüssel", diff --git a/apps/files_external/l10n/nl.js b/apps/files_external/l10n/nl.js index 5b4f3050e70..bcbd185aed8 100644 --- a/apps/files_external/l10n/nl.js +++ b/apps/files_external/l10n/nl.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "Persoonlijk", "System" : "Systeem", "Grant access" : "Sta toegang toe", - "Access granted" : "Toegang toegestaan", "Error configuring OAuth1" : "Fout bij configureren OAuth1", "Error configuring OAuth2" : "Fout bij configureren OAuth2", "Generate keys" : "Genereer sleutels", diff --git a/apps/files_external/l10n/nl.json b/apps/files_external/l10n/nl.json index 062aee79c16..ddc7ccfa8cc 100644 --- a/apps/files_external/l10n/nl.json +++ b/apps/files_external/l10n/nl.json @@ -20,7 +20,6 @@ "Personal" : "Persoonlijk", "System" : "Systeem", "Grant access" : "Sta toegang toe", - "Access granted" : "Toegang toegestaan", "Error configuring OAuth1" : "Fout bij configureren OAuth1", "Error configuring OAuth2" : "Fout bij configureren OAuth2", "Generate keys" : "Genereer sleutels", diff --git a/apps/files_external/l10n/oc.js b/apps/files_external/l10n/oc.js index 40c222e0cf3..3ac21f8748d 100644 --- a/apps/files_external/l10n/oc.js +++ b/apps/files_external/l10n/oc.js @@ -21,7 +21,6 @@ OC.L10N.register( "Personal" : "Personal", "System" : "Sistèma", "Grant access" : "Autorizar l'accès", - "Access granted" : "Accès autorizat", "Error configuring OAuth1" : "Error al moment de la configuracion d'OAuth1", "Error configuring OAuth2" : "Error al moment de la configuracion d'OAuth2", "Generate keys" : "Generar de claus", diff --git a/apps/files_external/l10n/oc.json b/apps/files_external/l10n/oc.json index 06992b89604..02283c7098b 100644 --- a/apps/files_external/l10n/oc.json +++ b/apps/files_external/l10n/oc.json @@ -19,7 +19,6 @@ "Personal" : "Personal", "System" : "Sistèma", "Grant access" : "Autorizar l'accès", - "Access granted" : "Accès autorizat", "Error configuring OAuth1" : "Error al moment de la configuracion d'OAuth1", "Error configuring OAuth2" : "Error al moment de la configuracion d'OAuth2", "Generate keys" : "Generar de claus", diff --git a/apps/files_external/l10n/pl.js b/apps/files_external/l10n/pl.js index ac074059712..2034b73bd8a 100644 --- a/apps/files_external/l10n/pl.js +++ b/apps/files_external/l10n/pl.js @@ -10,7 +10,6 @@ OC.L10N.register( "Personal" : "Osobiste", "System" : "System", "Grant access" : "Udziel dostępu", - "Access granted" : "Dostęp do", "Generate keys" : "Wygeneruj klucze", "Error generating key pair" : "Błąd podczas generowania pary kluczy", "All users. Type to select user or group." : "Wszyscy użytkownicy. Zacznij pisać, aby wybrać użytkownika lub grupę.", diff --git a/apps/files_external/l10n/pl.json b/apps/files_external/l10n/pl.json index a583a454f1c..0d1a97abfcb 100644 --- a/apps/files_external/l10n/pl.json +++ b/apps/files_external/l10n/pl.json @@ -8,7 +8,6 @@ "Personal" : "Osobiste", "System" : "System", "Grant access" : "Udziel dostępu", - "Access granted" : "Dostęp do", "Generate keys" : "Wygeneruj klucze", "Error generating key pair" : "Błąd podczas generowania pary kluczy", "All users. Type to select user or group." : "Wszyscy użytkownicy. Zacznij pisać, aby wybrać użytkownika lub grupę.", diff --git a/apps/files_external/l10n/pt_BR.js b/apps/files_external/l10n/pt_BR.js index 08e1bac5ae6..74d6e30f9da 100644 --- a/apps/files_external/l10n/pt_BR.js +++ b/apps/files_external/l10n/pt_BR.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Dados insuficientes: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Armazenamento com ID \"%i\" não é editável pelo usuário", + "Dropbox App Configuration" : "Configuração do Aplicativo Dropbox", + "Google Drive App Configuration" : "Configuração do Aplicativo Google Drive", "Personal" : "Pessoal", "System" : "Sistema", "Grant access" : "Permitir acesso", - "Access granted" : "Acesso concedido", "Error configuring OAuth1" : "Erro configurando OAuth1", "Error configuring OAuth2" : "Erro configurando OAuth2", "Generate keys" : "Gerar chaves", diff --git a/apps/files_external/l10n/pt_BR.json b/apps/files_external/l10n/pt_BR.json index a1e52e280ee..7f1db48e93f 100644 --- a/apps/files_external/l10n/pt_BR.json +++ b/apps/files_external/l10n/pt_BR.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Dados insuficientes: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Armazenamento com ID \"%i\" não é editável pelo usuário", + "Dropbox App Configuration" : "Configuração do Aplicativo Dropbox", + "Google Drive App Configuration" : "Configuração do Aplicativo Google Drive", "Personal" : "Pessoal", "System" : "Sistema", "Grant access" : "Permitir acesso", - "Access granted" : "Acesso concedido", "Error configuring OAuth1" : "Erro configurando OAuth1", "Error configuring OAuth2" : "Erro configurando OAuth2", "Generate keys" : "Gerar chaves", diff --git a/apps/files_external/l10n/pt_PT.js b/apps/files_external/l10n/pt_PT.js index 0b596bb2553..771e2571b78 100644 --- a/apps/files_external/l10n/pt_PT.js +++ b/apps/files_external/l10n/pt_PT.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "Pessoal", "System" : "Sistema", "Grant access" : "Conceder acesso", - "Access granted" : "Acesso autorizado", "Error configuring OAuth1" : "Erro de configuração OAuth1", "Error configuring OAuth2" : "Erro de configuração OAuth2", "Generate keys" : "Gerar chaves", diff --git a/apps/files_external/l10n/pt_PT.json b/apps/files_external/l10n/pt_PT.json index f8487134f1a..4982d50e555 100644 --- a/apps/files_external/l10n/pt_PT.json +++ b/apps/files_external/l10n/pt_PT.json @@ -20,7 +20,6 @@ "Personal" : "Pessoal", "System" : "Sistema", "Grant access" : "Conceder acesso", - "Access granted" : "Acesso autorizado", "Error configuring OAuth1" : "Erro de configuração OAuth1", "Error configuring OAuth2" : "Erro de configuração OAuth2", "Generate keys" : "Gerar chaves", diff --git a/apps/files_external/l10n/ro.js b/apps/files_external/l10n/ro.js index e097cbb5c15..8a2d8950068 100644 --- a/apps/files_external/l10n/ro.js +++ b/apps/files_external/l10n/ro.js @@ -1,36 +1,78 @@ OC.L10N.register( "files_external", { + "Step 1 failed. Exception: %s" : "Pasul 1 a eșuat. Excepție: %s", + "Step 2 failed. Exception: %s" : "Pasul 2 a eșuat. Excepție: %s", "External storage" : "Stocare externă", "Personal" : "Personal", "Grant access" : "Permite accesul", - "Access granted" : "Acces permis", + "Generate keys" : "Generează chei", + "Error generating key pair" : "Eroarea la generarea cheilor", + "(group)" : "(grup)", + "Admin defined" : "Administrator definit", "Saved" : "Salvat", + "Empty response from the server" : "Răspuns nul de la server", + "external-storage" : "Stocare externă", "Username" : "Nume utilizator", "Password" : "Parolă", + "Credentials saved" : "Detalii de autentificare salvate", + "Credentials saving failed" : "Salvarea detaliilor de autentificare a eșuat", + "Credentials required" : "Detalii de autentificare necesare", "Save" : "Salvează", + "Access key" : "Cheie de acces", + "Secret key" : "Cheie secretă", + "Builtin" : "Inclus", "None" : "Niciuna", + "OAuth1" : "OAuth1", + "App key" : "Cheie aplicație", + "App secret" : "Secret aplicație", + "OAuth2" : "OAuth2", + "Client ID" : "ID client", + "Client secret" : "Secret client", + "OpenStack" : "OpenStack", + "Tenant name" : "Nume titular", "API key" : "Cheie API", + "Username and password" : "Nume de utilizator și parolă", + "RSA public key" : "Cheie publică RSA", "Public key" : "Cheie publică", "Amazon S3" : "Amazon S3", - "Hostname" : "Hostname", - "Port" : "Portul", + "Hostname" : "Nume mașină", + "Port" : "Port", "Region" : "Regiune", + "Enable SSL" : "Activează SSL", "WebDAV" : "WebDAV", "URL" : "URL", + "Secure https://" : "https:// sigur", "Dropbox" : "Dropbox", + "FTP" : "FTP", "Host" : "Gazdă", + "Secure ftps://" : "ftps:// sigur", + "Google Drive" : "Google Drive", "Local" : "Local", "Location" : "Locație", "ownCloud" : "ownCloud", + "SFTP" : "SFTP", "Root" : "Root", + "SFTP with secret key login" : "SFTP cu cheie secretă de autentificare", + "SMB / CIFS" : "SMB / CIFS", "Share" : "Partajează", + "Domain" : "Domeniu", + "SMB / CIFS using OC login" : "SMB / CIFS folosind autentificare OC", + "Service name" : "Nume serviciu", "Name" : "Nume", "Storage type" : "Tip stocare", + "Enable encryption" : "Activează criptarea", + "Enable previews" : "Activează previzualizările", + "Enable sharing" : "Activează partajarea", + "Check for changes" : "Verifică dacă au intervenit modificări", + "Never" : "Niciodată", "External Storage" : "Stocare externă", "Folder name" : "Denumire director", + "Authentication" : "Autentificare", "Configuration" : "Configurație", + "Available for" : "Disponibil pentru", "Add storage" : "Adauga stocare", + "Advanced settings" : "Setări avansate", "Delete" : "Șterge", "Allow users to mount the following external storage" : "Permite utilizatorilor să monteze următoarea unitate de stocare" }, diff --git a/apps/files_external/l10n/ro.json b/apps/files_external/l10n/ro.json index 14bfe656c1c..6107ad0e0f5 100644 --- a/apps/files_external/l10n/ro.json +++ b/apps/files_external/l10n/ro.json @@ -1,34 +1,76 @@ { "translations": { + "Step 1 failed. Exception: %s" : "Pasul 1 a eșuat. Excepție: %s", + "Step 2 failed. Exception: %s" : "Pasul 2 a eșuat. Excepție: %s", "External storage" : "Stocare externă", "Personal" : "Personal", "Grant access" : "Permite accesul", - "Access granted" : "Acces permis", + "Generate keys" : "Generează chei", + "Error generating key pair" : "Eroarea la generarea cheilor", + "(group)" : "(grup)", + "Admin defined" : "Administrator definit", "Saved" : "Salvat", + "Empty response from the server" : "Răspuns nul de la server", + "external-storage" : "Stocare externă", "Username" : "Nume utilizator", "Password" : "Parolă", + "Credentials saved" : "Detalii de autentificare salvate", + "Credentials saving failed" : "Salvarea detaliilor de autentificare a eșuat", + "Credentials required" : "Detalii de autentificare necesare", "Save" : "Salvează", + "Access key" : "Cheie de acces", + "Secret key" : "Cheie secretă", + "Builtin" : "Inclus", "None" : "Niciuna", + "OAuth1" : "OAuth1", + "App key" : "Cheie aplicație", + "App secret" : "Secret aplicație", + "OAuth2" : "OAuth2", + "Client ID" : "ID client", + "Client secret" : "Secret client", + "OpenStack" : "OpenStack", + "Tenant name" : "Nume titular", "API key" : "Cheie API", + "Username and password" : "Nume de utilizator și parolă", + "RSA public key" : "Cheie publică RSA", "Public key" : "Cheie publică", "Amazon S3" : "Amazon S3", - "Hostname" : "Hostname", - "Port" : "Portul", + "Hostname" : "Nume mașină", + "Port" : "Port", "Region" : "Regiune", + "Enable SSL" : "Activează SSL", "WebDAV" : "WebDAV", "URL" : "URL", + "Secure https://" : "https:// sigur", "Dropbox" : "Dropbox", + "FTP" : "FTP", "Host" : "Gazdă", + "Secure ftps://" : "ftps:// sigur", + "Google Drive" : "Google Drive", "Local" : "Local", "Location" : "Locație", "ownCloud" : "ownCloud", + "SFTP" : "SFTP", "Root" : "Root", + "SFTP with secret key login" : "SFTP cu cheie secretă de autentificare", + "SMB / CIFS" : "SMB / CIFS", "Share" : "Partajează", + "Domain" : "Domeniu", + "SMB / CIFS using OC login" : "SMB / CIFS folosind autentificare OC", + "Service name" : "Nume serviciu", "Name" : "Nume", "Storage type" : "Tip stocare", + "Enable encryption" : "Activează criptarea", + "Enable previews" : "Activează previzualizările", + "Enable sharing" : "Activează partajarea", + "Check for changes" : "Verifică dacă au intervenit modificări", + "Never" : "Niciodată", "External Storage" : "Stocare externă", "Folder name" : "Denumire director", + "Authentication" : "Autentificare", "Configuration" : "Configurație", + "Available for" : "Disponibil pentru", "Add storage" : "Adauga stocare", + "Advanced settings" : "Setări avansate", "Delete" : "Șterge", "Allow users to mount the following external storage" : "Permite utilizatorilor să monteze următoarea unitate de stocare" },"pluralForm" :"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));" diff --git a/apps/files_external/l10n/ru.js b/apps/files_external/l10n/ru.js index 92bebd4f008..644596d34ba 100644 --- a/apps/files_external/l10n/ru.js +++ b/apps/files_external/l10n/ru.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Недостаточно данных: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Пользователь не может редактировать хранилище \"%i\"", + "Dropbox App Configuration" : "Настройка приложения Dropbox", + "Google Drive App Configuration" : "Настройка приложения Google Drive", "Personal" : "Личное", "System" : "Система", "Grant access" : "Предоставить доступ", - "Access granted" : "Доступ предоставлен", "Error configuring OAuth1" : "Ошибка настройки OAuth1", "Error configuring OAuth2" : "Ошибка настройки OAuth2", "Generate keys" : "Создать ключи", diff --git a/apps/files_external/l10n/ru.json b/apps/files_external/l10n/ru.json index 65281caec0b..c86c1bac477 100644 --- a/apps/files_external/l10n/ru.json +++ b/apps/files_external/l10n/ru.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Недостаточно данных: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Пользователь не может редактировать хранилище \"%i\"", + "Dropbox App Configuration" : "Настройка приложения Dropbox", + "Google Drive App Configuration" : "Настройка приложения Google Drive", "Personal" : "Личное", "System" : "Система", "Grant access" : "Предоставить доступ", - "Access granted" : "Доступ предоставлен", "Error configuring OAuth1" : "Ошибка настройки OAuth1", "Error configuring OAuth2" : "Ошибка настройки OAuth2", "Generate keys" : "Создать ключи", diff --git a/apps/files_external/l10n/si_LK.js b/apps/files_external/l10n/si_LK.js index 21c808a4644..ae57532622d 100644 --- a/apps/files_external/l10n/si_LK.js +++ b/apps/files_external/l10n/si_LK.js @@ -3,7 +3,6 @@ OC.L10N.register( { "Personal" : "පෞද්ගලික", "Grant access" : "පිවිසුම ලබාදෙන්න", - "Access granted" : "පිවිසීමට හැක", "Username" : "පරිශීලක නම", "Password" : "මුර පදය", "Save" : "සුරකින්න", diff --git a/apps/files_external/l10n/si_LK.json b/apps/files_external/l10n/si_LK.json index 3d2c31fb87f..5f6a8fcb106 100644 --- a/apps/files_external/l10n/si_LK.json +++ b/apps/files_external/l10n/si_LK.json @@ -1,7 +1,6 @@ { "translations": { "Personal" : "පෞද්ගලික", "Grant access" : "පිවිසුම ලබාදෙන්න", - "Access granted" : "පිවිසීමට හැක", "Username" : "පරිශීලක නම", "Password" : "මුර පදය", "Save" : "සුරකින්න", diff --git a/apps/files_external/l10n/sk_SK.js b/apps/files_external/l10n/sk_SK.js index ab820378a81..3f4a6bd0b8a 100644 --- a/apps/files_external/l10n/sk_SK.js +++ b/apps/files_external/l10n/sk_SK.js @@ -19,7 +19,6 @@ OC.L10N.register( "Personal" : "Osobné", "System" : "Systém", "Grant access" : "Povoliť prístup", - "Access granted" : "Prístup povolený", "Error configuring OAuth1" : "Chyba konfigurovania OAuth1", "Error configuring OAuth2" : "Chyba konfigurovania OAuth2", "Generate keys" : "Vytvoriť kľúče", diff --git a/apps/files_external/l10n/sk_SK.json b/apps/files_external/l10n/sk_SK.json index 28d37a83697..6bc96ad35c2 100644 --- a/apps/files_external/l10n/sk_SK.json +++ b/apps/files_external/l10n/sk_SK.json @@ -17,7 +17,6 @@ "Personal" : "Osobné", "System" : "Systém", "Grant access" : "Povoliť prístup", - "Access granted" : "Prístup povolený", "Error configuring OAuth1" : "Chyba konfigurovania OAuth1", "Error configuring OAuth2" : "Chyba konfigurovania OAuth2", "Generate keys" : "Vytvoriť kľúče", diff --git a/apps/files_external/l10n/sl.js b/apps/files_external/l10n/sl.js index 8ce2cd450f6..5b58901b372 100644 --- a/apps/files_external/l10n/sl.js +++ b/apps/files_external/l10n/sl.js @@ -18,10 +18,11 @@ OC.L10N.register( "Unsatisfied authentication mechanism parameters" : "Nezadovoljivi parametri mehanizma overitve", "Insufficient data: %s" : "Nepopolni podatki: %s", "%s" : "%s", + "Storage with id \"%i\" is not user editable" : "Shramba z ID \"%i\" ni uporabniško uredljiva.", + "Google Drive App Configuration" : "Nastavitve programa Google Drive", "Personal" : "Osebno", "System" : "Sistem", "Grant access" : "Odobri dostop", - "Access granted" : "Dostop je odobren", "Error configuring OAuth1" : "Napaka nastavljanja OAuth1", "Error configuring OAuth2" : "Napaka nastavljanja OAuth2", "Generate keys" : "Ustvari ključe", @@ -31,11 +32,14 @@ OC.L10N.register( "Admin defined" : "Skrbnik je določen", "Saved" : "Shranjeno", "Empty response from the server" : "S strežnika je prejet odziv brez vsebine.", + "Couldn't access. Please logout and login to activate this mount point" : "Dostop ni mogoč. Za priklop točke se odjavite in ponovno prijavite.", "Couldn't get the information from the ownCloud server: {code} {type}" : "Ni mogoče pridobiti podrobnosti s strežnika ownCloud:{koda} {vrsta}", "Couldn't get the list of external mount points: {type}" : "Ni mogoče pridobiti seznama zunanjih priklopnih točk: {type}", "There was an error with message: " : "Prišlo je do napake s sporočilom:", "External mount error" : "Notranja napaka priklopa", "external-storage" : "zunanja-shramba", + "Couldn't get the list of Windows network drive mount points: empty response from the server" : "Ni mogoče pridobiti seznama priklopnih točk omrežnega pogona: ni odziva s strežnika", + "Some of the configured external mount points are not connected. Please click on the red row(s) for more information" : "Nekatere izmed nastavljenih zunanjih priklopnih točk niso povezane. Več podrobnosti je na voljo s klikom na rdeče vrstice.", "Please enter the credentials for the {mount} mount" : "Vpišite poverila za priklopno točko {mount}", "Username" : "Uporabniško ime", "Password" : "Geslo", @@ -56,6 +60,7 @@ OC.L10N.register( "OpenStack" : "OpenStack", "Tenant name" : "Ime uporabnika", "Identity endpoint URL" : "Naslov URL končne točke istovetnosti", + "Rackspace" : "Rackspace", "API key" : "Ključ API", "Username and password" : "Uporabniško ime in geslo", "Log-in credentials, save in session" : "Prijavna poverila, shrani v seji", diff --git a/apps/files_external/l10n/sl.json b/apps/files_external/l10n/sl.json index 753a401d536..2bf8565b7e2 100644 --- a/apps/files_external/l10n/sl.json +++ b/apps/files_external/l10n/sl.json @@ -16,10 +16,11 @@ "Unsatisfied authentication mechanism parameters" : "Nezadovoljivi parametri mehanizma overitve", "Insufficient data: %s" : "Nepopolni podatki: %s", "%s" : "%s", + "Storage with id \"%i\" is not user editable" : "Shramba z ID \"%i\" ni uporabniško uredljiva.", + "Google Drive App Configuration" : "Nastavitve programa Google Drive", "Personal" : "Osebno", "System" : "Sistem", "Grant access" : "Odobri dostop", - "Access granted" : "Dostop je odobren", "Error configuring OAuth1" : "Napaka nastavljanja OAuth1", "Error configuring OAuth2" : "Napaka nastavljanja OAuth2", "Generate keys" : "Ustvari ključe", @@ -29,11 +30,14 @@ "Admin defined" : "Skrbnik je določen", "Saved" : "Shranjeno", "Empty response from the server" : "S strežnika je prejet odziv brez vsebine.", + "Couldn't access. Please logout and login to activate this mount point" : "Dostop ni mogoč. Za priklop točke se odjavite in ponovno prijavite.", "Couldn't get the information from the ownCloud server: {code} {type}" : "Ni mogoče pridobiti podrobnosti s strežnika ownCloud:{koda} {vrsta}", "Couldn't get the list of external mount points: {type}" : "Ni mogoče pridobiti seznama zunanjih priklopnih točk: {type}", "There was an error with message: " : "Prišlo je do napake s sporočilom:", "External mount error" : "Notranja napaka priklopa", "external-storage" : "zunanja-shramba", + "Couldn't get the list of Windows network drive mount points: empty response from the server" : "Ni mogoče pridobiti seznama priklopnih točk omrežnega pogona: ni odziva s strežnika", + "Some of the configured external mount points are not connected. Please click on the red row(s) for more information" : "Nekatere izmed nastavljenih zunanjih priklopnih točk niso povezane. Več podrobnosti je na voljo s klikom na rdeče vrstice.", "Please enter the credentials for the {mount} mount" : "Vpišite poverila za priklopno točko {mount}", "Username" : "Uporabniško ime", "Password" : "Geslo", @@ -54,6 +58,7 @@ "OpenStack" : "OpenStack", "Tenant name" : "Ime uporabnika", "Identity endpoint URL" : "Naslov URL končne točke istovetnosti", + "Rackspace" : "Rackspace", "API key" : "Ključ API", "Username and password" : "Uporabniško ime in geslo", "Log-in credentials, save in session" : "Prijavna poverila, shrani v seji", diff --git a/apps/files_external/l10n/sq.js b/apps/files_external/l10n/sq.js index c2bd82ebde0..9b23453e3e4 100644 --- a/apps/files_external/l10n/sq.js +++ b/apps/files_external/l10n/sq.js @@ -19,10 +19,11 @@ OC.L10N.register( "Insufficient data: %s" : "Të dhëna të pamjaftueshme: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Depozita me id \"%i\" s’është e përpunueshme nga përdoruesi", + "Dropbox App Configuration" : "Formësim i Aplikacionit Dropbox", + "Google Drive App Configuration" : "Formësim i Aplikacionit Google Drive", "Personal" : "Personale", "System" : "Sistem", "Grant access" : "Akordoji hyrje", - "Access granted" : "Hyrja u akordua", "Error configuring OAuth1" : "Gabim gjatë formësimit të OAuth1", "Error configuring OAuth2" : "Gabim gjatë formësimit të OAuth2", "Generate keys" : "Prodho kyçe", diff --git a/apps/files_external/l10n/sq.json b/apps/files_external/l10n/sq.json index 3979fc3d23b..f0e420e1ab9 100644 --- a/apps/files_external/l10n/sq.json +++ b/apps/files_external/l10n/sq.json @@ -17,10 +17,11 @@ "Insufficient data: %s" : "Të dhëna të pamjaftueshme: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Depozita me id \"%i\" s’është e përpunueshme nga përdoruesi", + "Dropbox App Configuration" : "Formësim i Aplikacionit Dropbox", + "Google Drive App Configuration" : "Formësim i Aplikacionit Google Drive", "Personal" : "Personale", "System" : "Sistem", "Grant access" : "Akordoji hyrje", - "Access granted" : "Hyrja u akordua", "Error configuring OAuth1" : "Gabim gjatë formësimit të OAuth1", "Error configuring OAuth2" : "Gabim gjatë formësimit të OAuth2", "Generate keys" : "Prodho kyçe", diff --git a/apps/files_external/l10n/sr.js b/apps/files_external/l10n/sr.js index 8a96b403134..a0888bbb0b9 100644 --- a/apps/files_external/l10n/sr.js +++ b/apps/files_external/l10n/sr.js @@ -10,7 +10,6 @@ OC.L10N.register( "Personal" : "Лично", "System" : "Систем", "Grant access" : "Одобри приступ", - "Access granted" : "Приступ одобрен", "Generate keys" : "Генериши кључеве", "Error generating key pair" : "Грешка при генерисању пара кључева", "All users. Type to select user or group." : "Сви корисници. Куцајте за избор корисника или групе.", diff --git a/apps/files_external/l10n/sr.json b/apps/files_external/l10n/sr.json index d9b9300ae94..143f0dae15a 100644 --- a/apps/files_external/l10n/sr.json +++ b/apps/files_external/l10n/sr.json @@ -8,7 +8,6 @@ "Personal" : "Лично", "System" : "Систем", "Grant access" : "Одобри приступ", - "Access granted" : "Приступ одобрен", "Generate keys" : "Генериши кључеве", "Error generating key pair" : "Грешка при генерисању пара кључева", "All users. Type to select user or group." : "Сви корисници. Куцајте за избор корисника или групе.", diff --git a/apps/files_external/l10n/sr@latin.js b/apps/files_external/l10n/sr@latin.js index 68954a6b6ae..2cc12ecf4aa 100644 --- a/apps/files_external/l10n/sr@latin.js +++ b/apps/files_external/l10n/sr@latin.js @@ -7,7 +7,6 @@ OC.L10N.register( "Personal" : "Lično", "System" : "Sistemsko", "Grant access" : "Dozvoli pristup", - "Access granted" : "Pristup Dozvoljen", "All users. Type to select user or group." : "Svi korisnici. Kucajte da biste izabrali korisnika ili grupu.", "(group)" : "(grupa)", "Saved" : "Sačuvano", diff --git a/apps/files_external/l10n/sr@latin.json b/apps/files_external/l10n/sr@latin.json index ffe95d4a52e..2460d2544a4 100644 --- a/apps/files_external/l10n/sr@latin.json +++ b/apps/files_external/l10n/sr@latin.json @@ -5,7 +5,6 @@ "Personal" : "Lično", "System" : "Sistemsko", "Grant access" : "Dozvoli pristup", - "Access granted" : "Pristup Dozvoljen", "All users. Type to select user or group." : "Svi korisnici. Kucajte da biste izabrali korisnika ili grupu.", "(group)" : "(grupa)", "Saved" : "Sačuvano", diff --git a/apps/files_external/l10n/sv.js b/apps/files_external/l10n/sv.js index 25a637e31fa..bee41cf7322 100644 --- a/apps/files_external/l10n/sv.js +++ b/apps/files_external/l10n/sv.js @@ -11,7 +11,6 @@ OC.L10N.register( "Personal" : "Personligt", "System" : "System", "Grant access" : "Bevilja åtkomst", - "Access granted" : "Åtkomst beviljad", "Generate keys" : "Generera nycklar", "Error generating key pair" : "Fel vid generering av nyckelpar", "All users. Type to select user or group." : "Alla användare. Skriv för att välja användare eller grupp.", diff --git a/apps/files_external/l10n/sv.json b/apps/files_external/l10n/sv.json index 5e6ee5e75bf..66b95d84a0b 100644 --- a/apps/files_external/l10n/sv.json +++ b/apps/files_external/l10n/sv.json @@ -9,7 +9,6 @@ "Personal" : "Personligt", "System" : "System", "Grant access" : "Bevilja åtkomst", - "Access granted" : "Åtkomst beviljad", "Generate keys" : "Generera nycklar", "Error generating key pair" : "Fel vid generering av nyckelpar", "All users. Type to select user or group." : "Alla användare. Skriv för att välja användare eller grupp.", diff --git a/apps/files_external/l10n/ta_LK.js b/apps/files_external/l10n/ta_LK.js index 2aeb63ed2cf..8b24951e118 100644 --- a/apps/files_external/l10n/ta_LK.js +++ b/apps/files_external/l10n/ta_LK.js @@ -3,7 +3,6 @@ OC.L10N.register( { "Personal" : "தனிப்பட்ட", "Grant access" : "அனுமதியை வழங்கல்", - "Access granted" : "அனுமதி வழங்கப்பட்டது", "Username" : "பயனாளர் பெயர்", "Password" : "கடவுச்சொல்", "Save" : "சேமிக்க ", diff --git a/apps/files_external/l10n/ta_LK.json b/apps/files_external/l10n/ta_LK.json index 8c0ad0a9cae..15936d3f191 100644 --- a/apps/files_external/l10n/ta_LK.json +++ b/apps/files_external/l10n/ta_LK.json @@ -1,7 +1,6 @@ { "translations": { "Personal" : "தனிப்பட்ட", "Grant access" : "அனுமதியை வழங்கல்", - "Access granted" : "அனுமதி வழங்கப்பட்டது", "Username" : "பயனாளர் பெயர்", "Password" : "கடவுச்சொல்", "Save" : "சேமிக்க ", diff --git a/apps/files_external/l10n/th_TH.js b/apps/files_external/l10n/th_TH.js index d2abf4eb427..8ee72ac0eff 100644 --- a/apps/files_external/l10n/th_TH.js +++ b/apps/files_external/l10n/th_TH.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "ส่วนตัว", "System" : "ระบบ", "Grant access" : "อนุญาตให้เข้าถึงได้", - "Access granted" : "การเข้าถึงได้รับอนุญาตแล้ว", "Error configuring OAuth1" : "ข้อผิดพลาดในการกำหนดค่า OAuth1", "Error configuring OAuth2" : "ข้อผิดพลาดในการกำหนดค่า OAuth2", "Generate keys" : "สร้างคีย์", diff --git a/apps/files_external/l10n/th_TH.json b/apps/files_external/l10n/th_TH.json index 16035bfc6b5..380a69402b0 100644 --- a/apps/files_external/l10n/th_TH.json +++ b/apps/files_external/l10n/th_TH.json @@ -20,7 +20,6 @@ "Personal" : "ส่วนตัว", "System" : "ระบบ", "Grant access" : "อนุญาตให้เข้าถึงได้", - "Access granted" : "การเข้าถึงได้รับอนุญาตแล้ว", "Error configuring OAuth1" : "ข้อผิดพลาดในการกำหนดค่า OAuth1", "Error configuring OAuth2" : "ข้อผิดพลาดในการกำหนดค่า OAuth2", "Generate keys" : "สร้างคีย์", diff --git a/apps/files_external/l10n/tr.js b/apps/files_external/l10n/tr.js index 28e95fd5eed..8365741a128 100644 --- a/apps/files_external/l10n/tr.js +++ b/apps/files_external/l10n/tr.js @@ -22,7 +22,6 @@ OC.L10N.register( "Personal" : "Kişisel", "System" : "Sistem", "Grant access" : "Erişimi sağla", - "Access granted" : "Giriş kabul edildi", "Error configuring OAuth1" : "OAuth1 yapılandırma hatası", "Error configuring OAuth2" : "OAuth2 yapılandırma hatası", "Generate keys" : "Anahtarlar üret", diff --git a/apps/files_external/l10n/tr.json b/apps/files_external/l10n/tr.json index 4b131181b9e..f035cbdb134 100644 --- a/apps/files_external/l10n/tr.json +++ b/apps/files_external/l10n/tr.json @@ -20,7 +20,6 @@ "Personal" : "Kişisel", "System" : "Sistem", "Grant access" : "Erişimi sağla", - "Access granted" : "Giriş kabul edildi", "Error configuring OAuth1" : "OAuth1 yapılandırma hatası", "Error configuring OAuth2" : "OAuth2 yapılandırma hatası", "Generate keys" : "Anahtarlar üret", diff --git a/apps/files_external/l10n/uk.js b/apps/files_external/l10n/uk.js index d21348ff73b..0f1e4e35e94 100644 --- a/apps/files_external/l10n/uk.js +++ b/apps/files_external/l10n/uk.js @@ -10,7 +10,6 @@ OC.L10N.register( "Personal" : "Особисте", "System" : "Система", "Grant access" : "Дозволити доступ", - "Access granted" : "Доступ дозволено", "Generate keys" : "Створити ключі", "Error generating key pair" : "Помилка створення ключової пари", "All users. Type to select user or group." : "Всі користувачі. Введіть ім'я користувача або групи.", diff --git a/apps/files_external/l10n/uk.json b/apps/files_external/l10n/uk.json index 33886b821cc..72f74347d03 100644 --- a/apps/files_external/l10n/uk.json +++ b/apps/files_external/l10n/uk.json @@ -8,7 +8,6 @@ "Personal" : "Особисте", "System" : "Система", "Grant access" : "Дозволити доступ", - "Access granted" : "Доступ дозволено", "Generate keys" : "Створити ключі", "Error generating key pair" : "Помилка створення ключової пари", "All users. Type to select user or group." : "Всі користувачі. Введіть ім'я користувача або групи.", diff --git a/apps/files_external/l10n/vi.js b/apps/files_external/l10n/vi.js index fae262730cf..0e99f70c3a4 100644 --- a/apps/files_external/l10n/vi.js +++ b/apps/files_external/l10n/vi.js @@ -4,7 +4,6 @@ OC.L10N.register( "External storage" : "Lưu trữ ngoài", "Personal" : "Cá nhân", "Grant access" : "Cấp quyền truy cập", - "Access granted" : "Đã cấp quyền truy cập", "Saved" : "Đã lưu", "Username" : "Tên đăng nhập", "Password" : "Mật khẩu", diff --git a/apps/files_external/l10n/vi.json b/apps/files_external/l10n/vi.json index b6deab1dfdf..90e2a0d97c3 100644 --- a/apps/files_external/l10n/vi.json +++ b/apps/files_external/l10n/vi.json @@ -2,7 +2,6 @@ "External storage" : "Lưu trữ ngoài", "Personal" : "Cá nhân", "Grant access" : "Cấp quyền truy cập", - "Access granted" : "Đã cấp quyền truy cập", "Saved" : "Đã lưu", "Username" : "Tên đăng nhập", "Password" : "Mật khẩu", diff --git a/apps/files_external/l10n/zh_CN.js b/apps/files_external/l10n/zh_CN.js index 805ae91d4de..cc7edb361fd 100644 --- a/apps/files_external/l10n/zh_CN.js +++ b/apps/files_external/l10n/zh_CN.js @@ -9,7 +9,6 @@ OC.L10N.register( "Personal" : "个人", "System" : "系统", "Grant access" : "授权", - "Access granted" : "权限已授予。", "Saved" : "已保存", "External mount error" : "外部挂载错误", "external-storage" : "外部存储", diff --git a/apps/files_external/l10n/zh_CN.json b/apps/files_external/l10n/zh_CN.json index 71babc081f6..105cf564843 100644 --- a/apps/files_external/l10n/zh_CN.json +++ b/apps/files_external/l10n/zh_CN.json @@ -7,7 +7,6 @@ "Personal" : "个人", "System" : "系统", "Grant access" : "授权", - "Access granted" : "权限已授予。", "Saved" : "已保存", "External mount error" : "外部挂载错误", "external-storage" : "外部存储", diff --git a/apps/files_external/l10n/zh_TW.js b/apps/files_external/l10n/zh_TW.js index cf3eb29c250..1749eda96dd 100644 --- a/apps/files_external/l10n/zh_TW.js +++ b/apps/files_external/l10n/zh_TW.js @@ -21,7 +21,6 @@ OC.L10N.register( "Personal" : "個人", "System" : "系統", "Grant access" : "允許存取", - "Access granted" : "允許存取", "Error configuring OAuth1" : "設定 OAuth1 時發生錯誤", "Error configuring OAuth2" : "設定 OAuth2 時發生錯誤", "Generate keys" : "產生金鑰", diff --git a/apps/files_external/l10n/zh_TW.json b/apps/files_external/l10n/zh_TW.json index 9dcfdba255f..7b49bb919ca 100644 --- a/apps/files_external/l10n/zh_TW.json +++ b/apps/files_external/l10n/zh_TW.json @@ -19,7 +19,6 @@ "Personal" : "個人", "System" : "系統", "Grant access" : "允許存取", - "Access granted" : "允許存取", "Error configuring OAuth1" : "設定 OAuth1 時發生錯誤", "Error configuring OAuth2" : "設定 OAuth2 時發生錯誤", "Generate keys" : "產生金鑰", diff --git a/apps/files_external/lib/auth/oauth1/oauth1.php b/apps/files_external/lib/auth/oauth1/oauth1.php index dd83c9a6a69..808681530ea 100644 --- a/apps/files_external/lib/auth/oauth1/oauth1.php +++ b/apps/files_external/lib/auth/oauth1/oauth1.php @@ -46,7 +46,7 @@ class OAuth1 extends AuthMechanism { (new DefinitionParameter('token_secret', 'token_secret')) ->setType(DefinitionParameter::VALUE_HIDDEN), ]) - ->setCustomJs('oauth1') + ->addCustomJs('oauth1') ; } diff --git a/apps/files_external/lib/auth/oauth2/oauth2.php b/apps/files_external/lib/auth/oauth2/oauth2.php index c89007b52ba..d4bba8ef0eb 100644 --- a/apps/files_external/lib/auth/oauth2/oauth2.php +++ b/apps/files_external/lib/auth/oauth2/oauth2.php @@ -44,7 +44,7 @@ class OAuth2 extends AuthMechanism { (new DefinitionParameter('token', 'token')) ->setType(DefinitionParameter::VALUE_HIDDEN), ]) - ->setCustomJs('oauth2') + ->addCustomJs('oauth2') ; } diff --git a/apps/files_external/lib/auth/publickey/rsa.php b/apps/files_external/lib/auth/publickey/rsa.php index 9045f6818f9..7732beeddf8 100644 --- a/apps/files_external/lib/auth/publickey/rsa.php +++ b/apps/files_external/lib/auth/publickey/rsa.php @@ -52,7 +52,7 @@ class RSA extends AuthMechanism { (new DefinitionParameter('private_key', 'private_key')) ->setType(DefinitionParameter::VALUE_HIDDEN), ]) - ->setCustomJs('public_key') + ->addCustomJs('public_key') ; } diff --git a/apps/files_external/lib/backend/dropbox.php b/apps/files_external/lib/backend/dropbox.php index f9156082515..2133c274996 100644 --- a/apps/files_external/lib/backend/dropbox.php +++ b/apps/files_external/lib/backend/dropbox.php @@ -44,6 +44,7 @@ class Dropbox extends Backend { // all parameters handled in OAuth1 mechanism ]) ->addAuthScheme(AuthMechanism::SCHEME_OAUTH1) + ->addCustomJs('dropbox') ->setLegacyAuthMechanism($legacyAuth) ; } diff --git a/apps/files_external/lib/backend/google.php b/apps/files_external/lib/backend/google.php index b2b48a0e402..b18b7bdb348 100644 --- a/apps/files_external/lib/backend/google.php +++ b/apps/files_external/lib/backend/google.php @@ -44,6 +44,7 @@ class Google extends Backend { // all parameters handled in OAuth2 mechanism ]) ->addAuthScheme(AuthMechanism::SCHEME_OAUTH2) + ->addCustomJs('gdrive') ->setLegacyAuthMechanism($legacyAuth) ; } diff --git a/apps/files_external/lib/backend/legacybackend.php b/apps/files_external/lib/backend/legacybackend.php index 084758ff78a..752c501e1ec 100644 --- a/apps/files_external/lib/backend/legacybackend.php +++ b/apps/files_external/lib/backend/legacybackend.php @@ -84,7 +84,7 @@ class LegacyBackend extends Backend { $this->setPriority($definition['priority']); } if (isset($definition['custom'])) { - $this->setCustomJs($definition['custom']); + $this->addCustomJs($definition['custom']); } if (isset($definition['has_dependencies']) && $definition['has_dependencies']) { $this->hasDependencies = true; diff --git a/apps/files_external/lib/frontenddefinitiontrait.php b/apps/files_external/lib/frontenddefinitiontrait.php index 9f2b7c40f7f..ccc2a75fd1b 100644 --- a/apps/files_external/lib/frontenddefinitiontrait.php +++ b/apps/files_external/lib/frontenddefinitiontrait.php @@ -36,8 +36,8 @@ trait FrontendDefinitionTrait { /** @var DefinitionParameter[] parameters for mechanism */ private $parameters = []; - /** @var string|null custom JS */ - private $customJs = null; + /** @var string[] custom JS */ + private $customJs = []; /** * @return string @@ -92,7 +92,7 @@ trait FrontendDefinitionTrait { } /** - * @return string|null + * @return string[] */ public function getCustomJs() { return $this->customJs; @@ -102,8 +102,18 @@ trait FrontendDefinitionTrait { * @param string $custom * @return self */ + public function addCustomJs($custom) { + $this->customJs[] = $custom; + return $this; + } + + /** + * @param string $custom + * @return self + * @deprecated 9.1.0, use addCustomJs() instead + */ public function setCustomJs($custom) { - $this->customJs = $custom; + $this->customJs = [$custom]; return $this; } @@ -121,10 +131,8 @@ trait FrontendDefinitionTrait { $data = [ 'name' => $this->getText(), 'configuration' => $configuration, + 'custom' => $this->getCustomJs(), ]; - if (isset($this->customJs)) { - $data['custom'] = $this->getCustomJs(); - } return $data; } diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index 7edd66fe4d5..c9cc40b0ba0 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -1,5 +1,6 @@ <?php use \OCA\Files_External\Lib\Backend\Backend; + use \OCA\Files_External\Lib\Auth\AuthMechanism; use \OCA\Files_External\Lib\DefinitionParameter; use \OCA\Files_External\Service\BackendService; @@ -16,13 +17,16 @@ // load custom JS foreach ($_['backends'] as $backend) { /** @var Backend $backend */ - if ($backend->getCustomJs()) { - script('files_external', $backend->getCustomJs()); + $scripts = $backend->getCustomJs(); + foreach ($scripts as $script) { + script('files_external', $script); } } foreach ($_['authMechanisms'] as $authMechanism) { - if ($authMechanism->getCustomJs()) { - script('files_external', $authMechanism->getCustomJs()); + /** @var AuthMechanism $authMechanism */ + $scripts = $authMechanism->getCustomJs(); + foreach ($scripts as $script) { + script('files_external', $script); } } diff --git a/apps/files_external/tests/backend/legacybackendtest.php b/apps/files_external/tests/backend/legacybackendtest.php index d825b7627b7..465b79a6be6 100644 --- a/apps/files_external/tests/backend/legacybackendtest.php +++ b/apps/files_external/tests/backend/legacybackendtest.php @@ -62,7 +62,7 @@ class LegacyBackendTest extends \Test\TestCase { $this->assertEquals('\OCA\Files_External\Tests\Backend\LegacyBackendTest', $backend->getStorageClass()); $this->assertEquals('Backend text', $backend->getText()); $this->assertEquals(123, $backend->getPriority()); - $this->assertEquals('foo/bar.js', $backend->getCustomJs()); + $this->assertContains('foo/bar.js', $backend->getCustomJs()); $this->assertArrayHasKey('builtin', $backend->getAuthSchemes()); $this->assertEquals($auth, $backend->getLegacyAuthMechanism()); diff --git a/apps/files_external/tests/frontenddefinitiontraittest.php b/apps/files_external/tests/frontenddefinitiontraittest.php index 2afc87762e9..b3846fa1510 100644 --- a/apps/files_external/tests/frontenddefinitiontraittest.php +++ b/apps/files_external/tests/frontenddefinitiontraittest.php @@ -33,12 +33,14 @@ class FrontendDefinitionTraitTest extends \Test\TestCase { $trait = $this->getMockForTrait('\OCA\Files_External\Lib\FrontendDefinitionTrait'); $trait->setText('test'); $trait->addParameters([$param]); - $trait->setCustomJs('foo/bar.js'); + $trait->addCustomJs('foo/bar.js'); + $trait->addCustomJs('bar/foo.js'); $json = $trait->jsonSerializeDefinition(); $this->assertEquals('test', $json['name']); - $this->assertEquals('foo/bar.js', $json['custom']); + $this->assertContains('foo/bar.js', $json['custom']); + $this->assertContains('bar/foo.js', $json['custom']); $configuration = $json['configuration']; $this->assertArrayHasKey('foo', $configuration); |