Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: untranslated string for Smoothie #6492

Merged
merged 4 commits into from
Mar 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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