Skip to content

Build your personal knowledge base with Trilium Notes

fix(react/dialogs): dollar signs in help tooltips

Elian Doran5cd7e4707a6c
diff --git a/apps/client/src/widgets/bulk_actions/label/update_label_value.tsx b/apps/client/src/widgets/bulk_actions/label/update_label_value.tsx
index 76165836be..4da79076e0 100644
--- a/apps/client/src/widgets/bulk_actions/label/update_label_value.tsx
+++ b/apps/client/src/widgets/bulk_actions/label/update_label_value.tsx
@@ -16,9 +16,9 @@ function UpdateLabelValueComponent({ bulkAction, actionDef }: { bulkAction: Abst
bulkAction={bulkAction}
label={t("update_label_value.update_label_value")}
helpText={<>
- <p>${t("update_label_value.help_text")}</p>
+ <p>{t("update_label_value.help_text")}</p>
- ${t("update_label_value.help_text_note")}
+ {t("update_label_value.help_text_note")}
</>}
>
<FormTextBox
diff --git a/apps/client/src/widgets/bulk_actions/note/move_note.tsx b/apps/client/src/widgets/bulk_actions/note/move_note.tsx
index 5e9945bbb2..ac5829305e 100644
--- a/apps/client/src/widgets/bulk_actions/note/move_note.tsx
+++ b/apps/client/src/widgets/bulk_actions/note/move_note.tsx
@@ -17,12 +17,12 @@ function MoveNoteBulkActionComponent({ bulkAction, actionDef }: { bulkAction: Ab
bulkAction={bulkAction}
label={t("move_note.move_note")}
helpText={<>
- <p>${t("move_note.on_all_matched_notes")}:</p>
+ <p>{t("move_note.on_all_matched_notes")}:</p>
<ul style="margin-bottom: 0;">
- <li>${t("move_note.move_note_new_parent")}</li>
- <li>${t("move_note.clone_note_new_parent")}</li>
- <li>${t("move_note.nothing_will_happen")}</li>
+ <li>{t("move_note.move_note_new_parent")}</li>
+ <li>{t("move_note.clone_note_new_parent")}</li>
+ <li>{t("move_note.nothing_will_happen")}</li>
</ul>
</>}
>