nfdi4plants/dataplan

Minor format issues.

Closed this issue · 2 comments

To manage placeholders, commas, and conjunctions effectively in sentences, ensure placeholders fit seamlessly without causing punctuation conflicts. Use commas to separate items and "and" before the last item in a list. Design placeholders to avoid ending with punctuation unless contextually necessary. Implement conditional logic to handle punctuation correctly based on the number of placeholders, ensuring smooth sentence flow. For instance, join multiple placeholders with commas and "and" appropriately, and adjust punctuation to avoid issues like double periods or misplaced commas. This careful design and logic will help maintain proper formatting and readability in dynamically generated text.

For example:
$_PLACEHOLDER1 $_PLACEHOLDER2 $_PLACEHOLDER3 .
where

$_PLACEHOLDER1 = placeholder1,
$_PLACEHOLDER2 = placeholder2,
$_PLACEHOLDER3 = and placeholder3

will turn into
placeholder, placeholder2, and placeholder3 .
But if $_PLACEHOLDER3 is deselected, then the sentence becomes
placeholder, placeholder2,

This need a

  1. list management wrapper on all the lists
    or
  2. final touch to remove the ",." and ", "

Update has been finished. Some minor issues such as new lines and unrecognized webp in word will be fixed tomorrow.

All bugs are fixed and new features are also tested.