NOW MANAGED ON CODEBERG
#47 - Added translations for other language files using Google translate.
Abijeet4efe3b41da59
diff --git a/resources/assets/js/directives.js b/resources/assets/js/directives.jsindex bbf87adda..16d1ad2a4 100644--- a/resources/assets/js/directives.js+++ b/resources/assets/js/directives.js@@ -936,12 +936,12 @@ module.exports = function (ngApp, events) {element.on('click', function(e) {e.preventDefault();- var resp = $window.confirm(trans('entities.comment_delete_confirm'));- if (!resp) {- return;- }+ var resp = $window.confirm(trans('entities.comment_delete_confirm'));+ if (!resp) {+ return;+ }- ctrl.delete(scope.comment);+ ctrl.delete(scope.comment);});}};diff --git a/resources/lang/de/entities.php b/resources/lang/de/entities.phpindex c9feb8497..5d7d5cdde 100644--- a/resources/lang/de/entities.php+++ b/resources/lang/de/entities.php@@ -213,4 +213,27 @@ return ['profile_not_created_pages' => ':userName hat bisher keine Seiten angelegt.','profile_not_created_chapters' => ':userName hat bisher keine Kapitel angelegt.','profile_not_created_books' => ':userName hat bisher keine Bücher angelegt.',++ /**+ * Comnents+ */+ 'comment' => 'Kommentar',+ 'comments' => 'Kommentare',+ 'comment_placeholder' => 'Geben Sie hier Ihre Kommentare ein, Markdown unterstützt ...',+ 'no_comments' => 'Keine Kommentare',+ 'x_comments' => ':numComments Kommentare',+ 'one_comment' => '1 Kommentar',+ 'comments_loading' => 'Laden ...',+ 'comment_save' => 'Kommentar speichern',+ 'comment_reply' => 'Antworten',+ 'comment_edit' => 'Bearbeiten',+ 'comment_delete' => 'Löschen',+ 'comment_cancel' => 'Abbrechen',+ 'comment_created' => 'Kommentar hinzugefügt',+ 'comment_updated' => 'Kommentar aktualisiert',+ 'comment_deleted' => 'Kommentar gelöscht',+ 'comment_updated_text' => 'Aktualisiert vor :updateDiff von',+ 'comment_delete_confirm' => 'Damit wird der Inhalt des Kommentars entfernt. Bist du sicher, dass du diesen Kommentar löschen möchtest?',+ 'comment_create' => 'Erstellt'+];\ No newline at end of filediff --git a/resources/lang/de/errors.php b/resources/lang/de/errors.phpindex e085d9915..ff045d628 100644--- a/resources/lang/de/errors.php+++ b/resources/lang/de/errors.php@@ -67,4 +67,11 @@ return ['error_occurred' => 'Es ist ein Fehler aufgetreten','app_down' => ':appName befindet sich aktuell im Wartungsmodus.','back_soon' => 'Wir werden so schnell wie möglich wieder online sein.',++ // Comments+ 'comment_list' => 'Beim Abrufen der Kommentare ist ein Fehler aufgetreten.',+ 'cannot_add_comment_to_draft' => 'Du kannst keine Kommentare zu einem Entwurf hinzufügen.',+ 'comment_add' => 'Beim Hinzufügen des Kommentars ist ein Fehler aufgetreten.',+ 'comment_delete' => 'Beim Löschen des Kommentars ist ein Fehler aufgetreten.',+ 'empty_comment' => 'Kann keinen leeren Kommentar hinzufügen',];diff --git a/resources/lang/en/entities.php b/resources/lang/en/entities.phpindex 65fba069f..43053df10 100644--- a/resources/lang/en/entities.php+++ b/resources/lang/en/entities.php@@ -254,5 +254,7 @@ return ['comment_updated' => 'Comment updated','comment_deleted' => 'Comment deleted','comment_updated_text' => 'Updated :updateDiff by',- 'comment_delete_confirm' => 'This will remove the contents of the comment. Are you sure you want to delete this comment?'+ 'comment_delete_confirm' => 'This will remove the contents of the comment. Are you sure you want to delete this comment?',+ 'comment_create' => 'Created'+];\ No newline at end of filediff --git a/resources/lang/es/entities.php b/resources/lang/es/entities.phpindex d6b2810bc..aadfa2324 100644--- a/resources/lang/es/entities.php+++ b/resources/lang/es/entities.php@@ -214,4 +214,26 @@ return ['profile_not_created_pages' => ':userName no ha creado ninguna página','profile_not_created_chapters' => ':userName no ha creado ningún capítulo','profile_not_created_books' => ':userName no ha creado ningún libro',++ /**+ * Comments+ */+ 'comment' => 'Comentario',+ 'comments' => 'Comentarios',+ 'comment_placeholder' => 'Introduzca sus comentarios aquí, markdown supported ...',+ 'no_comments' => 'No hay comentarios',+ 'x_comments' => ':numComments Comentarios',+ 'one_comment' => '1 Comentario',+ 'comments_loading' => 'Cargando ...',+ 'comment_save' => 'Guardar comentario',+ 'comment_reply' => 'Responder',+ 'comment_edit' => 'Editar',+ 'comment_delete' => 'Eliminar',+ 'comment_cancel' => 'Cancelar',+ 'comment_created' => 'Comentario añadido',+ 'comment_updated' => 'Comentario actualizado',+ 'comment_deleted' => 'Comentario eliminado',+ 'comment_updated_text' => 'Actualizado hace :updateDiff minutos por',+ 'comment_delete_confirm' => 'Esto eliminará el contenido del comentario. ¿Estás seguro de que quieres eliminar este comentario?',+ 'comment_create' => 'Creado'];diff --git a/resources/lang/es/errors.php b/resources/lang/es/errors.phpindex 1e39a3cb8..e488b6a1b 100644--- a/resources/lang/es/errors.php+++ b/resources/lang/es/errors.php@@ -67,4 +67,11 @@ return ['error_occurred' => 'Ha ocurrido un error','app_down' => 'La aplicación :appName se encuentra caída en este momento','back_soon' => 'Volverá a estar operativa en corto tiempo.',++ // Comments+ 'comment_list' => 'Se ha producido un error al buscar los comentarios.',+ 'cannot_add_comment_to_draft' => 'No puedes añadir comentarios a un borrador.',+ 'comment_add' => 'Se ha producido un error al añadir el comentario.',+ 'comment_delete' => 'Se ha producido un error al eliminar el comentario.',+ 'empty_comment' => 'No se puede agregar un comentario vacío.',];diff --git a/resources/lang/fr/entities.php b/resources/lang/fr/entities.phpindex 5562fb0fd..c618bab08 100644--- a/resources/lang/fr/entities.php+++ b/resources/lang/fr/entities.php@@ -213,4 +213,26 @@ return ['profile_not_created_pages' => ':userName n\'a pas créé de pages','profile_not_created_chapters' => ':userName n\'a pas créé de chapitres','profile_not_created_books' => ':userName n\'a pas créé de livres',++ /**+ * Comments+ */+ 'comment' => 'Commentaire',+ 'comments' => 'Commentaires',+ 'comment_placeholder' => 'Entrez vos commentaires ici, merci supporté ...',+ 'no_comments' => 'No Comments',+ 'x_comments' => ':numComments Commentaires',+ 'one_comment' => '1 Commentaire',+ 'comments_loading' => 'Loading ...',+ 'comment_save' => 'Enregistrer le commentaire',+ 'comment_reply' => 'Répondre',+ 'comment_edit' => 'Modifier',+ 'comment_delete' => 'Supprimer',+ 'comment_cancel' => 'Annuler',+ 'comment_created' => 'Commentaire ajouté',+ 'comment_updated' => 'Commentaire mis à jour',+ 'comment_deleted' => 'Commentaire supprimé',+ 'comment_updated_text' => 'Mis à jour il y a :updateDiff par',+ 'comment_delete_confirm' => 'Cela supprime le contenu du commentaire. Êtes-vous sûr de vouloir supprimer ce commentaire?',+ 'comment_create' => 'Créé'];diff --git a/resources/lang/fr/errors.php b/resources/lang/fr/errors.phpindex 72af89f7f..402eeb405 100644--- a/resources/lang/fr/errors.php+++ b/resources/lang/fr/errors.php@@ -67,4 +67,11 @@ return ['error_occurred' => 'Une erreur est survenue','app_down' => ':appName n\'est pas en service pour le moment','back_soon' => 'Nous serons bientôt de retour.',++ // comments+ 'comment_list' => 'Une erreur s\'est produite lors de la récupération des commentaires.',+ 'cannot_add_comment_to_draft' => 'Vous ne pouvez pas ajouter de commentaires à un projet.',+ 'comment_add' => 'Une erreur s\'est produite lors de l\'ajout du commentaire.',+ 'comment_delete' => 'Une erreur s\'est produite lors de la suppression du commentaire.',+ 'empty_comment' => 'Impossible d\'ajouter un commentaire vide.',];diff --git a/resources/lang/nl/entities.php b/resources/lang/nl/entities.phpindex d6975e130..6df9e5dd9 100644--- a/resources/lang/nl/entities.php+++ b/resources/lang/nl/entities.php@@ -214,4 +214,26 @@ return ['profile_not_created_pages' => ':userName heeft geen pagina\'s gemaakt','profile_not_created_chapters' => ':userName heeft geen hoofdstukken gemaakt','profile_not_created_books' => ':userName heeft geen boeken gemaakt',++ /**+ * Comments+ */+ 'comment' => 'Commentaar',+ 'comments' => 'Commentaren',+ 'comment_placeholder' => 'Vul hier uw reacties in, markdown ondersteund ...',+ 'no_comments' => 'No Comments',+ 'x_comments' => ':numComments Opmerkingen',+ 'one_comment' => '1 commentaar',+ 'comments_loading' => 'Loading ...',+ 'comment_save' => 'Opslaan opslaan',+ 'comment_reply' => 'Antwoord',+ 'comment_edit' => 'Bewerken',+ 'comment_delete' => 'Verwijderen',+ 'comment_cancel' => 'Annuleren',+ 'comment_created' => 'Opmerking toegevoegd',+ 'comment_updated' => 'Opmerking bijgewerkt',+ 'comment_deleted' => 'Opmerking verwijderd',+ 'comment_updated_text' => 'Bijgewerkt :updateDiff geleden door',+ 'comment_delete_confirm' => 'Hiermee verwijdert u de inhoud van de reactie. Weet u zeker dat u deze reactie wilt verwijderen?',+ 'comment_create' => 'Gemaakt'];\ No newline at end of filediff --git a/resources/lang/nl/errors.php b/resources/lang/nl/errors.phpindex f8b635bce..b8fab59fd 100644--- a/resources/lang/nl/errors.php+++ b/resources/lang/nl/errors.php@@ -67,4 +67,11 @@ return ['error_occurred' => 'Er Ging Iets Fout','app_down' => ':appName is nu niet beschikbaar','back_soon' => 'Komt snel weer online.',++ // Comments+ 'comment_list' => 'Er is een fout opgetreden tijdens het ophalen van de reacties.',+ 'cannot_add_comment_to_draft' => 'U kunt geen reacties toevoegen aan een ontwerp.',+ 'comment_add' => 'Er is een fout opgetreden tijdens het toevoegen van de reactie.',+ 'comment_delete' => 'Er is een fout opgetreden tijdens het verwijderen van de reactie.',+ 'empty_comment' => 'Kan geen lege reactie toevoegen.',];\ No newline at end of filediff --git a/resources/lang/pt_BR/entities.php b/resources/lang/pt_BR/entities.phpindex 5a965fe62..e6b900fdd 100644--- a/resources/lang/pt_BR/entities.php+++ b/resources/lang/pt_BR/entities.php@@ -214,4 +214,26 @@ return ['profile_not_created_pages' => ':userName não criou páginas','profile_not_created_chapters' => ':userName não criou capítulos','profile_not_created_books' => ':userName não criou livros',++ /**+ * Comments+ */+ 'comentário' => 'Comentário',+ 'comentários' => 'Comentários',+ 'comment_placeholder' => 'Digite seus comentários aqui, markdown suportado ...',+ 'no_comments' => 'No Comments',+ 'x_comments' => ':numComments Comentários',+ 'one_comment' => '1 comentário',+ 'comments_loading' => 'Carregando ....',+ 'comment_save' => 'Salvar comentário',+ 'comment_reply' => 'Responder',+ 'comment_edit' => 'Editar',+ 'comment_delete' => 'Excluir',+ 'comment_cancel' => 'Cancelar',+ 'comment_created' => 'Comentário adicionado',+ 'comment_updated' => 'Comentário atualizado',+ 'comment_deleted' => 'Comentário eliminado',+ 'comment_updated_text' => 'Atualizado :updatedDiff atrás por',+ 'comment_delete_confirm' => 'Isso removerá o conteúdo do comentário. Tem certeza de que deseja excluir esse comentário?',+ 'comment_create' => 'Criada'];\ No newline at end of filediff --git a/resources/lang/pt_BR/errors.php b/resources/lang/pt_BR/errors.phpindex 91b85e3ef..16fc78ff5 100644--- a/resources/lang/pt_BR/errors.php+++ b/resources/lang/pt_BR/errors.php@@ -67,4 +67,11 @@ return ['error_occurred' => 'Um erro ocorreu','app_down' => ':appName está fora do ar no momento','back_soon' => 'Voltaremos em seguida.',++ // comments+ 'comment_list' => 'Ocorreu um erro ao buscar os comentários.',+ 'cannot_add_comment_to_draft' => 'Você não pode adicionar comentários a um rascunho.',+ 'comment_add' => 'Ocorreu um erro ao adicionar o comentário.',+ 'comment_delete' => 'Ocorreu um erro ao excluir o comentário.',+ 'empty_comment' => 'Não é possível adicionar um comentário vazio.',];\ No newline at end of filediff --git a/resources/lang/sk/entities.php b/resources/lang/sk/entities.phpindex e70864753..8a3aa4df6 100644--- a/resources/lang/sk/entities.php+++ b/resources/lang/sk/entities.php@@ -223,4 +223,26 @@ return ['profile_not_created_pages' => ':userName nevytvoril žiadne stránky','profile_not_created_chapters' => ':userName nevytvoril žiadne kapitoly','profile_not_created_books' => ':userName nevytvoril žiadne knihy',++ /**+ *+ */+ 'comment' => 'Komentár',+ 'comments' => 'Komentáre',+ 'comment_placeholder' => 'Tu zadajte svoje pripomienky, podporované označenie ...',+ 'no_comments' => 'No Comments',+ 'x_comments' => ':numComments komentárov',+ 'one_comment' => '1 komentár',+ 'comments_loading' => 'Loading ..',+ 'comment_save' => 'Uložiť komentár',+ 'comment_reply' => 'Odpovedať',+ 'comment_edit' => 'Upraviť',+ 'comment_delete' => 'Odstrániť',+ 'comment_cancel' => 'Zrušiť',+ 'comment_created' => 'Pridaný komentár',+ 'comment_updated' => 'Komentár aktualizovaný',+ 'comment_deleted' => 'Komentár bol odstránený',+ 'comment_updated_text' => 'Aktualizované pred :updateDiff',+ 'comment_delete_confirm' => 'Tým sa odstráni obsah komentára. Naozaj chcete odstrániť tento komentár?',+ 'comment_create' => 'Vytvorené'];diff --git a/resources/lang/sk/errors.php b/resources/lang/sk/errors.phpindex e3420852a..d4c7b7a3a 100644--- a/resources/lang/sk/errors.php+++ b/resources/lang/sk/errors.php@@ -67,4 +67,11 @@ return ['error_occurred' => 'Nastala chyba','app_down' => ':appName je momentálne nedostupná','back_soon' => 'Čoskoro bude opäť dostupná.',++ // comments+ 'comment_list' => 'Pri načítaní komentárov sa vyskytla chyba',+ 'cannot_add_comment_to_draft' => 'Do konceptu nemôžete pridávať komentáre.',+ 'comment_add' => 'Počas pridávania komentára sa vyskytla chyba',+ 'comment_delete' => 'Pri odstraňovaní komentára došlo k chybe',+ 'empty_comment' => 'Nelze pridať prázdny komentár.',];diff --git a/resources/views/comments/list-item.blade.php b/resources/views/comments/list-item.blade.phpindex 391e64baf..f274d2ed2 100644--- a/resources/views/comments/list-item.blade.php+++ b/resources/views/comments/list-item.blade.php@@ -17,7 +17,7 @@<li ng-if="::(level < 3 && vm.canComment())"><a href="#" comment-reply-link no-comment-reply-dupe="true" comment="comment" is-reply="true">{{ trans('entities.comment_reply') }}</a></li><li ng-if="::vm.canEditDelete(comment, 'comment_update')"><a href="#" comment-reply-link no-comment-reply-dupe="true" comment="comment" >{{ trans('entities.comment_edit') }}</a></li><li ng-if="::vm.canEditDelete(comment, 'comment_delete')"><a href="#" comment-delete-link comment="comment" >{{ trans('entities.comment_delete') }}</a></li>- <li>Created <a title="@{{::comment.created.day_time_str}}" href="#?cm=comment-@{{::pageId}}-@{{::comment.id}}">@{{::comment.created.diff}}</a></li>+ <li>{{ trans('entities.comment_create') }} <a title="@{{::comment.created.day_time_str}}" href="#?cm=comment-@{{::pageId}}-@{{::comment.id}}">@{{::comment.created.diff}}</a></li><li ng-if="::comment.updated"><span title="@{{::comment.updated.day_time_str}}">@{{ ::vm.trans('entities.comment_updated_text', { updateDiff: comment.updated.diff }) }}<a href="@{{::comment.updated_by.profile_url}}">@{{::comment.updated_by.name}}</a></span></li></ul>