diff --git a/README.md b/README.md index 58c0a4ec..a26cf109 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,15 @@ Find out more about Nextcloud and Collabora Online, and how to setup an server h In your Nextcloud, simply navigate to »Apps«, choose the category »Office & text«, find the Collabora Online app and enable it. Then open the administrator settings, navigate to the »Collabora Online« tab and specify your Collabora Online server. +### Nextcloud/Collabora Online relation + +For the latest information about the Collabora Online and Nextcloud releases, please visit the: + +[Apps page of Collabora](https://apps.nextcloud.com/apps/richdocuments). + ### Scripted installation (Ubuntu), Server + Nextcloud app The developers of the [Nextcloud VM](https://github.com/nextcloud/vm) has made a [script](https://raw.githubusercontent.com/nextcloud/vm/master/apps/collabora.sh) that you can use. -Please remember to check the the variables in the script to suit your config before you run it, though it should work out of the box on all Ubuntu servers from 16.04 an upwards. +Please remember to check the variables in the script to suit your config before you run it, though it should work out of the box on all Ubuntu servers from 16.04 an upwards. The only thing you must have prepared before you run the script is to have SSL (https://) on your Nextcloud domain and to setup a DNS record to a new domain that you will host Collabora on (office.domain.com for example) and point that your server. SSL is set up with Let's Encrypt. diff --git a/appinfo/app.php b/appinfo/app.php index d747b5fc..6e9249bd 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -23,6 +23,16 @@ namespace OCA\Richdocuments\AppInfo; use OC\Security\CSP\ContentSecurityPolicy; +use OCA\Richdocuments\PermissionManager; + +$currentUser = \OC::$server->getUserSession()->getUser(); +if($currentUser !== null) { + /** @var PermissionManager $permissionManager */ + $permissionManager = \OC::$server->query(PermissionManager::class); + if(!$permissionManager->isEnabledForUser($currentUser)) { + return; + } +} $eventDispatcher = \OC::$server->getEventDispatcher(); $eventDispatcher->addListener( diff --git a/appinfo/info.xml b/appinfo/info.xml index fbce6a90..b92a286c 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,14 +5,14 @@ Collabora Online allows you to to work with all kinds of office documents directly in your browser. This application requires Collabora Cloudsuite to be installed on one of your servers, please read the documentation to learn more about that. Edit office documents directly in your browser. AGPL - 9999_1.12.34_dontsellme + 9999_1.12.36_dontsellme Collabora Productivity based on work of Frank Karlitschek, Victor Dubiniuk https://github.com/nextcloud/richdocuments/issues https://github.com/nextcloud/richdocuments.git office integration - + https://nextcloud.com/collaboraonline/ diff --git a/appinfo/routes.php b/appinfo/routes.php index 67dfc3fa..a92dc45d 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -18,6 +18,9 @@ return [ ['name' => 'document#publicPage', 'url' => '/public', 'verb' => 'GET'], ['name' => 'document#create', 'url' => 'ajax/documents/create', 'verb' => 'POST'], + // external api access + ['name' => 'document#extAppGetData', 'url' => '/ajax/extapp/data/{fileId}', 'verb' => 'POST'], + // WOPI access ['name' => 'wopi#checkFileInfo', 'url' => 'wopi/files/{fileId}', 'verb' => 'GET'], ['name' => 'wopi#getFile', 'url' => 'wopi/files/{fileId}/contents', 'verb' => 'GET'], diff --git a/js/admin.js b/js/admin.js index 7efdc8e8..0d5b4a18 100644 --- a/js/admin.js +++ b/js/admin.js @@ -1,6 +1,31 @@ /*global OC, $ */ var documentsSettings = { + _createExtApp: function() { + var app1 = document.createElement('div'); + app1.setAttribute('class', 'external-app'); + + var appname1 = document.createElement('input'); + appname1.setAttribute('class', 'external-apps-name'); + $(app1).append(appname1); + + var apptoken1 = document.createElement('input'); + apptoken1.setAttribute('class', 'external-apps-token'); + $(app1).append(apptoken1); + + var apptokenbutton = document.createElement('button'); + apptokenbutton.setAttribute('class', 'external-apps-gen-token-button'); + apptokenbutton.innerHTML = 'Generate Token'; + $(app1).append(apptokenbutton); + + var appremovebutton = document.createElement('button'); + appremovebutton.setAttribute('class', 'external-apps-remove-button'); + appremovebutton.innerHTML = 'Remove'; + $(app1).append(appremovebutton); + + return app1; + }, + save : function() { $('#wopi_apply').attr('disabled', true); var data = { @@ -16,15 +41,11 @@ var documentsSettings = { ); }, - saveGroups: function(groups) { - var data = { - 'edit_groups': groups - }; - + saveGroups: function(data) { $.post( OC.filePath('richdocuments', 'ajax', 'admin.php'), data - ); + ); }, saveDocFormat: function(format) { @@ -39,21 +60,133 @@ var documentsSettings = { OC.msg.finishedAction('#documents-admin-msg', response); }, - initEditGroups: function() { - var groups = $('#edit_group_select').val(); + saveExternalApps: function(externalAppsData) { + var data = { + 'external_apps': externalAppsData + }; + + OC.msg.startAction('#enable-external-apps-section-msg', t('richdocuments', 'Saving...')); + $.post( + OC.filePath('richdocuments', 'ajax', 'admin.php'), + data, + documentsSettings.afterSaveExternalApps + ); + }, + + afterSaveExternalApps: function(response) { + OC.msg.finishedAction('#enable-external-apps-section-msg', response); + }, + + initGroups: function() { + var selectorPrefixes = [ + 'edit', + 'use' + ]; + + for (i = 0; i < selectorPrefixes.length; i++) { + var selectorPrefix = selectorPrefixes[i]; + + var groups = $('#' + selectorPrefix + '_group_select').val(); if (groups !== '') { - OC.Settings.setupGroupsSelect($('#edit_group_select')); - $('.edit-groups-enable').attr('checked', 'checked'); + OC.Settings.setupGroupsSelect($('#' + selectorPrefix + '_group_select')); + $('.' + selectorPrefix + '-groups-enable').attr('checked', 'checked'); } else { - $('.edit-groups-enable').attr('checked', null); + $('.' + selectorPrefix + '-groups-enable').attr('checked', null); + } + } + }, + + initExternalApps: function() { + var externalAppsRaw = $(document).find('#external-apps-raw').val(); + var apps = externalAppsRaw.split(','); + for (var i = 0; i < apps.length; ++i) { + if (apps[i] !== '') { + var app = apps[i].split(':'); + var app1 = this._createExtApp(); + // create a placeholder for adding new app + $('#external-apps-section').append(app1); + $(app1).find('.external-apps-name').val(app[0]); + $(app1).find('.external-apps-token').val(app[1]); } + } }, initialize: function() { - documentsSettings.initEditGroups(); + documentsSettings.initGroups(); + documentsSettings.initExternalApps(); $('#wopi_apply').on('click', documentsSettings.save); + // destroy or create app name and token fields depending on whether the checkbox is on or off + $(document).on('change', '#enable_external_apps_cb-richdocuments', function() { + var page = $(this).parent(); + + page.find('#enable-external-apps-section').toggleClass('hidden', !this.checked); + if (this.checked) { + var app1 = documentsSettings._createExtApp(); + $('#external-apps-section').append(app1); + } else { + page.find('.external-app').remove(); + page.find('#external-apps-raw').val(''); + documentsSettings.saveExternalApps(''); + } + }); + + $(document).on('click', '.external-apps-gen-token-button', function() { + var appSection = $(this).parent(); + var appToken = appSection.find('.external-apps-token'); + + // generate a random string + var len = 3; + var array = new Uint32Array(len); + window.crypto.getRandomValues(array); + var random = ''; + for (var i = 0; i < len; ++i) { + random += array[i].toString(36); + } + + // set the token in the field + appToken.val(random); + }); + + $(document).on('click', '.external-apps-remove-button', function() { + $(this).parent().remove(); + }); + + $(document).on('click', '#external-apps-save-button', function() { + // read all the data in input fields, save the data in input-raw and send to backedn + var extAppsSection = $(this).parent(); + var apps = extAppsSection.find('.external-app'); + // convert all values into one single string and store it in raw input field + // as well as send the data to server + var raw = ''; + for (var i = 0; i < apps.length; ++i) { + var appname = $(apps[i]).find('.external-apps-name'); + var apptoken = $(apps[i]).find('.external-apps-token'); + raw += appname.val() + ':' + apptoken.val() + ','; + } + + extAppsSection.find('#external-apps-raw').val(raw); + documentsSettings.saveExternalApps(raw); + }); + + $(document).on('click', '#external-apps-add-button', function() { + // create a placeholder for adding new app + var app1 = documentsSettings._createExtApp(); + $('#external-apps-section').append(app1); + }); + + $(document).on('click', '#test_wopi_apply', function() { + var groups = $(this).parent().find('#test_server_group_select').val(); + var testserver = $(this).parent().find('#test_wopi_url').val(); + + if (groups !== '' && testserver !== '') { + documentsSettings.saveTestWopi(groups, testserver); + } else { + OC.msg.finishedError('#test-documents-admin-msg', 'Both fields required'); + } + }); + $(document).on('change', '.doc-format-ooxml', function() { var ooxml = this.checked; documentsSettings.saveDocFormat(ooxml ? 'ooxml' : 'odf'); @@ -62,7 +195,7 @@ var documentsSettings = { $(document).on('change', '#edit_group_select', function() { var element = $(this).parent().find('input.edit-groups-enable'); var groups = $(this).val(); - documentsSettings.saveGroups(groups); + documentsSettings.saveGroups({edit_groups: groups}); }); $(document).on('change', '.edit-groups-enable', function() { @@ -80,6 +213,27 @@ var documentsSettings = { $select.change(); }); + $(document).on('change', '#use_group_select', function() { + var element = $(this).parent().find('input.use-groups-enable'); + var groups = $(this).val(); + documentsSettings.saveGroups({use_groups: groups}); + }); + + $(document).on('change', '.use-groups-enable', function() { + var $select = $(this).parent().find('#use_group_select'); + $select.val(''); + + if (this.checked) { + OC.Settings.setupGroupsSelect($select, { + placeholder: t('core', 'All') + }); + } else { + $select.select2('destroy'); + } + + $select.change(); + }); + } }; diff --git a/js/documents.js b/js/documents.js index 8d10fd23..709c6b45 100644 --- a/js/documents.js +++ b/js/documents.js @@ -353,13 +353,25 @@ var documentsMain = { } try { - var msg = JSON.parse(e.data).MessageId; + var msg = JSON.parse(e.data); + var msgId = msg.MessageId; + var args = msg.Values; + var deprecated = !!args.Deprecated; } catch(exc) { - msg = e.data; + msgId = e.data; } - if (msg === 'UI_Close' || msg === 'close') { + + if (msgId === 'UI_Close' || msgId === 'close' /* deprecated */) { + // If a postmesage API is deprecated, we must ignore it and wait for the standard postmessage + // (or it might already have been fired) + if (deprecated) + return; + documentsMain.onClose(); - } else if (msg === 'rev-history') { + } else if (msgId === 'UI_FileVersions' || msgId === 'rev-history' /* deprecated */) { + if (deprecated) + return; + documentsMain.UI.showRevHistory(documentsMain.fullPath); } }); diff --git a/l10n/ast.js b/l10n/ast.js index e5f90e9d..d3809406 100644 --- a/l10n/ast.js +++ b/l10n/ast.js @@ -29,7 +29,6 @@ OC.L10N.register( "Collabora Online server" : "Sirvidor de Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puertu) del sirvidor Collabora Online que forne la funcionalidá d'edición como un veceru WOPI.", "Apply" : "Aplicar", - "Enable edit for specific groups" : "Activar la edición pa grupos específicos", "Use OOXML by default for new files" : "Usar OOXML por defeutu pa ficheros nuevos", "Wrong password. Please retry." : "Contraseña incorreuta. Volvi tentalo, por favor.", "Password" : "Contraseña", diff --git a/l10n/ast.json b/l10n/ast.json index 96bd6dd8..3b2d7843 100644 --- a/l10n/ast.json +++ b/l10n/ast.json @@ -27,7 +27,6 @@ "Collabora Online server" : "Sirvidor de Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puertu) del sirvidor Collabora Online que forne la funcionalidá d'edición como un veceru WOPI.", "Apply" : "Aplicar", - "Enable edit for specific groups" : "Activar la edición pa grupos específicos", "Use OOXML by default for new files" : "Usar OOXML por defeutu pa ficheros nuevos", "Wrong password. Please retry." : "Contraseña incorreuta. Volvi tentalo, por favor.", "Password" : "Contraseña", diff --git a/l10n/ca.js b/l10n/ca.js index 782836a3..492f85a6 100644 --- a/l10n/ca.js +++ b/l10n/ca.js @@ -1,21 +1,38 @@ OC.L10N.register( "richdocuments", { + "Saving…" : "S'està desant ...", + "Saving..." : "Desant...", + "All" : "Tots", "Download this revision" : "Baixa aquesta revisió", "Restore this revision" : "Restaura aquesta revisió", "Latest revision" : "Última revisió", + "More versions…" : "Més versións ...", "Just now" : "Ara mateix", + "Failed to revert the document to older version" : "No s'ha pogut tornar el document a la versió anterior", "Save" : "Desar", + "Loading documents…" : "S'estan carregant els documents...", "Edit" : "Editar", + "New Document" : "Nou document", + "New Spreadsheet" : "Nou full de càlcul", + "New Presentation" : "Nova presentació", "Could not create file" : "No s'ha pogut crear el fitxer", "New Document.odt" : "Nou Document.odt", + "New Spreadsheet.ods" : "Nou full de càlcul.ods", "New Presentation.odp" : "Nova Presentació.odp", "New Document.docx" : "Nou Document.docx", + "New Spreadsheet.xlsx" : "Nou full de càlcul.xlsx", "New Presentation.pptx" : "Nova Presentació.pptx", "Can't create document" : "El document no es pot crear", "Saved" : "Desat", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "S'ha desat amb error: hauria d'utilitzar el mateix protocol que la instal·lació del servidor.", "Collabora Online" : "Col·labora Online", + "Collabora Online server" : "servidor en línia", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Servidor URL (i port) que proporciona la funcionalitat d'edició com a client WOPI.", "Apply" : "Aplica", + "Use OOXML by default for new files" : "Utilitzeu XML per defecte per a fitxers nous", + "Enable access for external apps" : "Activa l'accés a les aplicacions externes", + "Add" : "Add", "Wrong password. Please retry." : "Contrasenya incorrecta. Intenteu-ho de nou.", "Password" : "Contrasenya", "OK" : "D'acord", diff --git a/l10n/ca.json b/l10n/ca.json index c7117880..305961eb 100644 --- a/l10n/ca.json +++ b/l10n/ca.json @@ -1,19 +1,36 @@ { "translations": { + "Saving…" : "S'està desant ...", + "Saving..." : "Desant...", + "All" : "Tots", "Download this revision" : "Baixa aquesta revisió", "Restore this revision" : "Restaura aquesta revisió", "Latest revision" : "Última revisió", + "More versions…" : "Més versións ...", "Just now" : "Ara mateix", + "Failed to revert the document to older version" : "No s'ha pogut tornar el document a la versió anterior", "Save" : "Desar", + "Loading documents…" : "S'estan carregant els documents...", "Edit" : "Editar", + "New Document" : "Nou document", + "New Spreadsheet" : "Nou full de càlcul", + "New Presentation" : "Nova presentació", "Could not create file" : "No s'ha pogut crear el fitxer", "New Document.odt" : "Nou Document.odt", + "New Spreadsheet.ods" : "Nou full de càlcul.ods", "New Presentation.odp" : "Nova Presentació.odp", "New Document.docx" : "Nou Document.docx", + "New Spreadsheet.xlsx" : "Nou full de càlcul.xlsx", "New Presentation.pptx" : "Nova Presentació.pptx", "Can't create document" : "El document no es pot crear", "Saved" : "Desat", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "S'ha desat amb error: hauria d'utilitzar el mateix protocol que la instal·lació del servidor.", "Collabora Online" : "Col·labora Online", + "Collabora Online server" : "servidor en línia", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Servidor URL (i port) que proporciona la funcionalitat d'edició com a client WOPI.", "Apply" : "Aplica", + "Use OOXML by default for new files" : "Utilitzeu XML per defecte per a fitxers nous", + "Enable access for external apps" : "Activa l'accés a les aplicacions externes", + "Add" : "Add", "Wrong password. Please retry." : "Contrasenya incorrecta. Intenteu-ho de nou.", "Password" : "Contrasenya", "OK" : "D'acord", diff --git a/l10n/cs.js b/l10n/cs.js index 1115f84d..3053d297 100644 --- a/l10n/cs.js +++ b/l10n/cs.js @@ -29,7 +29,6 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (a port) Collabora Online serveru, který poskytuje funkce úprav jako WOPI klient.", "Apply" : "Použít", - "Enable edit for specific groups" : "Povolit úpravy pouze vybraným skupinám", "Use OOXML by default for new files" : "Použít OOXML jako výchozí pro nové soubory", "Wrong password. Please retry." : "Nesprávné heslo. Zkuste to znovu.", "Password" : "Heslo", diff --git a/l10n/cs.json b/l10n/cs.json index 0e411c54..d72f6efa 100644 --- a/l10n/cs.json +++ b/l10n/cs.json @@ -27,7 +27,6 @@ "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (a port) Collabora Online serveru, který poskytuje funkce úprav jako WOPI klient.", "Apply" : "Použít", - "Enable edit for specific groups" : "Povolit úpravy pouze vybraným skupinám", "Use OOXML by default for new files" : "Použít OOXML jako výchozí pro nové soubory", "Wrong password. Please retry." : "Nesprávné heslo. Zkuste to znovu.", "Password" : "Heslo", diff --git a/l10n/da.js b/l10n/da.js index f96ccc59..5d88d587 100644 --- a/l10n/da.js +++ b/l10n/da.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Gemmer...", + "Saving..." : "Gemmer...", "All" : "Alle", "Download this revision" : "Hent denne revision", "Restore this revision" : "Gendan denne revision", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (og port) i Collabora Online serveren, der giver redigeringsfunktionalitet som en WOPI klient.", "Apply" : "Anvend", - "Enable edit for specific groups" : "Aktivér ret for specifikke grupper", "Use OOXML by default for new files" : "Brug OOXML for standard for nye filer.", + "Enable access for external apps" : "Tillad tilgang fra eksterne apps", + "Add" : "Tilføj", "Wrong password. Please retry." : "Forkert kodeord. Prøv igen.", "Password" : "Kodeord", "OK" : "OK", diff --git a/l10n/da.json b/l10n/da.json index c2731e9f..a1775503 100644 --- a/l10n/da.json +++ b/l10n/da.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Gemmer...", + "Saving..." : "Gemmer...", "All" : "Alle", "Download this revision" : "Hent denne revision", "Restore this revision" : "Gendan denne revision", @@ -27,8 +28,9 @@ "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (og port) i Collabora Online serveren, der giver redigeringsfunktionalitet som en WOPI klient.", "Apply" : "Anvend", - "Enable edit for specific groups" : "Aktivér ret for specifikke grupper", "Use OOXML by default for new files" : "Brug OOXML for standard for nye filer.", + "Enable access for external apps" : "Tillad tilgang fra eksterne apps", + "Add" : "Tilføj", "Wrong password. Please retry." : "Forkert kodeord. Prøv igen.", "Password" : "Kodeord", "OK" : "OK", diff --git a/l10n/de.js b/l10n/de.js index 236b03ea..14042b44 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Speichere…", + "Saving..." : "Speichere…", "All" : "Alle", "Download this revision" : "Diese Revision herunterladen", "Restore this revision" : "Diese Revision wiederherstellen", @@ -29,8 +30,11 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online Server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (und Port) des Collabora Online Servers, der als WOPI-Client die Bearbeitungsfunktionalität bereitstellt.", "Apply" : "Anwenden", - "Enable edit for specific groups" : "Bearbeitung für bestimmte Gruppen aktivieren", + "Restrict usage to specific groups" : "Verwendung auf bestimmte Gruppen beschränken", + "Restrict edit to specific groups" : "Bearbeitung auf bestimmte Gruppen beschränken", "Use OOXML by default for new files" : "OOXML als Standard für neue Dateien nutzen", + "Enable access for external apps" : "Zugriff auf experimentelle Apps aktivieren", + "Add" : "Hinzufügen", "Wrong password. Please retry." : "Falsches Passwort. Bitte versuche es noch einmal.", "Password" : "Passwort", "OK" : "OK", diff --git a/l10n/de.json b/l10n/de.json index 041b2d74..4e8448b8 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Speichere…", + "Saving..." : "Speichere…", "All" : "Alle", "Download this revision" : "Diese Revision herunterladen", "Restore this revision" : "Diese Revision wiederherstellen", @@ -27,8 +28,11 @@ "Collabora Online server" : "Collabora Online Server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (und Port) des Collabora Online Servers, der als WOPI-Client die Bearbeitungsfunktionalität bereitstellt.", "Apply" : "Anwenden", - "Enable edit for specific groups" : "Bearbeitung für bestimmte Gruppen aktivieren", + "Restrict usage to specific groups" : "Verwendung auf bestimmte Gruppen beschränken", + "Restrict edit to specific groups" : "Bearbeitung auf bestimmte Gruppen beschränken", "Use OOXML by default for new files" : "OOXML als Standard für neue Dateien nutzen", + "Enable access for external apps" : "Zugriff auf experimentelle Apps aktivieren", + "Add" : "Hinzufügen", "Wrong password. Please retry." : "Falsches Passwort. Bitte versuche es noch einmal.", "Password" : "Passwort", "OK" : "OK", diff --git a/l10n/de_DE.js b/l10n/de_DE.js index faf98f4d..b80facd7 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Speichere…", + "Saving..." : "Speichere…", "All" : "Alle", "Download this revision" : "Diese Revision herunterladen", "Restore this revision" : "Diese Revision wiederherstellen", @@ -29,8 +30,11 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online Server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (und Port) des Collabora Online Servers, der als WOPI-Client die Bearbeitungsfunktionalität bereitstellt.", "Apply" : "Anwenden", - "Enable edit for specific groups" : "Bearbeitung für bestimmte Gruppen aktivieren", + "Restrict usage to specific groups" : "Verwendung auf bestimmte Gruppen beschränken", + "Restrict edit to specific groups" : "Bearbeitung auf bestimmte Gruppen beschränken", "Use OOXML by default for new files" : "OOXML als Standard für neue Dateien nutzen", + "Enable access for external apps" : "Zugriff auf experimentelle Apps aktivieren", + "Add" : "Hinzufügen", "Wrong password. Please retry." : "Falsches Passwort. Bitte versuchen Sie es noch einmal.", "Password" : "Passwort", "OK" : "OK", diff --git a/l10n/de_DE.json b/l10n/de_DE.json index ff71388c..950e5f92 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Speichere…", + "Saving..." : "Speichere…", "All" : "Alle", "Download this revision" : "Diese Revision herunterladen", "Restore this revision" : "Diese Revision wiederherstellen", @@ -27,8 +28,11 @@ "Collabora Online server" : "Collabora Online Server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (und Port) des Collabora Online Servers, der als WOPI-Client die Bearbeitungsfunktionalität bereitstellt.", "Apply" : "Anwenden", - "Enable edit for specific groups" : "Bearbeitung für bestimmte Gruppen aktivieren", + "Restrict usage to specific groups" : "Verwendung auf bestimmte Gruppen beschränken", + "Restrict edit to specific groups" : "Bearbeitung auf bestimmte Gruppen beschränken", "Use OOXML by default for new files" : "OOXML als Standard für neue Dateien nutzen", + "Enable access for external apps" : "Zugriff auf experimentelle Apps aktivieren", + "Add" : "Hinzufügen", "Wrong password. Please retry." : "Falsches Passwort. Bitte versuchen Sie es noch einmal.", "Password" : "Passwort", "OK" : "OK", diff --git a/l10n/el.js b/l10n/el.js index 15e8af62..7b9db3ab 100644 --- a/l10n/el.js +++ b/l10n/el.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Γίνεται αποθήκευση...", + "Saving..." : "Γίνεται αποθήκευση...", "All" : "'Ολα", "Download this revision" : "Λήψη αυτής της αναθεώρησης", "Restore this revision" : "Επαναφορά αυτή της αναθεώρησης", @@ -29,7 +30,6 @@ OC.L10N.register( "Collabora Online server" : "Διακομιστής Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Η URL (και η θύρα) του διακομιστή Collabora Online που παρέχει την δυνατότητα επεξεργασίας ως πελάτης WOPI.", "Apply" : "Εφαρμογή", - "Enable edit for specific groups" : "Ενεργοποίηση επεξεργασίας για καθορισμένες ομάδες", "Use OOXML by default for new files" : "Χρήση OOXML από προεπιλογή για τα νέα αρχεία", "Wrong password. Please retry." : "Εσφαλμένο συνθηματικό. Παρακαλώ προσπαθήστε ξανά.", "Password" : "Συνθηματικό", diff --git a/l10n/el.json b/l10n/el.json index 6834ce8d..ed847f5c 100644 --- a/l10n/el.json +++ b/l10n/el.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Γίνεται αποθήκευση...", + "Saving..." : "Γίνεται αποθήκευση...", "All" : "'Ολα", "Download this revision" : "Λήψη αυτής της αναθεώρησης", "Restore this revision" : "Επαναφορά αυτή της αναθεώρησης", @@ -27,7 +28,6 @@ "Collabora Online server" : "Διακομιστής Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Η URL (και η θύρα) του διακομιστή Collabora Online που παρέχει την δυνατότητα επεξεργασίας ως πελάτης WOPI.", "Apply" : "Εφαρμογή", - "Enable edit for specific groups" : "Ενεργοποίηση επεξεργασίας για καθορισμένες ομάδες", "Use OOXML by default for new files" : "Χρήση OOXML από προεπιλογή για τα νέα αρχεία", "Wrong password. Please retry." : "Εσφαλμένο συνθηματικό. Παρακαλώ προσπαθήστε ξανά.", "Password" : "Συνθηματικό", diff --git a/l10n/en_GB.js b/l10n/en_GB.js index a5e6072c..7951becd 100644 --- a/l10n/en_GB.js +++ b/l10n/en_GB.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Saving…", + "Saving..." : "Saving...", "All" : "All", "Download this revision" : "Download this revision", "Restore this revision" : "Restore this revision", @@ -29,8 +30,11 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client.", "Apply" : "Apply", - "Enable edit for specific groups" : "Enable edit for specific groups", + "Restrict usage to specific groups" : "Restrict usage to specific groups", + "Restrict edit to specific groups" : "Restrict edit to specific groups", "Use OOXML by default for new files" : "Use OOXML by default for new files", + "Enable access for external apps" : "Enable access for external apps", + "Add" : "Add", "Wrong password. Please retry." : "Incorrect password. Please try again.", "Password" : "Password", "OK" : "OK", diff --git a/l10n/en_GB.json b/l10n/en_GB.json index d6d14079..bf0cb211 100644 --- a/l10n/en_GB.json +++ b/l10n/en_GB.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Saving…", + "Saving..." : "Saving...", "All" : "All", "Download this revision" : "Download this revision", "Restore this revision" : "Restore this revision", @@ -27,8 +28,11 @@ "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client.", "Apply" : "Apply", - "Enable edit for specific groups" : "Enable edit for specific groups", + "Restrict usage to specific groups" : "Restrict usage to specific groups", + "Restrict edit to specific groups" : "Restrict edit to specific groups", "Use OOXML by default for new files" : "Use OOXML by default for new files", + "Enable access for external apps" : "Enable access for external apps", + "Add" : "Add", "Wrong password. Please retry." : "Incorrect password. Please try again.", "Password" : "Password", "OK" : "OK", diff --git a/l10n/es.js b/l10n/es.js index 9f4a4e9e..5bc09fae 100644 --- a/l10n/es.js +++ b/l10n/es.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Guardando…", + "Saving..." : "Guardando...", "All" : "Todo", "Download this revision" : "Descargar esta revisión", "Restore this revision" : "Restaurar esta revisión", @@ -29,8 +30,11 @@ OC.L10N.register( "Collabora Online server" : "Servidor Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "La dirección URL (y puerto) del servidor Collabora Online que proporciona la funcionalidad de edición es un cliente WOPI.", "Apply" : "Aplicar", - "Enable edit for specific groups" : "Activar la edición para grupos específicos", + "Restrict usage to specific groups" : "Restringir el uso a grupos específicos", + "Restrict edit to specific groups" : "Restringir la edición a grupos específicos", "Use OOXML by default for new files" : "Usar OOXML de forma predeterminada para nuevos archivos", + "Enable access for external apps" : "Permitir acceso a apps externas", + "Add" : "Añadir", "Wrong password. Please retry." : "Contraseña incorrecta. Inténtelo de nuevo.", "Password" : "Contraseña", "OK" : "OK", diff --git a/l10n/es.json b/l10n/es.json index 81d6e7f5..d16055ab 100644 --- a/l10n/es.json +++ b/l10n/es.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Guardando…", + "Saving..." : "Guardando...", "All" : "Todo", "Download this revision" : "Descargar esta revisión", "Restore this revision" : "Restaurar esta revisión", @@ -27,8 +28,11 @@ "Collabora Online server" : "Servidor Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "La dirección URL (y puerto) del servidor Collabora Online que proporciona la funcionalidad de edición es un cliente WOPI.", "Apply" : "Aplicar", - "Enable edit for specific groups" : "Activar la edición para grupos específicos", + "Restrict usage to specific groups" : "Restringir el uso a grupos específicos", + "Restrict edit to specific groups" : "Restringir la edición a grupos específicos", "Use OOXML by default for new files" : "Usar OOXML de forma predeterminada para nuevos archivos", + "Enable access for external apps" : "Permitir acceso a apps externas", + "Add" : "Añadir", "Wrong password. Please retry." : "Contraseña incorrecta. Inténtelo de nuevo.", "Password" : "Contraseña", "OK" : "OK", diff --git a/l10n/es_CO.js b/l10n/es_CO.js new file mode 100644 index 00000000..5ef81c65 --- /dev/null +++ b/l10n/es_CO.js @@ -0,0 +1,42 @@ +OC.L10N.register( + "richdocuments", + { + "Saving…" : "Guardando...", + "Saving..." : "Guardando...", + "All" : "Todos", + "Download this revision" : "Descargar esta revisión", + "Restore this revision" : "Restaurar esta revisión", + "Latest revision" : "Última revisión", + "More versions…" : "Más versiones...", + "Just now" : "Justo ahora", + "Failed to revert the document to older version" : "Se presentó una falla al revertir el documento a la versión anterior", + "Save" : "Guardar", + "Loading documents…" : "Cargando documentos...", + "Edit" : "Editar", + "New Document" : "Nuevo Documento", + "New Spreadsheet" : "Nueva Hoja de cálculo", + "New Presentation" : "Nueva Presentación", + "Could not create file" : "No fue posible crear el archivo", + "New Document.odt" : "Nuevo Documento.odt", + "New Spreadsheet.ods" : "Nueva HojaDeCálculo.ods", + "New Presentation.odp" : "Nueva Presentación.odp", + "New Document.docx" : "Nuevo Documento.docx", + "New Spreadsheet.xlsx" : "Nueva HojaDeCálculo.xlsx", + "New Presentation.pptx" : "Nueva Presentación.pptx", + "Can't create document" : "No es posible crear el documento", + "Saved" : "Guardado", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Guardado con error: Collabora Online debería usar el mismo protocolo que la instalación del servidor.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Servidor Collabora Online", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", + "Apply" : "Aplicar", + "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", + "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", + "Password" : "Contraseña", + "OK" : "OK", + "Guest %s" : "Invitado %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "Esta liga ha expirado o nunca existió. Por favor de contacta a la persona que lo compartió contigo para más detalles." +}, +"nplurals=2; plural=(n != 1);"); diff --git a/l10n/es_CO.json b/l10n/es_CO.json new file mode 100644 index 00000000..625baa29 --- /dev/null +++ b/l10n/es_CO.json @@ -0,0 +1,40 @@ +{ "translations": { + "Saving…" : "Guardando...", + "Saving..." : "Guardando...", + "All" : "Todos", + "Download this revision" : "Descargar esta revisión", + "Restore this revision" : "Restaurar esta revisión", + "Latest revision" : "Última revisión", + "More versions…" : "Más versiones...", + "Just now" : "Justo ahora", + "Failed to revert the document to older version" : "Se presentó una falla al revertir el documento a la versión anterior", + "Save" : "Guardar", + "Loading documents…" : "Cargando documentos...", + "Edit" : "Editar", + "New Document" : "Nuevo Documento", + "New Spreadsheet" : "Nueva Hoja de cálculo", + "New Presentation" : "Nueva Presentación", + "Could not create file" : "No fue posible crear el archivo", + "New Document.odt" : "Nuevo Documento.odt", + "New Spreadsheet.ods" : "Nueva HojaDeCálculo.ods", + "New Presentation.odp" : "Nueva Presentación.odp", + "New Document.docx" : "Nuevo Documento.docx", + "New Spreadsheet.xlsx" : "Nueva HojaDeCálculo.xlsx", + "New Presentation.pptx" : "Nueva Presentación.pptx", + "Can't create document" : "No es posible crear el documento", + "Saved" : "Guardado", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Guardado con error: Collabora Online debería usar el mismo protocolo que la instalación del servidor.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Servidor Collabora Online", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", + "Apply" : "Aplicar", + "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", + "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", + "Password" : "Contraseña", + "OK" : "OK", + "Guest %s" : "Invitado %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "Esta liga ha expirado o nunca existió. Por favor de contacta a la persona que lo compartió contigo para más detalles." +},"pluralForm" :"nplurals=2; plural=(n != 1);" +} \ No newline at end of file diff --git a/l10n/es_CR.js b/l10n/es_CR.js new file mode 100644 index 00000000..5ef81c65 --- /dev/null +++ b/l10n/es_CR.js @@ -0,0 +1,42 @@ +OC.L10N.register( + "richdocuments", + { + "Saving…" : "Guardando...", + "Saving..." : "Guardando...", + "All" : "Todos", + "Download this revision" : "Descargar esta revisión", + "Restore this revision" : "Restaurar esta revisión", + "Latest revision" : "Última revisión", + "More versions…" : "Más versiones...", + "Just now" : "Justo ahora", + "Failed to revert the document to older version" : "Se presentó una falla al revertir el documento a la versión anterior", + "Save" : "Guardar", + "Loading documents…" : "Cargando documentos...", + "Edit" : "Editar", + "New Document" : "Nuevo Documento", + "New Spreadsheet" : "Nueva Hoja de cálculo", + "New Presentation" : "Nueva Presentación", + "Could not create file" : "No fue posible crear el archivo", + "New Document.odt" : "Nuevo Documento.odt", + "New Spreadsheet.ods" : "Nueva HojaDeCálculo.ods", + "New Presentation.odp" : "Nueva Presentación.odp", + "New Document.docx" : "Nuevo Documento.docx", + "New Spreadsheet.xlsx" : "Nueva HojaDeCálculo.xlsx", + "New Presentation.pptx" : "Nueva Presentación.pptx", + "Can't create document" : "No es posible crear el documento", + "Saved" : "Guardado", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Guardado con error: Collabora Online debería usar el mismo protocolo que la instalación del servidor.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Servidor Collabora Online", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", + "Apply" : "Aplicar", + "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", + "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", + "Password" : "Contraseña", + "OK" : "OK", + "Guest %s" : "Invitado %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "Esta liga ha expirado o nunca existió. Por favor de contacta a la persona que lo compartió contigo para más detalles." +}, +"nplurals=2; plural=(n != 1);"); diff --git a/l10n/es_CR.json b/l10n/es_CR.json new file mode 100644 index 00000000..625baa29 --- /dev/null +++ b/l10n/es_CR.json @@ -0,0 +1,40 @@ +{ "translations": { + "Saving…" : "Guardando...", + "Saving..." : "Guardando...", + "All" : "Todos", + "Download this revision" : "Descargar esta revisión", + "Restore this revision" : "Restaurar esta revisión", + "Latest revision" : "Última revisión", + "More versions…" : "Más versiones...", + "Just now" : "Justo ahora", + "Failed to revert the document to older version" : "Se presentó una falla al revertir el documento a la versión anterior", + "Save" : "Guardar", + "Loading documents…" : "Cargando documentos...", + "Edit" : "Editar", + "New Document" : "Nuevo Documento", + "New Spreadsheet" : "Nueva Hoja de cálculo", + "New Presentation" : "Nueva Presentación", + "Could not create file" : "No fue posible crear el archivo", + "New Document.odt" : "Nuevo Documento.odt", + "New Spreadsheet.ods" : "Nueva HojaDeCálculo.ods", + "New Presentation.odp" : "Nueva Presentación.odp", + "New Document.docx" : "Nuevo Documento.docx", + "New Spreadsheet.xlsx" : "Nueva HojaDeCálculo.xlsx", + "New Presentation.pptx" : "Nueva Presentación.pptx", + "Can't create document" : "No es posible crear el documento", + "Saved" : "Guardado", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Guardado con error: Collabora Online debería usar el mismo protocolo que la instalación del servidor.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Servidor Collabora Online", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", + "Apply" : "Aplicar", + "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", + "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", + "Password" : "Contraseña", + "OK" : "OK", + "Guest %s" : "Invitado %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "Esta liga ha expirado o nunca existió. Por favor de contacta a la persona que lo compartió contigo para más detalles." +},"pluralForm" :"nplurals=2; plural=(n != 1);" +} \ No newline at end of file diff --git a/l10n/es_DO.js b/l10n/es_DO.js new file mode 100644 index 00000000..5ef81c65 --- /dev/null +++ b/l10n/es_DO.js @@ -0,0 +1,42 @@ +OC.L10N.register( + "richdocuments", + { + "Saving…" : "Guardando...", + "Saving..." : "Guardando...", + "All" : "Todos", + "Download this revision" : "Descargar esta revisión", + "Restore this revision" : "Restaurar esta revisión", + "Latest revision" : "Última revisión", + "More versions…" : "Más versiones...", + "Just now" : "Justo ahora", + "Failed to revert the document to older version" : "Se presentó una falla al revertir el documento a la versión anterior", + "Save" : "Guardar", + "Loading documents…" : "Cargando documentos...", + "Edit" : "Editar", + "New Document" : "Nuevo Documento", + "New Spreadsheet" : "Nueva Hoja de cálculo", + "New Presentation" : "Nueva Presentación", + "Could not create file" : "No fue posible crear el archivo", + "New Document.odt" : "Nuevo Documento.odt", + "New Spreadsheet.ods" : "Nueva HojaDeCálculo.ods", + "New Presentation.odp" : "Nueva Presentación.odp", + "New Document.docx" : "Nuevo Documento.docx", + "New Spreadsheet.xlsx" : "Nueva HojaDeCálculo.xlsx", + "New Presentation.pptx" : "Nueva Presentación.pptx", + "Can't create document" : "No es posible crear el documento", + "Saved" : "Guardado", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Guardado con error: Collabora Online debería usar el mismo protocolo que la instalación del servidor.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Servidor Collabora Online", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", + "Apply" : "Aplicar", + "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", + "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", + "Password" : "Contraseña", + "OK" : "OK", + "Guest %s" : "Invitado %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "Esta liga ha expirado o nunca existió. Por favor de contacta a la persona que lo compartió contigo para más detalles." +}, +"nplurals=2; plural=(n != 1);"); diff --git a/l10n/es_DO.json b/l10n/es_DO.json new file mode 100644 index 00000000..625baa29 --- /dev/null +++ b/l10n/es_DO.json @@ -0,0 +1,40 @@ +{ "translations": { + "Saving…" : "Guardando...", + "Saving..." : "Guardando...", + "All" : "Todos", + "Download this revision" : "Descargar esta revisión", + "Restore this revision" : "Restaurar esta revisión", + "Latest revision" : "Última revisión", + "More versions…" : "Más versiones...", + "Just now" : "Justo ahora", + "Failed to revert the document to older version" : "Se presentó una falla al revertir el documento a la versión anterior", + "Save" : "Guardar", + "Loading documents…" : "Cargando documentos...", + "Edit" : "Editar", + "New Document" : "Nuevo Documento", + "New Spreadsheet" : "Nueva Hoja de cálculo", + "New Presentation" : "Nueva Presentación", + "Could not create file" : "No fue posible crear el archivo", + "New Document.odt" : "Nuevo Documento.odt", + "New Spreadsheet.ods" : "Nueva HojaDeCálculo.ods", + "New Presentation.odp" : "Nueva Presentación.odp", + "New Document.docx" : "Nuevo Documento.docx", + "New Spreadsheet.xlsx" : "Nueva HojaDeCálculo.xlsx", + "New Presentation.pptx" : "Nueva Presentación.pptx", + "Can't create document" : "No es posible crear el documento", + "Saved" : "Guardado", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Guardado con error: Collabora Online debería usar el mismo protocolo que la instalación del servidor.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Servidor Collabora Online", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", + "Apply" : "Aplicar", + "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", + "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", + "Password" : "Contraseña", + "OK" : "OK", + "Guest %s" : "Invitado %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "Esta liga ha expirado o nunca existió. Por favor de contacta a la persona que lo compartió contigo para más detalles." +},"pluralForm" :"nplurals=2; plural=(n != 1);" +} \ No newline at end of file diff --git a/l10n/es_EC.js b/l10n/es_EC.js new file mode 100644 index 00000000..5ef81c65 --- /dev/null +++ b/l10n/es_EC.js @@ -0,0 +1,42 @@ +OC.L10N.register( + "richdocuments", + { + "Saving…" : "Guardando...", + "Saving..." : "Guardando...", + "All" : "Todos", + "Download this revision" : "Descargar esta revisión", + "Restore this revision" : "Restaurar esta revisión", + "Latest revision" : "Última revisión", + "More versions…" : "Más versiones...", + "Just now" : "Justo ahora", + "Failed to revert the document to older version" : "Se presentó una falla al revertir el documento a la versión anterior", + "Save" : "Guardar", + "Loading documents…" : "Cargando documentos...", + "Edit" : "Editar", + "New Document" : "Nuevo Documento", + "New Spreadsheet" : "Nueva Hoja de cálculo", + "New Presentation" : "Nueva Presentación", + "Could not create file" : "No fue posible crear el archivo", + "New Document.odt" : "Nuevo Documento.odt", + "New Spreadsheet.ods" : "Nueva HojaDeCálculo.ods", + "New Presentation.odp" : "Nueva Presentación.odp", + "New Document.docx" : "Nuevo Documento.docx", + "New Spreadsheet.xlsx" : "Nueva HojaDeCálculo.xlsx", + "New Presentation.pptx" : "Nueva Presentación.pptx", + "Can't create document" : "No es posible crear el documento", + "Saved" : "Guardado", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Guardado con error: Collabora Online debería usar el mismo protocolo que la instalación del servidor.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Servidor Collabora Online", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", + "Apply" : "Aplicar", + "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", + "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", + "Password" : "Contraseña", + "OK" : "OK", + "Guest %s" : "Invitado %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "Esta liga ha expirado o nunca existió. Por favor de contacta a la persona que lo compartió contigo para más detalles." +}, +"nplurals=2; plural=(n != 1);"); diff --git a/l10n/es_EC.json b/l10n/es_EC.json new file mode 100644 index 00000000..625baa29 --- /dev/null +++ b/l10n/es_EC.json @@ -0,0 +1,40 @@ +{ "translations": { + "Saving…" : "Guardando...", + "Saving..." : "Guardando...", + "All" : "Todos", + "Download this revision" : "Descargar esta revisión", + "Restore this revision" : "Restaurar esta revisión", + "Latest revision" : "Última revisión", + "More versions…" : "Más versiones...", + "Just now" : "Justo ahora", + "Failed to revert the document to older version" : "Se presentó una falla al revertir el documento a la versión anterior", + "Save" : "Guardar", + "Loading documents…" : "Cargando documentos...", + "Edit" : "Editar", + "New Document" : "Nuevo Documento", + "New Spreadsheet" : "Nueva Hoja de cálculo", + "New Presentation" : "Nueva Presentación", + "Could not create file" : "No fue posible crear el archivo", + "New Document.odt" : "Nuevo Documento.odt", + "New Spreadsheet.ods" : "Nueva HojaDeCálculo.ods", + "New Presentation.odp" : "Nueva Presentación.odp", + "New Document.docx" : "Nuevo Documento.docx", + "New Spreadsheet.xlsx" : "Nueva HojaDeCálculo.xlsx", + "New Presentation.pptx" : "Nueva Presentación.pptx", + "Can't create document" : "No es posible crear el documento", + "Saved" : "Guardado", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Guardado con error: Collabora Online debería usar el mismo protocolo que la instalación del servidor.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Servidor Collabora Online", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", + "Apply" : "Aplicar", + "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", + "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", + "Password" : "Contraseña", + "OK" : "OK", + "Guest %s" : "Invitado %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "Esta liga ha expirado o nunca existió. Por favor de contacta a la persona que lo compartió contigo para más detalles." +},"pluralForm" :"nplurals=2; plural=(n != 1);" +} \ No newline at end of file diff --git a/l10n/es_MX.js b/l10n/es_MX.js index 1c062458..5ef81c65 100644 --- a/l10n/es_MX.js +++ b/l10n/es_MX.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Guardando...", + "Saving..." : "Guardando...", "All" : "Todos", "Download this revision" : "Descargar esta revisión", "Restore this revision" : "Restaurar esta revisión", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Servidor Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", "Apply" : "Aplicar", - "Enable edit for specific groups" : "Permitir editar a grupos específicos", "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", "Password" : "Contraseña", "OK" : "OK", diff --git a/l10n/es_MX.json b/l10n/es_MX.json index ef089f77..625baa29 100644 --- a/l10n/es_MX.json +++ b/l10n/es_MX.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Guardando...", + "Saving..." : "Guardando...", "All" : "Todos", "Download this revision" : "Descargar esta revisión", "Restore this revision" : "Restaurar esta revisión", @@ -27,8 +28,9 @@ "Collabora Online server" : "Servidor Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (y puerto) del servidor de Collabora Online que provee la funcionalidad de edición como un cliente WOPI. ", "Apply" : "Aplicar", - "Enable edit for specific groups" : "Permitir editar a grupos específicos", "Use OOXML by default for new files" : "Usar OOXML como predeterminado para nuevos archivos", + "Enable access for external apps" : "Habilitar acceso para aplicaciones externas", + "Add" : "Guardar", "Wrong password. Please retry." : "Contraseña incorrecta. Por favor intentalo de nuevo.", "Password" : "Contraseña", "OK" : "OK", diff --git a/l10n/et_EE.js b/l10n/et_EE.js index f492848b..5080171e 100644 --- a/l10n/et_EE.js +++ b/l10n/et_EE.js @@ -3,6 +3,7 @@ OC.L10N.register( { "Saving…" : "Salvestamine...", "All" : "Kõik", + "More versions…" : "Rohkem versioone...", "Just now" : "Kohe", "Save" : "Salvesta", "Edit" : "Muuda", diff --git a/l10n/et_EE.json b/l10n/et_EE.json index cba29786..ff6474f1 100644 --- a/l10n/et_EE.json +++ b/l10n/et_EE.json @@ -1,6 +1,7 @@ { "translations": { "Saving…" : "Salvestamine...", "All" : "Kõik", + "More versions…" : "Rohkem versioone...", "Just now" : "Kohe", "Save" : "Salvesta", "Edit" : "Muuda", diff --git a/l10n/fa.js b/l10n/fa.js index bd84363c..cdf712c6 100644 --- a/l10n/fa.js +++ b/l10n/fa.js @@ -9,7 +9,7 @@ OC.L10N.register( "Apply" : "اعمال", "Wrong password. Please retry." : "رمز اشتباه. لطفاً مجددا تکرار فرمایید.", "Password" : "گذرواژه", - "OK" : "باشه", + "OK" : "تایید", "Guest %s" : "میهمان %s", "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "این لینک منقضی شده یا اینکه هرگز وجود نداشته است. لطفاً از کسی که آن را با شما به اشتراک گذاشته جزئیات را جویا شوید." }, diff --git a/l10n/fa.json b/l10n/fa.json index 6b7f891a..9f7f3080 100644 --- a/l10n/fa.json +++ b/l10n/fa.json @@ -7,7 +7,7 @@ "Apply" : "اعمال", "Wrong password. Please retry." : "رمز اشتباه. لطفاً مجددا تکرار فرمایید.", "Password" : "گذرواژه", - "OK" : "باشه", + "OK" : "تایید", "Guest %s" : "میهمان %s", "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "این لینک منقضی شده یا اینکه هرگز وجود نداشته است. لطفاً از کسی که آن را با شما به اشتراک گذاشته جزئیات را جویا شوید." },"pluralForm" :"nplurals=1; plural=0;" diff --git a/l10n/fi.js b/l10n/fi.js index f95f9d1b..cff95fbb 100644 --- a/l10n/fi.js +++ b/l10n/fi.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Tallennetaan...", + "Saving..." : "Tallennetaan...", "All" : "Kaikki", "Download this revision" : "Lataa tämä versio", "Restore this revision" : "Palauta tähän versioon", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online -palvelin", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL-osoite (ja portti) Collabora Online -palvelimelle, joka tarjoaa mukkaustoiminnot WOPI-asiakkaana.", "Apply" : "Toteuta", - "Enable edit for specific groups" : "Salli muokkaus tietyille ryhmille", "Use OOXML by default for new files" : "Käytä OOXML:ää oletuksena uusille tiedostoille", + "Enable access for external apps" : "Salli pääsy ulkoisten sovellusten osalta", + "Add" : "Lisää", "Wrong password. Please retry." : "Väärä salasana. Yritä uudelleen.", "Password" : "Salasana", "OK" : "OK", diff --git a/l10n/fi.json b/l10n/fi.json index 06beea96..473523b8 100644 --- a/l10n/fi.json +++ b/l10n/fi.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Tallennetaan...", + "Saving..." : "Tallennetaan...", "All" : "Kaikki", "Download this revision" : "Lataa tämä versio", "Restore this revision" : "Palauta tähän versioon", @@ -27,8 +28,9 @@ "Collabora Online server" : "Collabora Online -palvelin", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL-osoite (ja portti) Collabora Online -palvelimelle, joka tarjoaa mukkaustoiminnot WOPI-asiakkaana.", "Apply" : "Toteuta", - "Enable edit for specific groups" : "Salli muokkaus tietyille ryhmille", "Use OOXML by default for new files" : "Käytä OOXML:ää oletuksena uusille tiedostoille", + "Enable access for external apps" : "Salli pääsy ulkoisten sovellusten osalta", + "Add" : "Lisää", "Wrong password. Please retry." : "Väärä salasana. Yritä uudelleen.", "Password" : "Salasana", "OK" : "OK", diff --git a/l10n/fr.js b/l10n/fr.js index 4e09f22e..abefdc8e 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Enregistrement…", + "Saving..." : "Enregistrement en cours…", "All" : "Tout", "Download this revision" : "Télécharger cette révision", "Restore this revision" : "Restaurer cette révision", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Serveur Collabora en ligne", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Adresse (et port) du serveur Collabora en ligne qui fourni la fonctionnalité d'édition comme un client WOPI.", "Apply" : "Appliquer", - "Enable edit for specific groups" : "Activer les modifications pour certains groupes", "Use OOXML by default for new files" : "Utiliser le format OOXML par défaut pour les nouveaux fichiers", + "Enable access for external apps" : "Activer l'accès depuis des applications externes", + "Add" : "Ajouter", "Wrong password. Please retry." : "Mot de passe erroné. Merci de réessayer.", "Password" : "Mot de passe", "OK" : "OK", diff --git a/l10n/fr.json b/l10n/fr.json index 4ffa8ff6..5a0c4208 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Enregistrement…", + "Saving..." : "Enregistrement en cours…", "All" : "Tout", "Download this revision" : "Télécharger cette révision", "Restore this revision" : "Restaurer cette révision", @@ -27,8 +28,9 @@ "Collabora Online server" : "Serveur Collabora en ligne", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Adresse (et port) du serveur Collabora en ligne qui fourni la fonctionnalité d'édition comme un client WOPI.", "Apply" : "Appliquer", - "Enable edit for specific groups" : "Activer les modifications pour certains groupes", "Use OOXML by default for new files" : "Utiliser le format OOXML par défaut pour les nouveaux fichiers", + "Enable access for external apps" : "Activer l'accès depuis des applications externes", + "Add" : "Ajouter", "Wrong password. Please retry." : "Mot de passe erroné. Merci de réessayer.", "Password" : "Mot de passe", "OK" : "OK", diff --git a/l10n/hu.js b/l10n/hu.js index 00e7ce99..671b8673 100644 --- a/l10n/hu.js +++ b/l10n/hu.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Mentés...", + "Saving..." : "Mentés...", "All" : "Mind", "Download this revision" : "Jelen verzió letöltése", "Restore this revision" : "Jelen verzió visszaállítása", @@ -30,6 +31,8 @@ OC.L10N.register( "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "A Collabora Online kiszolgáló URL-je (és portja), amely WOPI-ügyfélként lehetővé teszi a szerkesztés funkciót.", "Apply" : "Alkalmaz", "Use OOXML by default for new files" : "OOXML használata alapértelmezettként az új fájlokhoz", + "Enable access for external apps" : "Külső alkalmazások hozzáférésének engedélyezése", + "Add" : "Hozzáadás", "Wrong password. Please retry." : "Hibás jelszó. Próbálkozzon újra!", "Password" : "Jelszó", "OK" : "OK", diff --git a/l10n/hu.json b/l10n/hu.json index fca90326..4dd7e78c 100644 --- a/l10n/hu.json +++ b/l10n/hu.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Mentés...", + "Saving..." : "Mentés...", "All" : "Mind", "Download this revision" : "Jelen verzió letöltése", "Restore this revision" : "Jelen verzió visszaállítása", @@ -28,6 +29,8 @@ "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "A Collabora Online kiszolgáló URL-je (és portja), amely WOPI-ügyfélként lehetővé teszi a szerkesztés funkciót.", "Apply" : "Alkalmaz", "Use OOXML by default for new files" : "OOXML használata alapértelmezettként az új fájlokhoz", + "Enable access for external apps" : "Külső alkalmazások hozzáférésének engedélyezése", + "Add" : "Hozzáadás", "Wrong password. Please retry." : "Hibás jelszó. Próbálkozzon újra!", "Password" : "Jelszó", "OK" : "OK", diff --git a/l10n/is.js b/l10n/is.js index 8dbd4d64..d602e522 100644 --- a/l10n/is.js +++ b/l10n/is.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Er að vista ...", + "Saving..." : "Er að vista ...", "All" : "Allt", "Download this revision" : "Sækja þessa útgáfu", "Restore this revision" : "Endurheimta þessa útgáfu", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online þjónn", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL-slóð (og gátt) Collabora Online þjónsins sem gefur út breytingaeigindi sem WOPI-biðlari.", "Apply" : "Virkja", - "Enable edit for specific groups" : "Leyfa breytingar fyrir sérstaka hópa", "Use OOXML by default for new files" : "Nota OOXML sjálfgefið fyrir nýjar skrár", + "Enable access for external apps" : "Virkja fyrir utanaðkomandi forrit", + "Add" : "Bæta við", "Wrong password. Please retry." : "Rangt lykilorð. Reyndu aftur.", "Password" : "Lykilorð", "OK" : "Í lagi", diff --git a/l10n/is.json b/l10n/is.json index c2a59a9d..50f2c0d0 100644 --- a/l10n/is.json +++ b/l10n/is.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Er að vista ...", + "Saving..." : "Er að vista ...", "All" : "Allt", "Download this revision" : "Sækja þessa útgáfu", "Restore this revision" : "Endurheimta þessa útgáfu", @@ -27,8 +28,9 @@ "Collabora Online server" : "Collabora Online þjónn", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL-slóð (og gátt) Collabora Online þjónsins sem gefur út breytingaeigindi sem WOPI-biðlari.", "Apply" : "Virkja", - "Enable edit for specific groups" : "Leyfa breytingar fyrir sérstaka hópa", "Use OOXML by default for new files" : "Nota OOXML sjálfgefið fyrir nýjar skrár", + "Enable access for external apps" : "Virkja fyrir utanaðkomandi forrit", + "Add" : "Bæta við", "Wrong password. Please retry." : "Rangt lykilorð. Reyndu aftur.", "Password" : "Lykilorð", "OK" : "Í lagi", diff --git a/l10n/it.js b/l10n/it.js index b671e545..80719998 100644 --- a/l10n/it.js +++ b/l10n/it.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Salvataggio in corso...", + "Saving..." : "Salvataggio in corso...", "All" : "Tutti", "Download this revision" : "Scarica questa revisione", "Restore this revision" : "Ripristina questa revisione", @@ -29,8 +30,11 @@ OC.L10N.register( "Collabora Online server" : "Server Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "L'URL (e la porta) del server Collabora Online che fornisce la funzionalità di modifica come un client WOPI.", "Apply" : "Applica", - "Enable edit for specific groups" : "Abilita la modifica per gruppi specifici", + "Restrict usage to specific groups" : "Limita l'utilizzo a gruppi specifici", + "Restrict edit to specific groups" : "Limita la modifica a gruppi specifici", "Use OOXML by default for new files" : "Utilizza OOXML in modo predefinito per i nuovi file", + "Enable access for external apps" : "Abilita l'accesso per le applicazioni esterne", + "Add" : "Aggiungi", "Wrong password. Please retry." : "Password errata. Riprova.", "Password" : "Password", "OK" : "OK", diff --git a/l10n/it.json b/l10n/it.json index 3823c061..5a4a15db 100644 --- a/l10n/it.json +++ b/l10n/it.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Salvataggio in corso...", + "Saving..." : "Salvataggio in corso...", "All" : "Tutti", "Download this revision" : "Scarica questa revisione", "Restore this revision" : "Ripristina questa revisione", @@ -27,8 +28,11 @@ "Collabora Online server" : "Server Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "L'URL (e la porta) del server Collabora Online che fornisce la funzionalità di modifica come un client WOPI.", "Apply" : "Applica", - "Enable edit for specific groups" : "Abilita la modifica per gruppi specifici", + "Restrict usage to specific groups" : "Limita l'utilizzo a gruppi specifici", + "Restrict edit to specific groups" : "Limita la modifica a gruppi specifici", "Use OOXML by default for new files" : "Utilizza OOXML in modo predefinito per i nuovi file", + "Enable access for external apps" : "Abilita l'accesso per le applicazioni esterne", + "Add" : "Aggiungi", "Wrong password. Please retry." : "Password errata. Riprova.", "Password" : "Password", "OK" : "OK", diff --git a/l10n/ja.js b/l10n/ja.js index f7052e18..65a831ec 100644 --- a/l10n/ja.js +++ b/l10n/ja.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "保存中...", + "Saving..." : "保存中...", "All" : "すべて", "Download this revision" : "このリビジョンをダウンロード", "Restore this revision" : "このリビジョンを復元", @@ -29,7 +30,6 @@ OC.L10N.register( "Collabora Online server" : "コラボラ オンライン サーバー", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "WOPI クライアントで編集できる機能を提供するコラボラ オンライン サーバーのURL(とポート)", "Apply" : "適用", - "Enable edit for specific groups" : "特定のグループの編集を有効にする", "Use OOXML by default for new files" : "新しいファイルでは、デフォルトでOOXMLを使用する", "Wrong password. Please retry." : "パスワードが間違っています。もう一度入力してください。", "Password" : "パスワード", diff --git a/l10n/ja.json b/l10n/ja.json index 38211820..ea6d452e 100644 --- a/l10n/ja.json +++ b/l10n/ja.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "保存中...", + "Saving..." : "保存中...", "All" : "すべて", "Download this revision" : "このリビジョンをダウンロード", "Restore this revision" : "このリビジョンを復元", @@ -27,7 +28,6 @@ "Collabora Online server" : "コラボラ オンライン サーバー", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "WOPI クライアントで編集できる機能を提供するコラボラ オンライン サーバーのURL(とポート)", "Apply" : "適用", - "Enable edit for specific groups" : "特定のグループの編集を有効にする", "Use OOXML by default for new files" : "新しいファイルでは、デフォルトでOOXMLを使用する", "Wrong password. Please retry." : "パスワードが間違っています。もう一度入力してください。", "Password" : "パスワード", diff --git a/l10n/ka_GE.js b/l10n/ka_GE.js new file mode 100644 index 00000000..d0df181c --- /dev/null +++ b/l10n/ka_GE.js @@ -0,0 +1,44 @@ +OC.L10N.register( + "richdocuments", + { + "Saving…" : "მიმდინარეობს შენახვა…", + "Saving..." : "მიმდინარეობს შენახვა…", + "All" : "ყველა", + "Download this revision" : "ამ რევიზიის გადმოწერა", + "Restore this revision" : "ამ რევიზიის აღდგენა", + "Latest revision" : "ბოლო რევიზია", + "More versions…" : "მეტი ვერსიები...", + "Just now" : "ამ წამს", + "Failed to revert the document to older version" : "დოკუმენტის ძველ ვერსიაზე დაბრუნება ვერ მოხერხდა", + "Save" : "შენახვა", + "Loading documents…" : "დოკუემნტების ჩატვირთვა...", + "Edit" : "რედაქტირება", + "New Document" : "ახალი დოკუმენტი", + "New Spreadsheet" : "ახალი ცხრილები", + "New Presentation" : "ახალი პრეზენტაცია", + "Could not create file" : "ფაილი ვერ შეიქმნა", + "New Document.odt" : "ახალი დოკუმენტი.odt", + "New Spreadsheet.ods" : "ახალი ცხრილები.ods", + "New Presentation.odp" : "ახალი პრეზენტაცია.odp", + "New Document.docx" : "ახალი დოკუმენტი.docx", + "New Spreadsheet.xlsx" : "ახალი ცხრილები.xlsx", + "New Presentation.pptx" : "ახალი პრეზენტაცია.pptx", + "Can't create document" : "დოკუმენტი ვერ შეიქმნა", + "Saved" : "შენახულია", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "შენახულია შეცდომით: Collabora Online უნდა იყენებდეს იგივე პროტოკოლს რომელსაც იყენებს სერვერის ინსტალაცია.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Collabora Online სერვერი", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (და პორტი) Collabora Online სერვერისა რომელიც უზრუნველყოფს WOPI client-ის მაგვარ ცვლილების ფუნქციონალს.", + "Apply" : "გამოყენება", + "Restrict usage to specific groups" : "მოხმარების აკრძალვა სპეციფიურ ჯგუფებზე", + "Restrict edit to specific groups" : "ცვლიების აკრძალვა სპეციფიურ ჯგუფებზე", + "Use OOXML by default for new files" : "ახალი ფაილებისთვის OOXML-ის საწყისად გამოყენება.", + "Enable access for external apps" : "დართეთ წვდომა გარე აპლიკაცებზე", + "Add" : "დამატება", + "Wrong password. Please retry." : "არასწორი პაროლი სცადეთ ახლიდან.", + "Password" : "პაროლი", + "OK" : "დიახ", + "Guest %s" : "სტუმარი %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "ამ ბმულს გაუვიდა ვადა ან არც არსებობდა. დეტალებისთვის გთხოვთ დაუკავშირდეთ პიროვნებას ვინც გაგიზიარათ ეს." +}, +"nplurals=1; plural=0;"); diff --git a/l10n/ka_GE.json b/l10n/ka_GE.json new file mode 100644 index 00000000..c4db9f96 --- /dev/null +++ b/l10n/ka_GE.json @@ -0,0 +1,42 @@ +{ "translations": { + "Saving…" : "მიმდინარეობს შენახვა…", + "Saving..." : "მიმდინარეობს შენახვა…", + "All" : "ყველა", + "Download this revision" : "ამ რევიზიის გადმოწერა", + "Restore this revision" : "ამ რევიზიის აღდგენა", + "Latest revision" : "ბოლო რევიზია", + "More versions…" : "მეტი ვერსიები...", + "Just now" : "ამ წამს", + "Failed to revert the document to older version" : "დოკუმენტის ძველ ვერსიაზე დაბრუნება ვერ მოხერხდა", + "Save" : "შენახვა", + "Loading documents…" : "დოკუემნტების ჩატვირთვა...", + "Edit" : "რედაქტირება", + "New Document" : "ახალი დოკუმენტი", + "New Spreadsheet" : "ახალი ცხრილები", + "New Presentation" : "ახალი პრეზენტაცია", + "Could not create file" : "ფაილი ვერ შეიქმნა", + "New Document.odt" : "ახალი დოკუმენტი.odt", + "New Spreadsheet.ods" : "ახალი ცხრილები.ods", + "New Presentation.odp" : "ახალი პრეზენტაცია.odp", + "New Document.docx" : "ახალი დოკუმენტი.docx", + "New Spreadsheet.xlsx" : "ახალი ცხრილები.xlsx", + "New Presentation.pptx" : "ახალი პრეზენტაცია.pptx", + "Can't create document" : "დოკუმენტი ვერ შეიქმნა", + "Saved" : "შენახულია", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "შენახულია შეცდომით: Collabora Online უნდა იყენებდეს იგივე პროტოკოლს რომელსაც იყენებს სერვერის ინსტალაცია.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Collabora Online სერვერი", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (და პორტი) Collabora Online სერვერისა რომელიც უზრუნველყოფს WOPI client-ის მაგვარ ცვლილების ფუნქციონალს.", + "Apply" : "გამოყენება", + "Restrict usage to specific groups" : "მოხმარების აკრძალვა სპეციფიურ ჯგუფებზე", + "Restrict edit to specific groups" : "ცვლიების აკრძალვა სპეციფიურ ჯგუფებზე", + "Use OOXML by default for new files" : "ახალი ფაილებისთვის OOXML-ის საწყისად გამოყენება.", + "Enable access for external apps" : "დართეთ წვდომა გარე აპლიკაცებზე", + "Add" : "დამატება", + "Wrong password. Please retry." : "არასწორი პაროლი სცადეთ ახლიდან.", + "Password" : "პაროლი", + "OK" : "დიახ", + "Guest %s" : "სტუმარი %s", + "This link has been expired or is never existed. Please contact the person who shared it with you for details." : "ამ ბმულს გაუვიდა ვადა ან არც არსებობდა. დეტალებისთვის გთხოვთ დაუკავშირდეთ პიროვნებას ვინც გაგიზიარათ ეს." +},"pluralForm" :"nplurals=1; plural=0;" +} \ No newline at end of file diff --git a/l10n/lt_LT.js b/l10n/lt_LT.js index 629c3ef9..1d4f01be 100644 --- a/l10n/lt_LT.js +++ b/l10n/lt_LT.js @@ -23,6 +23,9 @@ OC.L10N.register( "New Presentation.pptx" : "Nauja pateiktis.pptx", "Can't create document" : "Nepavyksta sukurti dokumento", "Saved" : "Įrašyta", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Įrašyta su klaida: Collabora Online turėtų naudoti tokį patį protokolą kaip ir serverio diegimas.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Collabora Online serveris", "Apply" : "Taikyti", "Wrong password. Please retry." : "Neteisingas slaptažodis. Bandykite dar kartą.", "Password" : "Slaptažodis", diff --git a/l10n/lt_LT.json b/l10n/lt_LT.json index abb0f68e..ab5b2178 100644 --- a/l10n/lt_LT.json +++ b/l10n/lt_LT.json @@ -21,6 +21,9 @@ "New Presentation.pptx" : "Nauja pateiktis.pptx", "Can't create document" : "Nepavyksta sukurti dokumento", "Saved" : "Įrašyta", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Įrašyta su klaida: Collabora Online turėtų naudoti tokį patį protokolą kaip ir serverio diegimas.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Collabora Online serveris", "Apply" : "Taikyti", "Wrong password. Please retry." : "Neteisingas slaptažodis. Bandykite dar kartą.", "Password" : "Slaptažodis", diff --git a/l10n/nb.js b/l10n/nb.js index 0d84cc33..095c098c 100644 --- a/l10n/nb.js +++ b/l10n/nb.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Lagrer...", + "Saving..." : "Lagrer", "All" : "Alle", "Download this revision" : "Last ned denne versjonen", "Restore this revision" : "Gjenopprett denne versjonen", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online-tjener", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (og port) for den nettbaserte Collabora-tjeneren som tilbyr redigeringsfunksjonaliteten som en WOPI-klient.", "Apply" : "Bruk", - "Enable edit for specific groups" : "Skru på redigering for gitte grupper", "Use OOXML by default for new files" : "Bruk OOXML som forvalg for nye filer", + "Enable access for external apps" : "Aktiver tilgang for eksterne programmer", + "Add" : "Legg til", "Wrong password. Please retry." : "Feil passord. Prøv igjen.", "Password" : "Passord", "OK" : "OK", diff --git a/l10n/nb.json b/l10n/nb.json index f4b1c45c..46d6acfe 100644 --- a/l10n/nb.json +++ b/l10n/nb.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Lagrer...", + "Saving..." : "Lagrer", "All" : "Alle", "Download this revision" : "Last ned denne versjonen", "Restore this revision" : "Gjenopprett denne versjonen", @@ -27,8 +28,9 @@ "Collabora Online server" : "Collabora Online-tjener", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (og port) for den nettbaserte Collabora-tjeneren som tilbyr redigeringsfunksjonaliteten som en WOPI-klient.", "Apply" : "Bruk", - "Enable edit for specific groups" : "Skru på redigering for gitte grupper", "Use OOXML by default for new files" : "Bruk OOXML som forvalg for nye filer", + "Enable access for external apps" : "Aktiver tilgang for eksterne programmer", + "Add" : "Legg til", "Wrong password. Please retry." : "Feil passord. Prøv igjen.", "Password" : "Passord", "OK" : "OK", diff --git a/l10n/nl.js b/l10n/nl.js index 07c6e7cf..3cc93e46 100644 --- a/l10n/nl.js +++ b/l10n/nl.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Opslaan...", + "Saving..." : "Opslaan…", "All" : "Alle", "Download this revision" : "Download deze revisie", "Restore this revision" : "Herstel deze revisie", @@ -29,8 +30,11 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (en poort) van de Collabora Online server die de bewerkingsfunctie als WOPI client biedt.", "Apply" : "Toepassen", - "Enable edit for specific groups" : "Schakel bewerken in voor bepaalde groepen", + "Restrict usage to specific groups" : "Beperk gebruik tot bepaalde groepen", + "Restrict edit to specific groups" : "Beperk bewerken tot bepaalde groepen", "Use OOXML by default for new files" : "Gebruik standaard OOXML voor nieuwe bestanden", + "Enable access for external apps" : "Toegang vanuit externe apps toestaan", + "Add" : "Toevoegen", "Wrong password. Please retry." : "Onjuist wachtwoord. Probeer opnieuw.", "Password" : "Wachtwoord", "OK" : "OK", diff --git a/l10n/nl.json b/l10n/nl.json index 68380d22..b2587de3 100644 --- a/l10n/nl.json +++ b/l10n/nl.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Opslaan...", + "Saving..." : "Opslaan…", "All" : "Alle", "Download this revision" : "Download deze revisie", "Restore this revision" : "Herstel deze revisie", @@ -27,8 +28,11 @@ "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (en poort) van de Collabora Online server die de bewerkingsfunctie als WOPI client biedt.", "Apply" : "Toepassen", - "Enable edit for specific groups" : "Schakel bewerken in voor bepaalde groepen", + "Restrict usage to specific groups" : "Beperk gebruik tot bepaalde groepen", + "Restrict edit to specific groups" : "Beperk bewerken tot bepaalde groepen", "Use OOXML by default for new files" : "Gebruik standaard OOXML voor nieuwe bestanden", + "Enable access for external apps" : "Toegang vanuit externe apps toestaan", + "Add" : "Toevoegen", "Wrong password. Please retry." : "Onjuist wachtwoord. Probeer opnieuw.", "Password" : "Wachtwoord", "OK" : "OK", diff --git a/l10n/pl.js b/l10n/pl.js index 7a1c2e68..ce8f3b92 100644 --- a/l10n/pl.js +++ b/l10n/pl.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Zapisywanie...", + "Saving..." : "Zapisywanie...", "All" : "Wszystko", "Download this revision" : "Ściągnij tę rewizję", "Restore this revision" : "Przywróć tę rewizję", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Serwer Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Adres URL (i port) serwera Collabora Online, który dostarcza funkcjonalność edycji jako WOPI klient", "Apply" : "Zastosuj", - "Enable edit for specific groups" : "Włącz edycję tylko dla określonych grup", "Use OOXML by default for new files" : "Użyj domyślnie dla nowych plików OOXML", + "Enable access for external apps" : "Aktywuj dostęp dla zewnętrznych aplikacji", + "Add" : "Dodaj", "Wrong password. Please retry." : "Złe hasło. Spróbuj ponownie.", "Password" : "Hasło", "OK" : "OK", diff --git a/l10n/pl.json b/l10n/pl.json index 323e96d7..d5d6df81 100644 --- a/l10n/pl.json +++ b/l10n/pl.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Zapisywanie...", + "Saving..." : "Zapisywanie...", "All" : "Wszystko", "Download this revision" : "Ściągnij tę rewizję", "Restore this revision" : "Przywróć tę rewizję", @@ -27,8 +28,9 @@ "Collabora Online server" : "Serwer Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Adres URL (i port) serwera Collabora Online, który dostarcza funkcjonalność edycji jako WOPI klient", "Apply" : "Zastosuj", - "Enable edit for specific groups" : "Włącz edycję tylko dla określonych grup", "Use OOXML by default for new files" : "Użyj domyślnie dla nowych plików OOXML", + "Enable access for external apps" : "Aktywuj dostęp dla zewnętrznych aplikacji", + "Add" : "Dodaj", "Wrong password. Please retry." : "Złe hasło. Spróbuj ponownie.", "Password" : "Hasło", "OK" : "OK", diff --git a/l10n/pt_BR.js b/l10n/pt_BR.js index 68d792e1..9a6785df 100644 --- a/l10n/pt_BR.js +++ b/l10n/pt_BR.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Salvando...", + "Saving..." : "Salvando...", "All" : "Tudo", "Download this revision" : "Baixar esta revisão", "Restore this revision" : "Restaurar esta revisão", @@ -29,8 +30,11 @@ OC.L10N.register( "Collabora Online server" : "Servidor Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (e porto) do servidor Collabora Online que fornece a funcionalidade de edição como um cliente WOPI.", "Apply" : "Aplicar", - "Enable edit for specific groups" : "habilitar edição para grupos específicos", + "Restrict usage to specific groups" : "Uso restrito a grupos específicos", + "Restrict edit to specific groups" : "Edição restrita a grupos específicos", "Use OOXML by default for new files" : "Use OOXML por padrão para novos arquivos", + "Enable access for external apps" : "Habilitar acesso a aplicativos externos", + "Add" : "Adicionar", "Wrong password. Please retry." : "Senha errada. Por favor tente novamente.", "Password" : "Senha", "OK" : "OK", diff --git a/l10n/pt_BR.json b/l10n/pt_BR.json index 8f23d927..d0fbda4a 100644 --- a/l10n/pt_BR.json +++ b/l10n/pt_BR.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Salvando...", + "Saving..." : "Salvando...", "All" : "Tudo", "Download this revision" : "Baixar esta revisão", "Restore this revision" : "Restaurar esta revisão", @@ -27,8 +28,11 @@ "Collabora Online server" : "Servidor Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (e porto) do servidor Collabora Online que fornece a funcionalidade de edição como um cliente WOPI.", "Apply" : "Aplicar", - "Enable edit for specific groups" : "habilitar edição para grupos específicos", + "Restrict usage to specific groups" : "Uso restrito a grupos específicos", + "Restrict edit to specific groups" : "Edição restrita a grupos específicos", "Use OOXML by default for new files" : "Use OOXML por padrão para novos arquivos", + "Enable access for external apps" : "Habilitar acesso a aplicativos externos", + "Add" : "Adicionar", "Wrong password. Please retry." : "Senha errada. Por favor tente novamente.", "Password" : "Senha", "OK" : "OK", diff --git a/l10n/ru.js b/l10n/ru.js index a63e6f7d..d93e3de4 100644 --- a/l10n/ru.js +++ b/l10n/ru.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Сохранение…", + "Saving..." : "Сохранение...", "All" : "Все", "Download this revision" : "Скачать эту ревизию", "Restore this revision" : "Восстановить эту ревизию", @@ -16,12 +17,12 @@ OC.L10N.register( "New Spreadsheet" : "Новая таблица", "New Presentation" : "Новая презентация", "Could not create file" : "Не удалось создать файл", - "New Document.odt" : "Новый Документ.odt", - "New Spreadsheet.ods" : "Новая Таблица.ods", - "New Presentation.odp" : "Новая Презентация.odp", - "New Document.docx" : "Новый Документ.docx", - "New Spreadsheet.xlsx" : "Новая Таблица.xlsx", - "New Presentation.pptx" : "Новая Презентация.pptx", + "New Document.odt" : "Новый документ.odt", + "New Spreadsheet.ods" : "Новая таблица.ods", + "New Presentation.odp" : "Новая презентация.odp", + "New Document.docx" : "Новый документ.docx", + "New Spreadsheet.xlsx" : "Новая таблица.xlsx", + "New Presentation.pptx" : "Новая презентация.pptx", "Can't create document" : "Невозможно создать документ", "Saved" : "Сохранено", "Saved with error: Collabora Online should use the same protocol as the server installation." : "Сохранено с ошибкой: В Collabra Online должен использоваться тот же протокол, что в установке сервера.", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Сервер Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (и порт) сервера Collabora Online, который предоставляет возможность редактирования, как клиент WOPI.", "Apply" : "Применить", - "Enable edit for specific groups" : "Включить редактирование только для указанных групп", "Use OOXML by default for new files" : "Для новых файлов по умолчанию использовать OOXML", + "Enable access for external apps" : "Разрешить доступ внешним приложениям", + "Add" : "Добавить", "Wrong password. Please retry." : "Неправильный пароль. Повторите попытку.", "Password" : "Пароль", "OK" : "ОК", diff --git a/l10n/ru.json b/l10n/ru.json index 9c10ddfa..a164856e 100644 --- a/l10n/ru.json +++ b/l10n/ru.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Сохранение…", + "Saving..." : "Сохранение...", "All" : "Все", "Download this revision" : "Скачать эту ревизию", "Restore this revision" : "Восстановить эту ревизию", @@ -14,12 +15,12 @@ "New Spreadsheet" : "Новая таблица", "New Presentation" : "Новая презентация", "Could not create file" : "Не удалось создать файл", - "New Document.odt" : "Новый Документ.odt", - "New Spreadsheet.ods" : "Новая Таблица.ods", - "New Presentation.odp" : "Новая Презентация.odp", - "New Document.docx" : "Новый Документ.docx", - "New Spreadsheet.xlsx" : "Новая Таблица.xlsx", - "New Presentation.pptx" : "Новая Презентация.pptx", + "New Document.odt" : "Новый документ.odt", + "New Spreadsheet.ods" : "Новая таблица.ods", + "New Presentation.odp" : "Новая презентация.odp", + "New Document.docx" : "Новый документ.docx", + "New Spreadsheet.xlsx" : "Новая таблица.xlsx", + "New Presentation.pptx" : "Новая презентация.pptx", "Can't create document" : "Невозможно создать документ", "Saved" : "Сохранено", "Saved with error: Collabora Online should use the same protocol as the server installation." : "Сохранено с ошибкой: В Collabra Online должен использоваться тот же протокол, что в установке сервера.", @@ -27,8 +28,9 @@ "Collabora Online server" : "Сервер Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (и порт) сервера Collabora Online, который предоставляет возможность редактирования, как клиент WOPI.", "Apply" : "Применить", - "Enable edit for specific groups" : "Включить редактирование только для указанных групп", "Use OOXML by default for new files" : "Для новых файлов по умолчанию использовать OOXML", + "Enable access for external apps" : "Разрешить доступ внешним приложениям", + "Add" : "Добавить", "Wrong password. Please retry." : "Неправильный пароль. Повторите попытку.", "Password" : "Пароль", "OK" : "ОК", diff --git a/l10n/sl.js b/l10n/sl.js index 0774e367..80478ff3 100644 --- a/l10n/sl.js +++ b/l10n/sl.js @@ -1,6 +1,7 @@ OC.L10N.register( "richdocuments", { + "Saving…" : "Shranjevanje...", "Download this revision" : "Prejmi predelavo", "Restore this revision" : "Obnovi predelavo", "Latest revision" : "Najnovejša predelava", diff --git a/l10n/sl.json b/l10n/sl.json index eaa97980..ee67a6af 100644 --- a/l10n/sl.json +++ b/l10n/sl.json @@ -1,4 +1,5 @@ { "translations": { + "Saving…" : "Shranjevanje...", "Download this revision" : "Prejmi predelavo", "Restore this revision" : "Obnovi predelavo", "Latest revision" : "Najnovejša predelava", diff --git a/l10n/sq.js b/l10n/sq.js index 761e04fe..57512491 100644 --- a/l10n/sq.js +++ b/l10n/sq.js @@ -29,7 +29,6 @@ OC.L10N.register( "Collabora Online server" : "Server Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL-ja (dhe porta) e shërbyesit Collabora Online që ofron funksione përpunimi si klient WOPI.", "Apply" : "Zbatoje", - "Enable edit for specific groups" : "Mundëso editimin për grupe specifike", "Use OOXML by default for new files" : "Si parazgjedhje, përdor OOXML për kartela të reja", "Wrong password. Please retry." : "Fjalëkalim gabuar. Ju lutemi, riprovoni.", "Password" : "Fjalëkalim", diff --git a/l10n/sq.json b/l10n/sq.json index 578af272..eb59b4bf 100644 --- a/l10n/sq.json +++ b/l10n/sq.json @@ -27,7 +27,6 @@ "Collabora Online server" : "Server Collabora Online", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL-ja (dhe porta) e shërbyesit Collabora Online që ofron funksione përpunimi si klient WOPI.", "Apply" : "Zbatoje", - "Enable edit for specific groups" : "Mundëso editimin për grupe specifike", "Use OOXML by default for new files" : "Si parazgjedhje, përdor OOXML për kartela të reja", "Wrong password. Please retry." : "Fjalëkalim gabuar. Ju lutemi, riprovoni.", "Password" : "Fjalëkalim", diff --git a/l10n/sr.js b/l10n/sr.js index 7aaf698d..a5fde754 100644 --- a/l10n/sr.js +++ b/l10n/sr.js @@ -1,12 +1,40 @@ OC.L10N.register( "richdocuments", { + "Saving…" : "Снимам…", + "Saving..." : "Снимам...", + "All" : "Све", + "Download this revision" : "Скини ову ревизију", + "Restore this revision" : "Поврати ову ревизију", + "Latest revision" : "Последња ревизија", + "More versions…" : "Још верзија…", + "Just now" : "Управо сад", + "Failed to revert the document to older version" : "Грешка у враћању документа на старију верзију", "Save" : "Сачувај", + "Loading documents…" : "Учитавање докумената…", "Edit" : "Уреди", - "Could not create file" : "Не могу да створим фајл", + "New Document" : "Нови документ", + "New Spreadsheet" : "Нова табела", + "New Presentation" : "Нова презентација", + "Could not create file" : "Не могу да креирам фајл", + "New Document.odt" : "New Document.odt", + "New Spreadsheet.ods" : "New Spreadsheet.ods", + "New Presentation.odp" : "New Presentation.odp", + "New Document.docx" : "New Document.docx", + "New Spreadsheet.xlsx" : "New Spreadsheet.xlsx", + "New Presentation.pptx" : "New Presentation.pptx", "Can't create document" : "Не могу да направим документ", "Saved" : "Сачувано", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Сачувану уз грешку: Collabora Online би требало да користи исти протокол као и серверска инсталација.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Collabora Online сервер", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Адреса (и порт) Collabora Online сервера који омогућава функционалност измене као WOPI клијент.", "Apply" : "Примени", + "Restrict usage to specific groups" : "Ограничи коришћење на одређене групе", + "Restrict edit to specific groups" : "Ограничи могућност мењања на одређене групе", + "Use OOXML by default for new files" : "Користи OOXML као подразумевани за нове фајлове", + "Enable access for external apps" : "Дозволи приступ за спољне апликације", + "Add" : "Додај", "Wrong password. Please retry." : "Погрешна лозинка. Покушајте поново.", "Password" : "Лозинка", "OK" : "У реду", diff --git a/l10n/sr.json b/l10n/sr.json index ef7245c9..d84f95be 100644 --- a/l10n/sr.json +++ b/l10n/sr.json @@ -1,10 +1,38 @@ { "translations": { + "Saving…" : "Снимам…", + "Saving..." : "Снимам...", + "All" : "Све", + "Download this revision" : "Скини ову ревизију", + "Restore this revision" : "Поврати ову ревизију", + "Latest revision" : "Последња ревизија", + "More versions…" : "Још верзија…", + "Just now" : "Управо сад", + "Failed to revert the document to older version" : "Грешка у враћању документа на старију верзију", "Save" : "Сачувај", + "Loading documents…" : "Учитавање докумената…", "Edit" : "Уреди", - "Could not create file" : "Не могу да створим фајл", + "New Document" : "Нови документ", + "New Spreadsheet" : "Нова табела", + "New Presentation" : "Нова презентација", + "Could not create file" : "Не могу да креирам фајл", + "New Document.odt" : "New Document.odt", + "New Spreadsheet.ods" : "New Spreadsheet.ods", + "New Presentation.odp" : "New Presentation.odp", + "New Document.docx" : "New Document.docx", + "New Spreadsheet.xlsx" : "New Spreadsheet.xlsx", + "New Presentation.pptx" : "New Presentation.pptx", "Can't create document" : "Не могу да направим документ", "Saved" : "Сачувано", + "Saved with error: Collabora Online should use the same protocol as the server installation." : "Сачувану уз грешку: Collabora Online би требало да користи исти протокол као и серверска инсталација.", + "Collabora Online" : "Collabora Online", + "Collabora Online server" : "Collabora Online сервер", + "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Адреса (и порт) Collabora Online сервера који омогућава функционалност измене као WOPI клијент.", "Apply" : "Примени", + "Restrict usage to specific groups" : "Ограничи коришћење на одређене групе", + "Restrict edit to specific groups" : "Ограничи могућност мењања на одређене групе", + "Use OOXML by default for new files" : "Користи OOXML као подразумевани за нове фајлове", + "Enable access for external apps" : "Дозволи приступ за спољне апликације", + "Add" : "Додај", "Wrong password. Please retry." : "Погрешна лозинка. Покушајте поново.", "Password" : "Лозинка", "OK" : "У реду", diff --git a/l10n/sv.js b/l10n/sv.js index 47f9b8b9..4f261703 100644 --- a/l10n/sv.js +++ b/l10n/sv.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Sparar...", + "Saving..." : "Sparar...", "All" : "Alla", "Download this revision" : "Ladda ned denna granskning", "Restore this revision" : "Återställ denna granskning", @@ -29,8 +30,9 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (och port) av Collabora Online-servern som ger redigeringsfunktioner som WOPI klient.", "Apply" : "Tillämpa", - "Enable edit for specific groups" : "Aktivera ändring för specifika grupper", "Use OOXML by default for new files" : "Använd OOXML som standard för nya filer", + "Enable access for external apps" : "Aktivera åtkomst för externa appar", + "Add" : "Lägg till", "Wrong password. Please retry." : "Fel lösenord. Försök igen.", "Password" : "Lösenord", "OK" : "OK", diff --git a/l10n/sv.json b/l10n/sv.json index 4eee4e8c..1225c9e3 100644 --- a/l10n/sv.json +++ b/l10n/sv.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Sparar...", + "Saving..." : "Sparar...", "All" : "Alla", "Download this revision" : "Ladda ned denna granskning", "Restore this revision" : "Återställ denna granskning", @@ -27,8 +28,9 @@ "Collabora Online server" : "Collabora Online server", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "URL (och port) av Collabora Online-servern som ger redigeringsfunktioner som WOPI klient.", "Apply" : "Tillämpa", - "Enable edit for specific groups" : "Aktivera ändring för specifika grupper", "Use OOXML by default for new files" : "Använd OOXML som standard för nya filer", + "Enable access for external apps" : "Aktivera åtkomst för externa appar", + "Add" : "Lägg till", "Wrong password. Please retry." : "Fel lösenord. Försök igen.", "Password" : "Lösenord", "OK" : "OK", diff --git a/l10n/tr.js b/l10n/tr.js index 04171ada..0c74b21e 100644 --- a/l10n/tr.js +++ b/l10n/tr.js @@ -2,6 +2,7 @@ OC.L10N.register( "richdocuments", { "Saving…" : "Kaydediliyor...", + "Saving..." : "Kaydediliyor...", "All" : "Tümü", "Download this revision" : "Bu sürümü indir", "Restore this revision" : "Bu sürümü geri yükle", @@ -29,8 +30,11 @@ OC.L10N.register( "Collabora Online server" : "Collabora Online sunucusu", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Bir WOPI istemcisi olarak düzenleme işlevi sağlayan Collabora Onlie sunucusunun adresi (ve kapı numarası).", "Apply" : "Uygula", - "Enable edit for specific groups" : "Düzenlemeyi yalnız belirli gruplar için etkinleştir", + "Restrict usage to specific groups" : "Kullanımı belirli gruplarla sınırla", + "Restrict edit to specific groups" : "Düzenlemeyi belirli gruplarla sınırla", "Use OOXML by default for new files" : "Yeni dosyalar için varsayılan olarak OOXML kullanılsın", + "Enable access for external apps" : "Dış uygulamalara erişilebilsin", + "Add" : "Ekle", "Wrong password. Please retry." : "Parola yanlış. Lütfen yeniden deneyin.", "Password" : "Parola", "OK" : "Tamam", diff --git a/l10n/tr.json b/l10n/tr.json index 02d216db..a8f7886f 100644 --- a/l10n/tr.json +++ b/l10n/tr.json @@ -1,5 +1,6 @@ { "translations": { "Saving…" : "Kaydediliyor...", + "Saving..." : "Kaydediliyor...", "All" : "Tümü", "Download this revision" : "Bu sürümü indir", "Restore this revision" : "Bu sürümü geri yükle", @@ -27,8 +28,11 @@ "Collabora Online server" : "Collabora Online sunucusu", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "Bir WOPI istemcisi olarak düzenleme işlevi sağlayan Collabora Onlie sunucusunun adresi (ve kapı numarası).", "Apply" : "Uygula", - "Enable edit for specific groups" : "Düzenlemeyi yalnız belirli gruplar için etkinleştir", + "Restrict usage to specific groups" : "Kullanımı belirli gruplarla sınırla", + "Restrict edit to specific groups" : "Düzenlemeyi belirli gruplarla sınırla", "Use OOXML by default for new files" : "Yeni dosyalar için varsayılan olarak OOXML kullanılsın", + "Enable access for external apps" : "Dış uygulamalara erişilebilsin", + "Add" : "Ekle", "Wrong password. Please retry." : "Parola yanlış. Lütfen yeniden deneyin.", "Password" : "Parola", "OK" : "Tamam", diff --git a/l10n/zh_CN.js b/l10n/zh_CN.js index d6bc2a16..86bc519e 100644 --- a/l10n/zh_CN.js +++ b/l10n/zh_CN.js @@ -29,7 +29,6 @@ OC.L10N.register( "Collabora Online server" : "在线协作服务器", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "类WOPI客户端提供编辑功能在线协作服务器的网址URL (端口) ", "Apply" : "应用", - "Enable edit for specific groups" : "为特定组群开启编辑功能", "Use OOXML by default for new files" : "为新文件默认使用面向对象XML", "Wrong password. Please retry." : "密码错误,请重新尝试。", "Password" : "密码", diff --git a/l10n/zh_CN.json b/l10n/zh_CN.json index a5c5117d..dac1355e 100644 --- a/l10n/zh_CN.json +++ b/l10n/zh_CN.json @@ -27,7 +27,6 @@ "Collabora Online server" : "在线协作服务器", "URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client." : "类WOPI客户端提供编辑功能在线协作服务器的网址URL (端口) ", "Apply" : "应用", - "Enable edit for specific groups" : "为特定组群开启编辑功能", "Use OOXML by default for new files" : "为新文件默认使用面向对象XML", "Wrong password. Please retry." : "密码错误,请重新尝试。", "Password" : "密码", diff --git a/lib/Controller/DocumentController.php b/lib/Controller/DocumentController.php index 83b997d0..7dae012c 100644 --- a/lib/Controller/DocumentController.php +++ b/lib/Controller/DocumentController.php @@ -92,6 +92,66 @@ class DocumentController extends Controller { $this->logger = $logger; } + /** + * @PublicPage + * @NoCSRFRequired + * + * Returns the access_token and urlsrc for WOPI access for given $fileId + * Requests is accepted only when a secret_token is provided set by admin in + * settings page + * + * @param string $fileId + * @return access_token, urlsrc + */ + public function extAppGetData($fileId) { + $secretToken = $this->request->getParam('secret_token'); + $apps = array_filter(explode(',', $this->appConfig->getAppValue('external_apps'))); + foreach($apps as $app) { + if ($app !== '') { + if ($secretToken === $app) { + $appName = explode(':', $app); + \OC::$server->getLogger()->debug('External app "{extApp}" authenticated; issuing access token for fileId {fileId}', [ + 'app' => $this->appName, + 'extApp' => $appName[0], + 'fileId' => $fileId + ]); + try { + $folder = $this->rootFolder->getUserFolder($this->uid); + $item = $folder->getById($fileId)[0]; + if(!($item instanceof Node)) { + throw new \Exception(); + } + list($urlSrc, $token) = $this->tokenManager->getToken($item->getId()); + return array( + 'status' => 'success', + 'urlsrc' => $urlSrc, + 'token' => $token + ); + } catch (\Exception $e) { + $this->logger->logException($e, ['app'=>'richdocuments']); + $params = [ + 'remoteAddr' => $this->request->getRemoteAddress(), + 'requestID' => $this->request->getId(), + 'debugMode' => $this->settings->getSystemValue('debug'), + 'errorClass' => get_class($e), + 'errorCode' => $e->getCode(), + 'errorMsg' => $e->getMessage(), + 'file' => $e->getFile(), + 'line' => $e->getLine(), + 'trace' => $e->getTraceAsString() + ]; + return new TemplateResponse('core', 'exception', $params, 'guest'); + } + } + } + + return array( + 'status' => 'error', + 'message' => 'Permission denied' + ); + } + } + /** * @NoAdminRequired * diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php index 40bea6a2..82995dea 100644 --- a/lib/Controller/SettingsController.php +++ b/lib/Controller/SettingsController.php @@ -54,6 +54,7 @@ class SettingsController extends Controller{ return new JSONResponse([ 'wopi_url' => $this->appConfig->getAppValue('wopi_url'), 'wopi_internal_url' => $this->appConfig->getAppValue('wopi_internal_url'), + 'use_groups' => $this->appConfig->getAppValue('use_groups'), 'edit_groups' => $this->appConfig->getAppValue('edit_groups'), 'doc_format' => $this->appConfig->getAppValue('doc_format'), ]); @@ -63,13 +64,16 @@ class SettingsController extends Controller{ * @param string $wopi_url * @param string $wopi_internal_url * @param string $edit_groups + * @param string $use_groups * @param string $doc_format * @return JSONResponse */ public function setSettings($wopi_url, $wopi_internal_url, $edit_groups, - $doc_format) { + $use_groups, + $doc_format, + $external_apps) { $message = $this->l10n->t('Saved'); if ($wopi_url !== null){ @@ -89,10 +93,18 @@ class SettingsController extends Controller{ $this->appConfig->setAppValue('edit_groups', $edit_groups); } + if ($use_groups !== null){ + $this->appConfig->setAppValue('use_groups', $use_groups); + } + if ($doc_format !== null) { $this->appConfig->setAppValue('doc_format', $doc_format); } + if ($external_apps !== null) { + $this->appConfig->setAppValue('external_apps', $external_apps); + } + $this->discoveryManager->refretch(); $response = [ diff --git a/lib/Controller/WopiController.php b/lib/Controller/WopiController.php index 51425ea2..69a216ef 100644 --- a/lib/Controller/WopiController.php +++ b/lib/Controller/WopiController.php @@ -1,6 +1,6 @@ + * @copyright Copyright (c) 2016-2017 Lukas Reschke * * @license GNU AGPL version 3 or any later version * @@ -24,35 +24,51 @@ namespace OCA\Richdocuments\Controller; use OC\Files\View; use OCA\Richdocuments\Db\Wopi; use OCA\Richdocuments\Helper; -use OCA\Richdocuments\WOPI\Parser; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; use OCP\AppFramework\Http\JSONResponse; use OCP\Files\File; use OCP\Files\IRootFolder; +use OCP\IConfig; use OCP\IRequest; -use OCP\IUserManager; +use OCP\IURLGenerator; use OCP\AppFramework\Http\StreamResponse; +use OCP\IUserManager; class WopiController extends Controller { /** @var IRootFolder */ private $rootFolder; + /** @var IURLGenerator */ + private $urlGenerator; + /** @var IConfig */ + private $config; + /** @var IUserManager */ + private $userManager; // Signifies LOOL that document has been changed externally in this storage const LOOL_STATUS_DOC_CHANGED = 1010; /** * @param string $appName + * @param string $UserId * @param IRequest $request * @param IRootFolder $rootFolder - * @param string $UserId + * @param IURLGenerator $urlGenerator + * @param IConfig $config + * @param IUserManager $userManager */ public function __construct($appName, $UserId, IRequest $request, - IRootFolder $rootFolder) { + IRootFolder $rootFolder, + IURLGenerator $urlGenerator, + IConfig $config, + IUserManager $userManager) { parent::__construct($appName, $request); $this->rootFolder = $rootFolder; + $this->urlGenerator = $urlGenerator; + $this->config = $config; + $this->userManager = $userManager; } /** @@ -88,19 +104,31 @@ class WopiController extends Controller { return new JSONResponse([], Http::STATUS_FORBIDDEN); } - return new JSONResponse( - [ - 'BaseFileName' => $file->getName(), - 'Size' => $file->getSize(), - 'Version' => $version, - 'UserId' => $res['editor'] !== '' ? $res['editor'] : 'Guest user', - 'OwnerId' => $res['owner'], - 'UserFriendlyName' => $res['editor'] !== '' ? \OC_User::getDisplayName($res['editor']) : 'Guest user', - 'UserCanWrite' => $res['canwrite'] ? true : false, - 'PostMessageOrigin' => $res['server_host'], - 'LastModifiedTime' => Helper::toISO8601($file->getMtime()) - ] - ); + $response = [ + 'BaseFileName' => $file->getName(), + 'Size' => $file->getSize(), + 'Version' => $version, + 'UserId' => $res['editor'] !== '' ? $res['editor'] : 'Guest user', + 'OwnerId' => $res['owner'], + 'UserFriendlyName' => $res['editor'] !== '' ? \OC_User::getDisplayName($res['editor']) : 'Guest user', + 'UserExtraInfo' => [ + ], + 'UserCanWrite' => $res['canwrite'] ? true : false, + 'PostMessageOrigin' => $res['server_host'], + 'LastModifiedTime' => Helper::toISO8601($file->getMtime()) + ]; + + $serverVersion = $this->config->getSystemValue('version'); + if (version_compare($serverVersion, '13', '>=')) { + $user = $this->userManager->get($res['editor']); + if($user !== null) { + if($user->getAvatarImage(32) !== null) { + $response['UserExtraInfo']['avatar'] = $this->urlGenerator->linkToRouteAbsolute('core.avatar.getAvatar', ['userId' => $res['editor'], 'size' => 32]); + } + } + } + + return new JSONResponse($response); } /** diff --git a/lib/PermissionManager.php b/lib/PermissionManager.php new file mode 100644 index 00000000..d956c50c --- /dev/null +++ b/lib/PermissionManager.php @@ -0,0 +1,65 @@ + + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + +namespace OCA\Richdocuments; + +use OCP\IConfig; +use OCP\IGroupManager; +use OCP\IUser; + +class PermissionManager { + const APP_ID = 'richdocuments'; + /** @var IConfig */ + private $config; + /** @var IGroupManager */ + private $groupManager; + + public function __construct(IConfig $config, + IGroupManager $groupManager) { + $this->config = $config; + $this->groupManager = $groupManager; + } + + /** + * @param string $groupString + * @return array + */ + private function splitGroups($groupString) { + return explode('|', $groupString); + } + + public function isEnabledForUser(IUser $user) { + $enabledForGroups = $this->config->getAppValue(self::APP_ID, 'use_groups', ''); + if($enabledForGroups === '') { + return true; + } + + $groups = $this->splitGroups($enabledForGroups); + $uid = $user->getUID(); + foreach($groups as $group) { + if($this->groupManager->isInGroup($uid, $group)) { + return true; + } + } + + return false; + } +} diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php index 04e31859..d84554ae 100644 --- a/lib/Settings/Admin.php +++ b/lib/Settings/Admin.php @@ -49,7 +49,9 @@ class Admin implements ISettings { 'wopi_url' => $this->config->getAppValue('richdocuments', 'wopi_url'), 'wopi_internal_url' => $this->config->getAppValue('richdocuments', 'wopi_internal_url'), 'edit_groups' => $this->config->getAppValue('richdocuments', 'edit_groups'), + 'use_groups' => $this->config->getAppValue('richdocuments', 'use_groups'), 'doc_format' => $this->config->getAppValue('richdocuments', 'doc_format'), + 'external_apps' => $this->config->getAppValue('richdocuments', 'external_apps'), ], 'blank' ); diff --git a/templates/admin.php b/templates/admin.php index f9744a3a..f19a13c9 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -1,5 +1,6 @@

