Skip to content

Commit

Permalink
Merge pull request #33 from plone/i18n-fix
Browse files Browse the repository at this point in the history
Fix wrong msgid in button translation
  • Loading branch information
erral authored Jul 8, 2022
2 parents ee16266 + 4d66740 commit efa8039
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions news/33.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix translation of `sharing` buttons.
[petschki]
6 changes: 3 additions & 3 deletions plone/app/workflow/browser/sharing.pt
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@
class="btn btn-primary"
type="submit"
name="form.button.Save"
i18n:translate="value label_save">Save</button>
i18n:translate="label_save">Save</button>
<button class="btn btn-secondary"
type="submit"
name="form.button.Cancel"
i18n:translate="value label_cancel">Cancel</button>
i18n:translate="label_cancel">Cancel</button>
<input tal:replace="structure context/@@authenticator/authenticator" />
</form>
</div>
Expand All @@ -175,4 +175,4 @@

</body>

</html>
</html>

0 comments on commit efa8039

Please sign in to comment.