View Issue Details

IDProjectCategoryView StatusLast Update
0010776Talermerchant backoffice SPApublic2025-12-15 16:27
Reportersebasjm Assigned Tosebasjm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version1.3 
Target Version1.3 
Summary0010776: pogen po generation
Descriptionwhen there are new strings it mix up with old translations

for example, see commit

   eb46ecbe0..83c3c81ae master -> master

the string "refund taken: %1$s" is new and it should have been included with an empty translation
instead is has some old translation

 #. screenid: 44
 #: packages/merchant-backoffice-ui/src/paths/instance/orders/details/DetailPage.tsx:501
+#, fuzzy, c-format
+msgid "refund created: %1$s: %2$s"
+msgstr "Die Rückerstattung ist erfolgreich durchgeführt worden"
+
+#. screenid: 44
+#: packages/merchant-backoffice-ui/src/paths/instance/orders/details/DetailPage.tsx:509
+#, fuzzy, c-format
+msgid "refund taken: %1$s"
+msgstr "Erhaltener Rückerstattungsbetrag"
+
TagsNo tags attached.

Activities

sebasjm

2025-12-15 16:26

developer   ~0026988

I think this is an expected behavior of `msgmerge` of the `gettext` utils. Tested with this example

+#. screenid: 62
+#: packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx:138
+#, fuzzy, c-format
+msgid "Delete template"
+msgstr "Die Vorlage wird gelöscht"
+
+#. screenid: 62
+#: packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx:139
+#, fuzzy, c-format
+msgid "Delete the template \"%1$s\""
+msgstr "Die Vorlage wird gelöscht"


this 2 strings are new and the merge process added the german translation "Die Vorlage wird gelöscht" which comes from

./src/i18n/de.po
6117-#~ msgid "Deleting an template"
6118:#~ msgstr "Die Vorlage wird gelöscht"


But also adds "fuzzy" which Stefan mention that shows up in weblate as "needs-editing".

Issue History

Date Modified Username Field Change
2025-12-15 00:47 sebasjm New Issue
2025-12-15 00:47 sebasjm Assigned To => sebasjm
2025-12-15 00:47 sebasjm Status new => assigned
2025-12-15 00:48 sebasjm Status assigned => confirmed
2025-12-15 16:26 sebasjm Note Added: 0026988
2025-12-15 16:26 sebasjm Product Version => 1.3
2025-12-15 16:26 sebasjm Target Version => 1.3
2025-12-15 16:27 sebasjm Status confirmed => resolved
2025-12-15 16:27 sebasjm Resolution open => no change required