Bug #1490

TBX: 0.7.7, start automatic numbering at 1 instead of 0 in TXT based import modules

Ajouté par Serge Heiden il y a environ 10 ans. Mis à jour il y a plus de 6 ans.

Statut:New Début:10/09/2015
Priorité:Urgent Echéance:
Assigné à:- % réalisé:

10%

Catégorie:Import Temps passé: -
Version cible:TXM 0.X.X

Description

The Clipboard and TXT+CSV import modules try to encode lines and paragraphs in texts. While doing that they add an automatically incremented 'n' property numbered starting from '0'.

For example:
  • line number for words: 'lbid' starts from 0
  • paragraph number: 'n' starts from 0

Users are not used to '0', they are more used to numbering starting at '1'.

Moreother independant tools they may use to verify if the import process was correct, for example to read a particular line in a source file (for example in a text editor), use numbering starting from 1.

Solution

If an import module wants to automatically number an element in a corpus, the numbering has to start at '1'.

Historique

#1 Mis à jour par Matthieu Decorde il y a environ 10 ans

  • % réalisé changé de 0 à 10

Done for TXT+CSV import module

#2 Mis à jour par Matthieu Decorde il y a presque 10 ans

  • Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)

#3 Mis à jour par Sebastien Jacquot il y a plus de 7 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0

#4 Mis à jour par Matthieu Decorde il y a plus de 6 ans

  • Version cible changé de TXM 0.8.0 à TXM 0.X.X

Formats disponibles : Atom PDF