Skip to content

Commit

Permalink
fix: untranslated string for Smoothie (#6492)
Browse files Browse the repository at this point in the history
* Update ecoscore_unknown.tt.json

* Update common.pot

* Update labeler.yml

* Update en.po
  • Loading branch information
teolemon committed Mar 17, 2022
1 parent 07d0e2b commit ffe58a2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Display:
ecoscore:
- lib/ProductOpener/Ecoscore.pm
- ecoscore/**/*
- templates/api/knowledge-panels/environment/ecoscore/ecoscore_unknown.tt.json

Export:
- lib/ProductOpener/Export.pm
Expand Down Expand Up @@ -143,6 +144,7 @@ origins:
knowledge-panels:
- lib/ProductOpener/KnowledgePanels.pm
- templates/api/knowledge-panels/**/*
- templates/api/knowledge-panels/environment/ecoscore/ecoscore_unknown.tt.json

lang:
- lib/ProductOpener/Lang.pm
Expand Down
8 changes: 6 additions & 2 deletions po/common/common.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5331,11 +5331,15 @@ msgstr "User deleted."

msgctxt "attribute_ecoscore_unknown_title"
msgid "Eco-Score not computed"
msgstr "Eco-Score non calculé"
msgstr "Eco-Score not computed"

msgctxt "attribute_ecoscore_unknown_description_short"
msgid "Unknown environmental impact"
msgstr "Impact environnemental inconnu"
msgstr "Unknown environmental impact"

msgctxt "ecoscore_unknown_call_to_help"
msgid "We could not compute the Eco-Score of this product as it is missing some data, could you help complete it?"
msgstr "We could not compute the Eco-Score of this product as it is missing some data, could you help complete it?"

msgctxt "org_list_of_gs1_gln_description"
msgid "GS1 data is automatically associated with an OFF organization identifier that corresponds to the GS1 partyName field. To change the OFF organization identifier, you can directly assign 1 or more GS1 GLN identifiers."
Expand Down
6 changes: 5 additions & 1 deletion po/common/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -4819,6 +4819,10 @@ msgctxt "attribute_ecoscore_unknown_description_short"
msgid "Unknown environmental impact"
msgstr "Unknown environmental impact"

msgctxt "ecoscore_unknown_call_to_help"
msgid "We could not compute the Eco-Score of this product as it is missing some data, could you help complete it?"
msgstr "We could not compute the Eco-Score of this product as it is missing some data, could you help complete it?"

msgctxt "attribute_ecoscore_a_description_short"
msgid "Very low environmental impact"
msgstr "Very low environmental impact"
Expand Down Expand Up @@ -6040,4 +6044,4 @@ msgstr "No ingredients containing palm oil detected"

msgctxt "unrecognized_ingredients"
msgid "Unrecognized ingredients"
msgstr "Unrecognized ingredients"
msgstr "Unrecognized ingredients"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"element_type": "text",
"text_element": {
"type": "summary",
"html": "We could not compute the Eco-Score of this product as it is missing some data, could you help complete it?"
"html": "[% lang("ecoscore_unknown_call_to_help") %]"
}
},
]
Expand Down

0 comments on commit ffe58a2

Please sign in to comment.