Making WordPress.org

Opened 2 years ago

Last modified 2 years ago

#6441 new enhancement

If an import contains a blank at te beginning or end while the original does not have that, the line is accepted

Reported by: psmits1567's profile psmits1567 Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:
Cc:

Description

When an import is performed with a suggestion that contains a blank at the beginning or at the end of the line, it will be imported. That will lead to fuzzed records after a while.
So this could be improved by doing the following, check the record when importing against the original
Then the following options could be created:

  1. Reject the imported record as it is invalid
  2. Mark the imported record as fuzzy, so the person that does the import knows it is wrong

Change History (2)

#1 @tobifjellner
2 years ago

I'd say, perhaps raise a "warning". There may be situations where the translation needs to contain a space that was not present in the original. For instance if the plugin hard-codes a colon after the string, then in French an extra space will be needed at the end.

#2 @psmits1567
2 years ago

In that case the best option would be to mark it as fuzzy, because then the import is not halted by the warning

Note: See TracTickets for help on using tickets.