Skip to content

Commit

Permalink
imp: Explain that Markdown and tags can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
marienfressinaud committed Oct 31, 2024
1 parent b8e5554 commit 0010f42
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 18 deletions.
Binary file modified locales/fr_FR/LC_MESSAGES/main.mo
Binary file not shown.
53 changes: 35 additions & 18 deletions locales/fr_FR/LC_MESSAGES/main.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: Flus\n"
"POT-Creation-Date: 2024-10-31 16:01+0100\n"
"PO-Revision-Date: 2024-10-31 16:01+0100\n"
"POT-Creation-Date: 2024-10-31 18:43+0100\n"
"PO-Revision-Date: 2024-10-31 18:43+0100\n"
"Last-Translator: Marien Fressinaud <dev@marienfressinaud.fr>\n"
"Language-Team: \n"
"Language: fr_FR\n"
Expand Down Expand Up @@ -681,11 +681,11 @@ msgid "Next page"
msgstr "Page suivante"

#: views/alerts/_error.phtml:3 views/collections/edit.phtml:50
#: views/collections/edit.phtml:76 views/collections/edit.phtml:90
#: views/collections/edit.phtml:76 views/collections/edit.phtml:94
#: views/collections/groups/edit.phtml:96
#: views/collections/images/edit.phtml:60 views/collections/links/new.phtml:41
#: views/collections/new.phtml:49 views/collections/new.phtml:75
#: views/collections/new.phtml:89 views/collections/shares/index.phtml:53
#: views/collections/new.phtml:93 views/collections/shares/index.phtml:53
#: views/collections/shares/index.phtml:101 views/feeds/new.phtml:42
#: views/groups/edit.phtml:44 views/importations/opml/show.phtml:103
#: views/links/collections/index.phtml:36
Expand Down Expand Up @@ -839,22 +839,26 @@ msgstr "Sa description"

#: views/collections/edit.phtml:61 views/collections/new.phtml:60
#: views/links/collections/index.phtml:115
#: views/links/collections/index.phtml:148 views/my/security/show.phtml:52
#: views/links/collections/index.phtml:157 views/my/security/show.phtml:52
msgid "(optional)"
msgstr "(optionnel)"

#: views/collections/edit.phtml:85
#: views/collections/edit.phtml:82 views/collections/new.phtml:81
msgid "You can format the description in Markdown."
msgstr "Vous pouvez formater la description en Markdown."

#: views/collections/edit.phtml:89
msgid "Its topics"
msgstr "Ses thématiques"

#: views/collections/edit.phtml:126 views/collections/new.phtml:125
#: views/collections/edit.phtml:130 views/collections/new.phtml:129
msgid "Show the collection publicly"
msgstr "Afficher la collection publiquement"

#: views/collections/edit.phtml:132 views/collections/filters/edit.phtml:90
#: views/collections/edit.phtml:136 views/collections/filters/edit.phtml:90
#: views/collections/groups/edit.phtml:105 views/groups/edit.phtml:53
#: views/links/edit.phtml:82 views/mastodon/show.phtml:86
#: views/messages/edit.phtml:53 views/my/preferences/edit.phtml:99
#: views/messages/edit.phtml:61 views/my/preferences/edit.phtml:99
#: views/my/profile/edit.phtml:101 views/my/security/show.phtml:94
msgid "Save changes"
msgstr "Enregistrer les modifications"
Expand Down Expand Up @@ -989,11 +993,11 @@ msgstr "Comment voulez-vous nommer cette collection ?"
msgid "What’s the purpose of this collection?"
msgstr "Quelle est la raison d’être de cette collection ?"

#: views/collections/new.phtml:84
#: views/collections/new.phtml:88
msgid "What topics will be covered?"
msgstr "Quelles thématiques seront abordées ?"

#: views/collections/new.phtml:131
#: views/collections/new.phtml:135
msgid "Create the collection"
msgstr "Créer la collection"

Expand Down Expand Up @@ -1541,7 +1545,7 @@ msgid "Read later"
msgstr "Lire plus tard"

#: views/links/_link.phtml:375 views/links/_link.phtml:379
#: views/links/collections/index.phtml:181
#: views/links/collections/index.phtml:199
msgid "Store the link"
msgstr "Ranger le lien"

Expand All @@ -1561,16 +1565,29 @@ msgstr "Vous avez déjà commenté ce lien."
msgid "Anything else to add?"
msgstr "Des choses à ajouter ?"

#: views/links/collections/index.phtml:137
#: views/links/collections/index.phtml:170 views/links/show.phtml:233
#: views/links/collections/index.phtml:129
#: views/links/collections/index.phtml:171 views/links/show.phtml:223
#: views/messages/edit.phtml:51
msgid "You can format your comment in Markdown and use #tags."
msgstr ""
"Vous pouvez formater votre commentaire en Markdown et utiliser des #tags."

#: views/links/collections/index.phtml:131
#: views/links/collections/index.phtml:173 views/links/show.phtml:225
#: views/messages/edit.phtml:53
msgid "You can format your comment in Markdown."
msgstr "Vous pouvez formater votre commentaire en Markdown."

#: views/links/collections/index.phtml:146
#: views/links/collections/index.phtml:188 views/links/show.phtml:241
msgid "Share on Mastodon"
msgstr "Partager vers Mastodon"

#: views/links/collections/index.phtml:146 views/links/show.phtml:198
#: views/links/collections/index.phtml:155 views/links/show.phtml:198
msgid "What do you think?"
msgstr "Qu’en pensez-vous ?"

#: views/links/collections/index.phtml:179
#: views/links/collections/index.phtml:197
msgid "Store the link and mark as read"
msgstr "Ranger le lien et marquer comme lu"

Expand Down Expand Up @@ -1699,11 +1716,11 @@ msgstr "(ouvre une nouvelle fenêtre)"
msgid "Are you sure that you want to delete this message?"
msgstr "Êtes-vous sur·e de vouloir supprimer ce message ?"

#: views/links/show.phtml:240
#: views/links/show.phtml:248
msgid "Comment"
msgstr "Commenter"

#: views/links/show.phtml:247
#: views/links/show.phtml:255
msgid "This link being hidden, the comments are private."
msgstr "Ce lien étant masqué, les commentaires sont privés."

Expand Down
4 changes: 4 additions & 0 deletions src/views/collections/edit.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
<?= $errors['description'] ?>
</p>
<?php endif; ?>

<p class="form-group__caption">
<?= _('You can format the description in Markdown.') ?>
</p>
</div>
</div>

Expand Down
4 changes: 4 additions & 0 deletions src/views/collections/new.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
<?= $errors['description'] ?>
</p>
<?php endif; ?>

<p class="form-group__caption">
<?= _('You can format the description in Markdown.') ?>
</p>
</div>
</div>

Expand Down
18 changes: 18 additions & 0 deletions src/views/links/collections/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,16 @@
name="comment"
data-controller="text-editor"
data-action="text-editor#refresh keyup->autosave#save"
aria-describedby="comment-desc"
><?= $comment ?></textarea>

<p class="form-group__caption" id="comment-desc">
<?php if ($beta_enabled): ?>
<?= _('You can format your comment in Markdown and use #tags.') ?>
<?php else: ?>
<?= _('You can format your comment in Markdown.') ?>
<?php endif; ?>
</p>
</div>

<?php if ($mastodon_configured): ?>
Expand Down Expand Up @@ -154,7 +163,16 @@
name="comment"
data-controller="text-editor"
data-action="text-editor#refresh keyup->autosave#save"
aria-describedby="comment-desc"
><?= $comment ?></textarea>

<p class="form-group__caption" id="comment-desc">
<?php if ($beta_enabled): ?>
<?= _('You can format your comment in Markdown and use #tags.') ?>
<?php else: ?>
<?= _('You can format your comment in Markdown.') ?>
<?php endif; ?>
</p>
</div>

<?php if ($mastodon_configured): ?>
Expand Down
8 changes: 8 additions & 0 deletions src/views/links/show.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@
<?= $errors['content'] ?>
</p>
<?php endif; ?>

<p class="form-group__caption">
<?php if ($beta_enabled): ?>
<?= _('You can format your comment in Markdown and use #tags.') ?>
<?php else: ?>
<?= _('You can format your comment in Markdown.') ?>
<?php endif; ?>
</p>
</div>
</div>

Expand Down
8 changes: 8 additions & 0 deletions src/views/messages/edit.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
<?= $errors['content'] ?>
</p>
<?php endif; ?>

<p class="form-group__caption">
<?php if ($beta_enabled): ?>
<?= _('You can format your comment in Markdown and use #tags.') ?>
<?php else: ?>
<?= _('You can format your comment in Markdown.') ?>
<?php endif; ?>
</p>
</div>
</div>

Expand Down

0 comments on commit 0010f42

Please sign in to comment.