Merge 'upstream/master' and 'multihost_tor' into 'master'
commit
a43eaaad55
@ -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);");
|
@ -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);"
|
||||
}
|
@ -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);");
|
@ -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);"
|
||||
}
|
@ -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);");
|
@ -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);"
|
||||
}
|
@ -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);");
|
@ -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);"
|
||||
}
|
@ -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;");
|
@ -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;"
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/**
|
||||
* @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch>
|
||||
*
|
||||
* @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 <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch>
|
||||
*
|
||||
* @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 <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue