Page MenuHomePhabricator

Translation tags preventing me from saving edit: "Multiple translation unit markers for one translation unit"
Closed, ResolvedPublic

Description

I'm trying to change:

=== Configs (Your extension/skins settings) === <!--T:71-->

<!--T:79-->
By default, extension.json assumes that your config settings start with a "wg" prefix.</translate>

...to this...

=== Configs (Your extension/skins settings) === <!--T:71-->
{{See also|Manual:Configuration for developers}}
<!--T:79-->
By default, extension.json assumes that your config settings start with a "wg" prefix.</translate>

But whenever I try to save it, it says:

Multiple translation unit markers for one translation unit.

... which means nothing to me. How do I fix this?

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

I added an extra linebreak, and somehow that fixed the problem:

=== Configs (Your extension/skins settings) === <!--T:71-->
{{See also|Manual:Configuration for developers}}

<!--T:79-->
By default, extension.json assumes that your config settings start with a "wg" prefix.</translate>
Nikerabbit changed the task status from Open to Stalled.Jul 3 2017, 11:30 AM

No additional information provided.

Sorry, I was on vacation... Maybe we could change the error message to something like: "Multiple translation unit markers for one translation unit. Make sure that translation units are separated by empty lines."

Aklapper renamed this task from Translation tags preventing me from saving edit to Translation tags preventing me from saving edit: "Multiple translation unit markers for one translation unit".Feb 13 2021, 6:25 PM

It sounds like the proposal is to expand the English string for pt-shake-multiple within the mediawiki/extensions/Translate codebase, not like working on some documentation somewhere

Change 663959 had a related patch set uploaded (by Aklapper; owner: Aklapper):
[mediawiki/extensions/Translate@master] Provide hint for "Multiple translation unit markers" error message

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

Change 663959 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Provide hint for "Multiple translation unit markers" error message

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

Aklapper claimed this task.
Aklapper removed a project: Patch-For-Review.

Merged, thanks for the quick review!