t('Collabora Online')) ?>

@@ -11,10 +12,26 @@ script('richdocuments', 'admin');

+ + + +
- +
/> +
+ /> + +
+
+ +
+ + + + +
diff --git a/tests/lib/PermissionManagerTest.php b/tests/lib/PermissionManagerTest.php new file mode 100644 index 00000000..ed498e63 --- /dev/null +++ b/tests/lib/PermissionManagerTest.php @@ -0,0 +1,118 @@ + + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + +namespace Tests\Richdocuments; + +use OCA\Richdocuments\PermissionManager; +use OCP\IConfig; +use OCP\IGroupManager; +use OCP\IUser; +use Test\TestCase; + +class PermissionManagerTest extends TestCase { + /** @var IConfig|\PHPUnit_Framework_MockObject_MockBuilder */ + private $config; + /** @var IGroupManager|\PHPUnit_Framework_MockObject_MockBuilder */ + private $groupManager; + /** @var PermissionManager */ + private $permissionManager; + + public function setUp() { + parent::setUp(); + $this->config = $this->createMock(IConfig::class); + $this->groupManager = $this->createMock(IGroupManager::class); + $this->permissionManager = new PermissionManager($this->config, $this->groupManager); + } + + public function testIsEnabledForUserEnabledNoRestrictions() { + /** @var IUser|\PHPUnit_Framework_MockObject_MockBuilder $user */ + $user = $this->createMock(IUser::class); + + $this->config + ->expects($this->once()) + ->method('getAppValue') + ->with('richdocuments', 'use_groups', '') + ->willReturn(''); + + $this->assertTrue($this->permissionManager->isEnabledForUser($user)); + } + + public function testIsEnabledForUserEnabledNotInGroup() { + /** @var IUser|\PHPUnit_Framework_MockObject_MockBuilder $user */ + $user = $this->createMock(IUser::class); + $user + ->expects($this->once()) + ->method('getUID') + ->willReturn('TestUser'); + + $this->config + ->expects($this->once()) + ->method('getAppValue') + ->with('richdocuments', 'use_groups', '') + ->willReturn('Enabled1|Enabled2|Enabled3'); + + $this->groupManager + ->expects($this->at(0)) + ->method('isInGroup') + ->with('TestUser', 'Enabled1') + ->willReturn(false); + $this->groupManager + ->expects($this->at(1)) + ->method('isInGroup') + ->with('TestUser', 'Enabled2') + ->willReturn(false); + $this->groupManager + ->expects($this->at(2)) + ->method('isInGroup') + ->with('TestUser', 'Enabled3') + ->willReturn(false); + + $this->assertFalse($this->permissionManager->isEnabledForUser($user)); + } + + public function testIsEnabledForUserEnabledInGroup() { + /** @var IUser|\PHPUnit_Framework_MockObject_MockBuilder $user */ + $user = $this->createMock(IUser::class); + $user + ->expects($this->once()) + ->method('getUID') + ->willReturn('TestUser'); + + $this->config + ->expects($this->once()) + ->method('getAppValue') + ->with('richdocuments', 'use_groups', '') + ->willReturn('Enabled1|Enabled2|Enabled3'); + + $this->groupManager + ->expects($this->at(0)) + ->method('isInGroup') + ->with('TestUser', 'Enabled1') + ->willReturn(false); + $this->groupManager + ->expects($this->at(1)) + ->method('isInGroup') + ->with('TestUser', 'Enabled2') + ->willReturn(true); + + $this->assertTrue($this->permissionManager->isEnabledForUser($user)); + } +}