From 4366a9b2bb91cbd6accb7610de4a1f1419f5a2f5 Mon Sep 17 00:00:00 2001 From: wvengen Date: Sat, 4 May 2019 12:54:06 +0200 Subject: [PATCH] Move translations to documents plugin --- config/locales/de.yml | 27 ------------------ config/locales/en.yml | 21 -------------- config/locales/es.yml | 24 ---------------- config/locales/fr.yml | 24 ---------------- config/locales/nl.yml | 24 ---------------- plugins/documents/config/locales/es.yml | 32 +++++++++++++++++++++ plugins/documents/config/locales/fr.yml | 38 +++++++++++++++++++++++++ plugins/documents/config/locales/nl.yml | 32 +++++++++++++++++++++ 8 files changed, 102 insertions(+), 120 deletions(-) create mode 100644 plugins/documents/config/locales/es.yml create mode 100644 plugins/documents/config/locales/fr.yml create mode 100644 plugins/documents/config/locales/nl.yml diff --git a/config/locales/de.yml b/config/locales/de.yml index 2fabd74c..4d98842e 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -37,12 +37,6 @@ de: delivered_on: Lieferdatum note: Notiz supplier: Lieferantin - document: - created_at: Erstellt am - created_by: Erstellt von - data: Daten - mime: MIME-Typ - name: Name financial_transaction: amount: Betrag created_on: Datum @@ -570,7 +564,6 @@ de: currency_space: Leerzeichen beim Währungssymbol hinzufügen. currency_unit: Währungssymbol zur Anzeige von Preisen. custom_css: Um das Layout der Seite anzupassen, kannst Du CSS verwenden. Kann leer gelassen werden, um den Standard Stil zu verwenden. - documents_allowed_extension: Eine Liste an erlaubten Dateiendungen getrennt durch Leerzeichen. email_from: E-Mails werden so aussehen, als ob sie von dieser Adresse gesendet wurden. Kann leer gelassen werden, um die Kontaktadresse der Foodcoop zu benutzen. email_replyto: Setze diese Adresse, wenn Du Antworten auf Foodsoft E-Mails auf eine andere, als die oben angegebene Absenderadresse bekommen möchtest. email_sender: E-Mails werden so aussehen, als ob sie von dieser Adresse versendet wurden. Um zu vermeiden, dass E-Mails dadurch als Spam eingeordnet werden, muss der Webserver möglicherweise im SPF Eintrag der Domain der E-Mail Adresse eingetragen werden. @@ -603,7 +596,6 @@ de: tolerance_is_costly: Eine möglichst große Menge im Rahmen der Tolerenz bestellen. Wenn dies nicht aktiviert ist, wird im Rahmen der Toleranz nur so viel bestellt, dass damit komplette Einheiten (Boxen) bestellt werden können. Die Option wirkt sich auch auf die Toleranz des Gesamtpreises einer offenen Mitgliederbestellung aus. use_apple_points: Wenn das Apfel Punktesystem aktiviert ist, ist es erforderlich, dass Mitglieder Aufgaben erledigen um bestellen zu können. use_boxfill: Wenn aktiviert, können Benutzer nahe am Ende der Bestellung diese nur mehr so verändern, dass sich die Gesamtsumme erhöht. Dies hilft beim auffüllen der verbleibenden Kisten. Es muss trotzdem noch das Kistenauffülldatum bei der Bestellung gesetzt werden. - use_documents: Einfache Dokumentenverwaltung aktivieren use_iban: Zusätzlich Feld für die internationale Kontonummer bei Benutzern und Lieferanten anzeigen use_messages: Den Mitgliedern erlauben, miteinander innerhalb Foodsoft zu kommunizieren use_nick: Benutzernamen anstatt reale Namen zeigen und verwenden, jeder Benutzer muss dazu einen Benutzernamen (Spitznamen) haben. @@ -624,7 +616,6 @@ de: custom_css: Angepasstes CSS default_locale: Standardsprache disable_invite: Einladungen deaktivieren - documents_allowed_extension: Erlaubte Endungen email_from: Absenderadresse email_replyto: Antwortadresse email_sender: Senderadresse @@ -661,7 +652,6 @@ de: tolerance_is_costly: Bestelltoleranz maximal ausnutzen, um möglichst große Mengen zu bestellen use_apple_points: Apfelpunkte verwenden use_boxfill: Kistenauffüllphase - use_documents: Dokumente verwenden use_iban: IBAN verwenden use_messages: Nachrichten use_nick: Benutzernamen verwenden @@ -724,22 +714,6 @@ de: invalid_signature: Ungültige Signature logged_in: Angemeldet! documents: - create: - error: 'Dokument oder Ordner konnte nicht erstellt werden: %{error}' - not_allowed_mime: Der Dateityp "%{mime}" ist nicht erlaubt. Bitte kontaktiere einen Administrator um ihn freizuschalten. - notice: Dokument oder Ordner wurde erstellt - destroy: - error: 'Dokument oder Ordner konnt nicht gelöscht werden: %{error}' - no_right: Du hast nicht genügend Rechte um die Datei oder den Ordner zu löschen - notice: Dokument oder Ordner wurde gelöscht - form: - new: Neues Dokument - new_folder: Neuer Ordner - submit: Erstellen - index: - new: Neues Dokument anlegen - new_folder: Neuen Ordner anlegen - title: Dokumente order_by_articles: filename: Bestellung %{name}-%{date} - Artikelsortierung title: 'Artikelsortierung der Bestellung: %{name}, beendet am %{date}' @@ -1398,7 +1372,6 @@ de: suppliers: Lieferanten/Artikel title: Artikel dashboard: Dashboard - documents: Dokumente finances: accounts: Konten verwalten balancing: Bestellungen abrechnen diff --git a/config/locales/en.yml b/config/locales/en.yml index de211afc..786c4cc3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -573,7 +573,6 @@ en: currency_space: Whether to add whitespace after the currency symbol. currency_unit: Currency symbol for displaying prices. custom_css: To modify the layout of this site, you can enter style modifications using the cascading stylesheets (CSS) language. Leave blank for the default style. - documents_allowed_extension: A list of allowed filename extensions separated by spaces. email_from: Emails will appear to be from this email address. Leave empty to use the foodcoop's contact address. email_replyto: Set this when you want to receive replies from emails sent by Foodsoft on a different address than the above. email_sender: Emails will appear to be sent from this email address. To avoid emails sent being classified as spam, the webserver may need to be registered in the SPF record of the email address's domain. @@ -606,7 +605,6 @@ en: tolerance_is_costly: Order as much of the member tolerance as possible (compared to only as much needed to fill the last box). Enabling this also includes the tolerance in the total price of the open member order. use_apple_points: When the apple point system is enabled, members are required to do some tasks to be able to keep ordering. use_boxfill: When enabled, near end of an order, members are only able to change their order when increases the total amount ordered. This helps to fill any remaining boxes. You still need to set a box-fill date for the orders. - use_documents: Add a basic document sharing page to the foodcoop menu. use_iban: When enabled, supplier and user provide an additonal field for storing the international bank account number. use_messages: Allow members to communicate with each other within Foodsoft. use_nick: Show and use nicknames instead of real names. When enabling this, please check that each user has a nickname. @@ -627,7 +625,6 @@ en: custom_css: Custom CSS default_locale: Default language disable_invite: Disable invites - documents_allowed_extension: Allowed extensions email_from: From address email_replyto: Reply-to address email_sender: Sender address @@ -664,7 +661,6 @@ en: tolerance_is_costly: Tolerance is costly use_apple_points: Apple points use_boxfill: Box-fill phase - use_documents: Enable documents use_iban: Use IBAN use_messages: Messages use_nick: Use nicknames @@ -722,22 +718,6 @@ en: update: notice: Delivery was updated. documents: - create: - error: 'Document or folder could not be created: %{error}' - not_allowed_mime: The filetype "%{mime}" is not allowed. Please contact an administrator to whitelist it. - notice: Document or folder was created - destroy: - error: 'Document or folder could not be deleted: %{error}' - no_right: You do not have enough rights to delete the document or folder - notice: Document or folder was deleted - form: - new: New Document - new_folder: new Folder - submit: Create - index: - new: Upload new document - new_folder: Create new folder - title: Documents order_by_articles: filename: Order %{name}-%{date} - by articles title: 'Order sorted by articles: %{name}, closed at %{date}' @@ -1418,7 +1398,6 @@ en: suppliers: Suppliers/articles title: Articles dashboard: Dashboard - documents: Documents finances: accounts: Manage accounts balancing: Account orders diff --git a/config/locales/es.yml b/config/locales/es.yml index 79c821bd..c4df5337 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -37,12 +37,6 @@ es: delivered_on: Fecha entrega note: Note supplier: Proveedor - document: - created_at: Creado en - created_by: Creado por - data: Datos - mime: Tipo MIME - name: Nombre financial_transaction: amount: Importe created_on: Fecha @@ -547,7 +541,6 @@ es: currency_space: Agregar un espacio después del símbolo de moneda. currency_unit: Símbolo de moneda para mostrar precios. custom_css: Para modificar el diseño de este sitio, puedes ingresar modificaciones del estilo utilizando CSS. Dejar en blanco para usar el estilo por defecto. - documents_allowed_extension: Una lista de extensiones de archivo permitidas, separadas por espacios. email_from: Los emails aparecerán provenientes de esta dirección. Dejar en blanco para usar la dirección de contacto de la cooperativa. email_replyto: Ingresa esta dato cuando quieres recibir respuesta de los correos enviados por Foodsoft a una dirección diferente a la de arriba. email_sender: Los emails aparecerán como enviados por esta dirección. Para evitar que tus mensajes sean clasificados como spam, el servidor web podría tener que ser registrado en el record SPF del dominio de la dirección de correo. @@ -580,7 +573,6 @@ es: tolerance_is_costly: Pide lo que más permita la tolerancia de los miembros (en lugar de sólo lo necesario para llenar la última caja). Permitir esto también incluye la tolerancia en el precio final del pedido abierto de cada miembro. use_apple_points: Cuando el sistema de puntos-manzana está habilitado los miembros deberán realizar algunas tareas para poder hacer pedidos. use_boxfill: Cuando está activado, cerca del cierre de un pedido los miembros no podrán cambiar su pedido a menos que se incremente el valor pedido total. Esto ayudará a llenar las cajas que faltan. Igualmente deberás decidir una fecha de llenado de cajas para los pedidos. - use_documents: Agregar una página básica de compartir documentos al menú de la cooperativa. use_iban: Cuando esta opción está habilitada, el proveedor y el usuario pueden guardan también su número de cuenta bancaria internacional (IBAN). use_messages: Permitir que los miembros de comuniquen unos con otros dentro de Foodsoft. use_nick: Muestra y utiliza apodos en lugar de nombres reales. Cuando activas esto debes chequear que todos los usuarios tengan apodo. @@ -601,7 +593,6 @@ es: custom_css: CSS adicional default_locale: Idioma por defecto disable_invite: Desactivar invitaciones - documents_allowed_extension: Extensiones permitidas email_from: Dirección de email de origen email_replyto: Dirección reply-to email_sender: Dirección del remitente @@ -633,7 +624,6 @@ es: tolerance_is_costly: La tolerancia es prioritaria use_apple_points: Puntos-manzana use_boxfill: Fase de llenar las cajas - use_documents: Activar documentos use_iban: Usar IBAN use_messages: Mensajes use_nick: Usa apodos @@ -689,19 +679,6 @@ es: update: notice: El envío ha sido actualizado. documents: - create: - error: 'El documento no puede ser creado: %{error}' - not_allowed_mime: - notice: Se ha creado el documento - destroy: - error: 'El documento no puede ser borrado: %{error}' - no_right: No puedes borrar este documento - notice: Se ha borrado el documento - form: - new: Nuevo Documento - index: - new: Sube nuevo documento - title: Documentos order_by_articles: filename: Pedido %{name}-%{date} - por artículos title: 'Pedido ordenado por artículos: %{name}, cerrado el %{date}' @@ -1340,7 +1317,6 @@ es: suppliers: Proveedores/artículos title: Artículos dashboard: Escritorio - documents: Documentos finances: accounts: Administrar cuentas balancing: Pedidos de cuenta diff --git a/config/locales/fr.yml b/config/locales/fr.yml index ae7feba3..a097cd75 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -37,12 +37,6 @@ fr: delivered_on: Date de réapprovisionnement note: Note supplier: Fournisseur-e - document: - created_at: Créé le - created_by: Crée par - data: - mime: - name: Nom financial_transaction: amount: Montant created_on: Date @@ -543,7 +537,6 @@ fr: currency_space: currency_unit: custom_css: - documents_allowed_extension: email_from: email_replyto: email_sender: @@ -576,7 +569,6 @@ fr: tolerance_is_costly: use_apple_points: use_boxfill: - use_documents: use_iban: use_messages: use_nick: @@ -597,7 +589,6 @@ fr: custom_css: default_locale: disable_invite: - documents_allowed_extension: email_from: email_replyto: email_sender: @@ -629,7 +620,6 @@ fr: tolerance_is_costly: use_apple_points: use_boxfill: - use_documents: use_iban: use_messages: Messages use_nick: @@ -685,19 +675,6 @@ fr: update: notice: La commande a été actualisée documents: - create: - error: - not_allowed_mime: - notice: - destroy: - error: - no_right: - notice: - index: - new: - title: Documents - new: - title: order_by_articles: filename: Commande %{name}-%{date} - Trier par title: 'Ordre des produits pour la commande: %{name}, clôturée le %{date}' @@ -1341,7 +1318,6 @@ fr: suppliers: Annuaire title: Produits dashboard: Tableau de bord - documents: Documents finances: accounts: Crédits des cellules balancing: Décompte des commandes diff --git a/config/locales/nl.yml b/config/locales/nl.yml index fdb96ca5..c084e9ea 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -37,12 +37,6 @@ nl: delivered_on: Leverdatum note: Notitie supplier: Leverancier - document: - created_at: Upload op - created_by: Upload door - data: Data - mime: MIME-type - name: Naam financial_transaction: amount: Bedrag created_on: Datum @@ -543,7 +537,6 @@ nl: currency_space: Spatie toevoegen na valutasymbool. currency_unit: Valutasymbool voor het tonen van prijzen. custom_css: De layout van deze site kan gewijzigd worden door hier cascading stylesheets (CSS) in te voeren. Laat het leeg voor de standaardstijl. - documents_allowed_extension: Lijst van toegestane bestandsextensies, gescheiden door spaties. email_from: Emails zullen lijken verzonden te zijn vanaf dit email adres. Laat het veld leeg om het contactadres van de foodcoop te gebruiken. email_replyto: Vul dit in als je antwoord op mails van Foodsoft wilt ontvangen op een ander adres dan het bovenstaande. email_sender: Emails worden verzonden vanaf dit emailadres. Om te voorkomen dat emails als spam worden tegengehouden, is het te adviseren het adres van de webserver op te nemen in het SPF record van het email domein. @@ -576,7 +569,6 @@ nl: tolerance_is_costly: Bestel zoveel artikelen als mogelijk in de tolerantie (in plaats van net genoeg om de laatste doos te vullen). Dit zorgt er ook voor dat de tolerantie in de prijs van open ledenbestellingen wordt meegenomen. use_apple_points: Wanneer het appelpunten systeem is geactiveerd, kunnen leden slechts bestellen wanneer ze meewerken aan taken. use_boxfill: Wanneer dit aan staat, kunnen gebruikers aan het einde van de bestelfase hun bestelling alleen wijzigen als het de totale bestelling vergroot. Dit helpt om dozen te vullen. Bij de bestelling moet nog wel de dozen-vul-datum ingevuld worden. - use_documents: Geeft een simpele manier om documenten te delen in het foodcoop menu. use_iban: Om leverancier en gebruiker een extra veld te geven voor het internationale bankrekeningnummer (IBAN). use_messages: Laat leden met elkaar communiceren door middel van berichten binnen Foodsoft. use_nick: Toon bijnamen in plaats van volledige naam. Controleer dat iedereen een bijnaam heeft wanneer je dit aanzet. @@ -597,7 +589,6 @@ nl: custom_css: Aangepaste CSS default_locale: Standaardtaal disable_invite: Uitnodigingen deactiveren - documents_allowed_extension: Toegestane extensies email_from: From adres email_replyto: Reply-to adres email_sender: Sender adres @@ -629,7 +620,6 @@ nl: tolerance_is_costly: Tolerantie is duur use_apple_points: Appelpunten use_boxfill: Dozen vullen fase - use_documents: Documenten delen use_iban: IBAN gebruiken use_messages: Berichten use_nick: Bijnamen gebruiken @@ -686,19 +676,6 @@ nl: update: notice: Levering is bijgewerkt. documents: - create: - error: 'Document kon niet gemaakt worden: %{error}' - not_allowed_mime: Het bestandstype "%{mime}" is niet toegestaan. Vraag de systeembeheerder het toe te staan. - notice: Document is gemaakt - destroy: - error: 'Document kon niet verwijderd worden: %{error}' - no_right: Je hebt niet genoeg rechten om het document te verwijderen - notice: Document is verwijderd - form: - title: Nieuw document - index: - new: Nieuw document uploaden - title: Documenten order_by_articles: filename: Bestelling %{name}-%{date} - Artikellijst title: 'Artikellijst van bestelling: %{name}, gesloten op %{date}' @@ -1348,7 +1325,6 @@ nl: suppliers: Leveranciers/producten title: Producten dashboard: Dashboard - documents: Documenten finances: accounts: Ledenbetalingen balancing: Bestellingen afrekenen diff --git a/plugins/documents/config/locales/es.yml b/plugins/documents/config/locales/es.yml new file mode 100644 index 00000000..7ee8aaf2 --- /dev/null +++ b/plugins/documents/config/locales/es.yml @@ -0,0 +1,32 @@ +es: + activerecord: + attributes: + document: + created_at: Creado en + created_by: Creado por + data: Datos + mime: Tipo MIME + name: Nombre + config: + hints: + documents_allowed_extension: Una lista de extensiones de archivo permitidas, separadas por espacios. + use_documents: Agregar una página básica de compartir documentos al menú de la cooperativa. + keys: + documents_allowed_extension: Extensiones permitidas + use_documents: Activar documentos + navigation: + documents: Documentos + documents: + create: + error: 'El documento no puede ser creado: %{error}' + not_allowed_mime: + notice: Se ha creado el documento + destroy: + error: 'El documento no puede ser borrado: %{error}' + no_right: No puedes borrar este documento + notice: Se ha borrado el documento + form: + new: Nuevo Documento + index: + new: Sube nuevo documento + title: Documentos diff --git a/plugins/documents/config/locales/fr.yml b/plugins/documents/config/locales/fr.yml new file mode 100644 index 00000000..9b6be2e8 --- /dev/null +++ b/plugins/documents/config/locales/fr.yml @@ -0,0 +1,38 @@ +fr: + activerecord: + attributes: + document: + created_at: Créé le + created_by: Crée par + data: + mime: + name: Nom + config: + hints: + documents_allowed_extension: + use_documents: + keys: + documents_allowed_extension: + use_documents: + navigation: + documents: Documents + documents: + create: + error: + not_allowed_mime: + notice: + destroy: + error: + no_right: + notice: + index: + new: + title: Documents + multiple_orders_by_articles: + filename: + title: + multiple_orders_by_groups: + filename: + title: + new: + title: diff --git a/plugins/documents/config/locales/nl.yml b/plugins/documents/config/locales/nl.yml new file mode 100644 index 00000000..1bac0128 --- /dev/null +++ b/plugins/documents/config/locales/nl.yml @@ -0,0 +1,32 @@ +nl: + activerecord: + attributes: + document: + created_at: Upload op + created_by: Upload door + data: Data + mime: MIME-type + name: Naam + config: + hints: + documents_allowed_extension: Lijst van toegestane bestandsextensies, gescheiden door spaties. + use_documents: Geeft een simpele manier om documenten te delen in het foodcoop menu. + keys: + documents_allowed_extension: Toegestane extensies + use_documents: Documenten delen + navigation: + documents: Documenten + documents: + create: + error: 'Document kon niet gemaakt worden: %{error}' + not_allowed_mime: Het bestandstype "%{mime}" is niet toegestaan. Vraag de systeembeheerder het toe te staan. + notice: Document is gemaakt + destroy: + error: 'Document kon niet verwijderd worden: %{error}' + no_right: Je hebt niet genoeg rechten om het document te verwijderen + notice: Document is verwijderd + form: + title: Nieuw document + index: + new: Nieuw document uploaden + title: Documenten