Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client: Translate attribute editor placeholder
Elian Doran9b6148dec3da
diff --git a/src/public/app/widgets/attribute_widgets/attribute_editor.js b/src/public/app/widgets/attribute_widgets/attribute_editor.jsindex aa86ec5cc3..cb843bf981 100644--- a/src/public/app/widgets/attribute_widgets/attribute_editor.js+++ b/src/public/app/widgets/attribute_widgets/attribute_editor.js@@ -175,7 +175,7 @@ const editorConfig = {toolbar: {items: []},- placeholder: "Type the labels and relations here",+ placeholder: t("attribute_editor.placeholder"),mention: mentionSetup};diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.jsonindex 8b96ebf42f..8a1e108b3a 100644--- a/src/public/translations/en/translation.json+++ b/src/public/translations/en/translation.json@@ -408,7 +408,8 @@"add_new_label": "Add new label <kbd data-command=\"addNewLabel\"></kbd>","add_new_relation": "Add new relation <kbd data-command=\"addNewRelation\"></kbd>","add_new_label_definition": "Add new label definition",- "add_new_relation_definition": "Add new relation definition"+ "add_new_relation_definition": "Add new relation definition",+ "placeholder": "Type the labels and relations here"},"abstract_bulk_action": {"remove_this_search_action": "Remove this search action"diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.jsonindex 74d005cfb8..f057c3600d 100644--- a/src/public/translations/ro/translation.json+++ b/src/public/translations/ro/translation.json@@ -237,7 +237,8 @@"help_text_body1": "Pentru a adăuga o etichetă doar scrieți, spre exemplu, <code>#piatră</code> sau <code>#an = 2020</code> dacă se dorește adăugarea unei valori","help_text_body2": "Pentru relații, scrieți <code>author = @</code> ce va afișa o autocompletare pentru identificarea notiței dorite.","help_text_body3": "În mod alternativ, se pot adăuga etichete și relații utilizând butonul <code>+</code> din partea dreaptă.",- "save_attributes": "Salvează atributele <enter>"+ "save_attributes": "Salvează atributele <enter>",+ "placeholder": "Aici puteți introduce etichete și relații"},"backend_log": {"refresh": "Reîmprospătare"