Task #2426

Define and implement String messages workflow and update guidelines

Ajouté par Sebastien Jacquot il y a plus de 7 ans. Mis à jour il y a plus de 4 ans.

Statut:New Début:28/06/2018
Priorité:Normal Echéance:
Assigné à:- % réalisé:

20%

Catégorie:Strings translation Temps passé: -
Version cible:TXM 0.8.4

Description

Define and implement String messages workflow and update guidelines.

Discuss about this massive ticket.

Some scripts of org.txm.translate automate some tasks:
- Finds duplicated messages in all core and rcp plug-ins.
- Merges them in a new key and move them to org.txm.core or org.txm.rcp.
- Finds unbounded messages and saves them to a file.
- Checks that all key defined in Messages.java class are used in the source files AND removed the unused keys
- need to check and validate other scripts

Write the workflow of scripts apply and manual task to do for each target.
Also check the guidelines to adapt them to the scripts.

TODO: check the steps above are in the guidelines
  • use the specifications of https://groupes.renater.fr/wiki/txm-info/public/nommage_symboles_externalisation for keys naming
  • move common strings that can be shared to classes TXMCoreMessages and TXMUIMessages
  • do not externalize/translate log string of level "finest" (add //$NON-NLS-1$)
  • do not externalize/translate log string of level "severe" (add //$NON-NLS-1$)
  • use NLS binding system (with {0}, {1}, etc. and stop to concatenate strings. The concatenation will lead to problems in some languages)
  • TBD

TODO: create a new issue to apply workflow to existing source code

Historique

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

  • Description mis à jour (diff)

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

  • Sujet changé de Uniformize the externalized string keys in all plug-ins à TXM0.8.0: Externalize string messages of all plug-ins
  • Description mis à jour (diff)

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

  • Description mis à jour (diff)

#4 Mis à jour par Sebastien Jacquot il y a presque 7 ans

  • Description mis à jour (diff)

#5 Mis à jour par Matthieu Decorde il y a presque 7 ans

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

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

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

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

  • Sujet changé de TXM0.8.0: Externalize string messages of all plug-ins à Define and implement String messages workflow and update guidelines
  • Description mis à jour (diff)
  • % réalisé changé de 80 à 20

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

  • Version cible changé de TXM 0.8.2 à TXM 0.8.4

Formats disponibles : Atom PDF