Page MenuHomePhabricator

Handling typo fixes in Gettext messages is tedious
Closed, DuplicatePublic

Description

Just 6 typo fixes require quite a bit of tedious Special:ReplaceText work: https://translatewiki.net/w/i.php?title=Special:Contributions/Nemo_bis&dir=prev&offset=20170210171354&limit=202&target=Nemo+bis

The most boring/time-consuming part for me is to manually scan Special:ManageMessageGroups for corresponding messages and message keys (in order to copy-and-paste them into Special:ReplaceText), and then to reload to check I'm doing as few changes as possible. For new/third party wiki administrators, however, it may also be confusing to use two separate special pages for a routine work.

I think we can quickly code a couple simple improvements for Special:ManageMessageGroups, such as:

  • list all the changes to the source language first, sorted by message key;
  • add a checkbox+text field "this is a key rename (from key: ___)" which, if selected/filled, will automatically trigger the usual renames without a need to separately open Special:ReplaceText.

Niklas wrote about Gettext in http://laxstrom.name/blag/2013/11/20/review-of-gettext-pot-file-format/ but I think it's useful to track the Translate-related aspects.

Event Timeline

Nemo_bis created this task.Feb 22 2017, 8:25 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 22 2017, 8:25 AM
Nemo_bis claimed this task.Mar 30 2017, 3:08 PM
Nemo_bis triaged this task as Normal priority.