Page MenuHomePhabricator

The "ago" mechanism is untranslatable due to sentence split
Open, Needs TriagePublic

Description

[[MediaWiki:Ago]] and friends generate untranslatable strings, according to Shirayuki's assessment of MF-Warburg's requirements for German at https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Moodbar-feedback-response-summary/en

«

  • 2 months
  • 2 months ago
  • 2 days
  • 2 days ago

[should become]

  • 2 Monate
  • vor 2 Monaten
  • 2 Tage
  • vor 2 Tagen

(the problem is that the output currently is "antwortete [replied] vor 2 Tage").»

Previous discussion: https://translatewiki.net/wiki/Thread:Support/ago_%28%22$1_ago%22%29_cannot_work#{{msg-mw|ago}}_cannot_work_16901


Version: 1.24rc
See also: T66430: getHumanTimestamp issues (tracking)
Severity: normal

Details

Reference
bz67959

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:28 AM
bzimport set Reference to bz67959.
bzimport added a subscriber: Unknown Object (MLST).

Thanks Andre for editing the summary. To clarify, I had left the report in General/Unknown because this "feature" was added by a team developing some extension for their own purposes and it's not yet clear if the problem should be solved in core. Hopefully, no core interface is using this mechanism yet and i18n of core is not affected.

So basically this bug is requesting that these things be moved to using MWTimestamp::getHumanTimestamp?

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 1 2015, 7:53 AM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 11 2015, 5:56 AM
Nemo_bis updated the task description. (Show Details)
Nemo_bis set Security to None.
Tgr added a subscriber: Tgr.Jan 14 2016, 6:52 PM

For Hungarian correct handling of $1 ago would require https://gerrit.wikimedia.org/r/#/c/247102/.

Still having interests? The original issue is about an archived #MediaWiki-extensions-Moodbar

Amire80 moved this task from Untriaged to Date and time on the I18n board.Mar 18 2018, 1:46 PM