#571262 avoid bloating templates with translaitons identical to C text

#571262#5
Date:
2010-02-24 20:28:22 UTC
From:
To:
d-i has a lot of this type of bloat:

Template: partman-xfs/text/xfs
Type: text
Description: xfs
Description-am.UTF-8: xfs
Description-ar.UTF-8: xfs
Description-ast.UTF-8: xfs
Description-be.UTF-8: xfs
Description-bg.UTF-8: xfs
Description-bn.UTF-8: xfs
Description-bs.UTF-8: xfs
Description-ca.UTF-8: xfs
Description-cs.UTF-8: xfs
Description-cy.UTF-8: xfs
Description-da.UTF-8: xfs
Description-de.UTF-8: xfs
Description-dz.UTF-8: XFS
Description-el.UTF-8: xfs
Description-eo.UTF-8: xfs
Description-es.UTF-8: xfs
Description-et.UTF-8: xfs
Description-eu.UTF-8: xfs
Description-fi.UTF-8: xfs
Description-fr.UTF-8: xfs
Description-ga.UTF-8: xfs
Description-gl.UTF-8: xfs
Description-gu.UTF-8: xfs
Description-he.UTF-8: xfs
Description-hi.UTF-8: एक्सएफएस
Description-hr.UTF-8: xfs

Here "xfs" is generally not very translatable. Suggest instead outputting this,
which should be effectively identical:

Template: partman-xfs/text/xfs
Type: text
Description: xfs
Description-dz.UTF-8: XFS
Description-hi.UTF-8: एक्सएफएस

#571262#10
Date:
2010-07-26 20:56:22 UTC
From:
To:
reassign 571262 intltool-debian
found 571262 0.35.0+20060710.1
tag 571262 patch
thanks

There are some corner cases, consider this example:

  Template: partman-xfs/text/xfs
  Type: text
  Description: xfs
  Description-pt.UTF-8: XFS
  Description-pt_BR.UTF-8: xfs

pt_BR translation must not be dropped, otherwise XFS will be displayed
instead of xfs.
Here is a patch, translation is removed only if language does not
contain locale modifiers (i.e. _ or @ characters).

Here is also a slightly updated tarball, in case Nicolas or someone
else want to update intltool-debian.

Denis

#571262#21
Date:
2010-07-26 20:56:22 UTC
From:
To:
reassign 571262 intltool-debian
found 571262 0.35.0+20060710.1
tag 571262 patch
thanks

There are some corner cases, consider this example:

  Template: partman-xfs/text/xfs
  Type: text
  Description: xfs
  Description-pt.UTF-8: XFS
  Description-pt_BR.UTF-8: xfs

pt_BR translation must not be dropped, otherwise XFS will be displayed
instead of xfs.
Here is a patch, translation is removed only if language does not
contain locale modifiers (i.e. _ or @ characters).

Here is also a slightly updated tarball, in case Nicolas or someone
else want to update intltool-debian.

Denis