Skip to content

[Bug]: German translation metadata (PO header) appended to share revocation email body #3830

Description

@jmueller71

Describe the bug

When a share is revoked/cancelled, the German notification email contains the raw .po translation file metadata (PO-Header) appended directly to the message body.

This issue does not occur when creating a share, only when revoking one. It seems the translation string for the revocation notice in Transifex accidentally includes or appends the file header.

To Reproduce

  1. Set the system or user language to German (de).
  2. Create a share for a file/folder to another user.
  3. Revoke/cancel the share.
  4. Check the received notification email (both Text and HTML views).

Expected behavior

The email should end cleanly after the notice ("...Zugriff über andere Freigaben und/oder Mitgliedschaften in Bereichen."). It should not render the technical PO-Header.

Actual behavior / Screenshots

The email body looks like this:

Hallo [User],

[User] hat die Freigabe für »[Datei]« für Sie aufgehoben.

Auch wenn diese Freigabe widerrufen wurde, haben Sie möglicherweise weiterhin Zugriff über andere Freigaben und/oder Mitgliedschaften in Bereichen.

Project-Id-Version: Report-Msgid-Bugs-To: EMAIL POT-Creation-Date: 2026-09-03 23:16+0000 PO-Revision-Date: 2025-01-27 10:17+0000 Last-Translator: Jannick Kuhr, 2026 Language-Team: German (https://transifex.com) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: de Plural-Forms: nplurals=2; plural=(n != 1);

Context

  • OpenCloud Version: rolling (Image tag 8.1.0)
  • Language: German (de)
  • Translation Platform: Transifex
Image

Activity

  1. moved this from Qualification to Prio 2 in OpenCloud Team Boardon Oct 27, 2026
  2. moved this from Prio 2 to Prio <= 3 in OpenCloud Team Boardon Oct 27, 2026
  3. micbar commented on Oct 27, 2026

    @micbar
    Member

    Not a translation issue: the share removed email has no call to action, and translating the empty string returns the .po header (gotext behaviour). Affects every email without a call to action in every translated language.

    Fixed on main in #3789 (translate() keeps empty strings empty, regression test with a German ShareRemoved). Backport to stable-7.2 follows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions