Add length columns to CatalogModelColumns
ClosedPublic

Authored by wojnilowicz on Jan 6 2020, 8:03 PM.

Details

Summary

This patch adds two columns to Translation Units toolview:

  1. Source length,
  2. Target length.

The columns display length of text in source and target columns
respectively.

The columns are useful in case of:

  1. lots of translation units,
  2. great variability in length between translation units.

The approach then is as follows:

  1. sort translation units by source length column,
  2. translate consecutively from the shortest to the longest source

string.

Advantage is in enabling translator to deliver more translated
translation units at given time compared to conventional approach:

  1. sort translation units by entry column,
  2. translate consecutively encountering mixed length source string.

The time to fully translate a file with translation units remains
unchanged.

Diff Detail

Repository
R456 Lokalize
Branch
lenght-columns (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 20732
Build 20750: arc lint + arc unit
wojnilowicz requested review of this revision.Jan 6 2020, 8:03 PM
wojnilowicz created this revision.

Here is how the new columns look like.

aacid accepted this revision.Jan 16 2020, 11:04 PM

I don't see it being ultra useful, but if people don't like it, they can hide it anyway, so why not, i guess

This revision is now accepted and ready to land.Jan 16 2020, 11:04 PM
This revision was automatically updated to reflect the committed changes.