Page MenuHomePhabricator

Add mailman-templates to translatewiki.net
Open, MediumPublic

Description

Project information

Name: mailman-templates
Homepage: https://wikitech.wikimedia.org/wiki/Mailman#Templates
Project link: https://gerrit.wikimedia.org/g/operations/software/mailman-templates/
Code repository: https://gerrit.wikimedia.org/g/operations/software/mailman-templates/

  • Source branch: master
  • Target branch: master

OS License: GPL-3.0-or-later
Issue Tracker: Wikimedia-Mailing-lists
Project contact: User:Legoktm / @Legoktm

Logo: Don't have one, is this required?

  • Without text:
  • With text:

Project description:
Customized email templates for Mailman3. These templates improve upon the upstream ones by providing links to the web interface where appropriate.

Translations should only be enabled for ['ar', 'ast', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fi', 'fr', 'gl', 'he', 'hr', 'hu', 'ia', 'it', 'ja', 'ko', 'lt', 'nl', 'no', 'pl', 'pt', 'pt_BR', 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'tr', 'uk', 'vi', 'zh_CN', 'zh_TW']

NOTE: Section below will be filled by twn staff

Project setup checklist

Project configuration (for translation admins)

Namespace: Wikimedia
Prefix: wikimedia-mailman-templates-
Validators: For variables, may need a custom regexp

Concerns

  • Why are there empty messages?
  • Some messages contain literal tabs, which will be hard to input for translators
  • Is there difference between $foo and ${foo} variable syntax, or could they be unified?
  • Is sr expected to be in Latin or Cyrillic script?

Related Objects

Event Timeline

Ladsgroup triaged this task as Medium priority.May 5 2021, 8:55 PM
Nikerabbit added a subscriber: Nikerabbit.

@Legoktm I added a few questions to the description and Nemo_bis has left similar ones in the qqq patch. Logo is not needed.

Change 692330 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[translatewiki@master] WIP: Add Wikimedia Mailman templates

https://gerrit.wikimedia.org/r/692330

I'm a bit behind on this, some other higher priority MM issues have come up, but I'm still trying to make progress on it.

  • Why are there empty messages?
    • Nemo pointed this out as well, I'll delete them.
  • Some messages contain literal tabs, which will be hard to input for translators
    • Would 4 spaces work better? These are all plain text so indentation is used for formatting. Some lines do have a leading space before URLs which is required to be there.
  • Is there difference between $foo and ${foo} variable syntax, or could they be unified?
    • ${foo}bar is $foo plus "bar" while $foobar is $foobar. We can use the ${foo} syntax everywhere.
  • Is sr expected to be in Latin or Cyrillic script?

I'm a bit behind on this, some other higher priority MM issues have come up, but I'm still trying to make progress on it.

No worries, you're doing important stuff.

  • Some messages contain literal tabs, which will be hard to input for translators
    • Would 4 spaces work better? These are all plain text so indentation is used for formatting. Some lines do have a leading space before URLs which is required to be there.

Yes.

  • Is there difference between $foo and ${foo} variable syntax, or could they be unified?
    • ${foo}bar is $foo plus "bar" while $foobar is $foobar. We can use the ${foo} syntax everywhere.

+1 for consistency

The comment says the list is derived from Mailman 2. Did it have translations there?

The comment says the list is derived from Mailman 2. Did it have translations there?

https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/messages/sr/LC_MESSAGES/mailman.po so Cyrillic

Pushed some new commits, I think I've addressed all the feedback so far.