benwbrum / fromthepage

FromThePage is a wiki-like application for crowdsourcing transcription of handwritten documents.
http://fromthepage.com
GNU Affero General Public License v3.0
171 stars 53 forks source link

missing message shows up as "unused" in i18n-tasks unused #3912

Open saracarl opened 10 months ago

saracarl commented 10 months ago

To solve this:

Screenshot 2024-01-04 at 12 18 47 PM

I added that message: https://github.com/benwbrum/fromthepage/pull/3905/files

But now i18n shows that message as unused:

benwbrum@sparckjones:~/dev/products/fromthepage/fromthepage$ i18n-tasks unused

warning: parser/current is loading parser/ruby27, which recognizes2.7.7-compliant syntax, but you are running 2.7.1. Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.

StandWithUkraine

Unused keys (5) | i18n-tasks v1.0.12

+--------+----------------------------------------------------+-------------------------------------------------------------------------------------+ | Locale | Key | Value | +--------+----------------------------------------------------+-------------------------------------------------------------------------------------+ | de | bulk_export.create_for_work.export_running_message | Export läuft. Nach Abschluss wird eine E-Mail an %{email} gesendet. | | en | bulk_export.create_for_work.export_running_message | Export running. Email will be sent to %{email} on completion. | | es | bulk_export.create_for_work.export_running_message | Exportación en ejecución. El correo electrónico se enviará a %{email} al finalizar. | | fr | bulk_export.create_for_work.export_running_message | Exportation en cours. Un e-mail sera envoyé à %{email} une fois terminé. | | pt | bulk_export.create_for_work.export_running_message | Exportação em execução. O e-mail será enviado para %{email} após a conclusão. | +--------+----------------------------------------------------+-------------------------------------------------------------------------------------+

saracarl commented 10 months ago

The missing message does not happen when you're working on a collection or document set level export; it seems to only happen when you're doing a document export.

Working:

image