Last modified: 2013-02-24 14:40:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38858, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36858 - negative numbers look weird in the feedback bubble remaining characters count
negative numbers look weird in the feedback bubble remaining characters count
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
MoodBar (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nischay Nahata
: i18n
Depends on:
Blocks: plural
  Show dependency treegraph
 
Reported: 2012-05-15 11:25 UTC by Amir E. Aharoni
Modified: 2013-02-24 14:40 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Amir E. Aharoni 2012-05-15 11:25:45 UTC
At least in some languages a negative number looks weird in the moodbar-form-note-dynamic message.

I can think of two solutions:

1. Simplistic: Simplify the message to say "Remaining characters: $1". This was actually done already for the Russian translation. It's not perfect, but it's simple and reasonably understandable.

2. Nice, but possibly a bit complicated: Make the message smarter by showing different text for 0 and for negative numbers. Something like: "No characters remaining" and "$1 {{PLURAL:$1|character|characters}} too many}}".
Comment 1 Nischay Nahata 2013-02-16 17:49:33 UTC
https://gerrit.wikimedia.org/r/#/c/49389/
Comment 2 Alex Monk 2013-02-24 14:40:44 UTC
Merged by Robmoen on the 20th.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links