Feature #1903
Annotation, customize annotation widgets labels
Statut: | New | Début: | 17/10/2016 | ||
---|---|---|---|---|---|
Priorité: | Normal | Echéance: | |||
Assigné à: | - | % réalisé: | 50% |
||
Catégorie: | Annotation | Temps passé: | - | ||
Version cible: | TXM Annotation X.X |
Description
The repository should be able to change the concordance annotation UI strings
concordance UI Strings and keys are:- start annotation button title = (annotate) Messages.Messages.ConcordancesEditor_75
- stop annotation button title = (cancel) Messages.ConcordancesEditor_101
- action combo values = (affect) Messages.ConcordancesEditor_22, (remove) Messages.ConcordancesEditor_24
- affectation combo values = (selected lines) Messages.ConcordancesEditor_35, (current page lines) Messages.ConcordancesEditor_42, (all lines) Messages.ConcordancesEditor_49
- with label = (with categorie) Messages.ConcordancesEditor_83
- value label (expert) = (value=) Messages.ConcordancesEditor_80
- ConcordancesEditor_110=New value {0} for category {1}
- ConcordancesEditor_112=The value {0} is not associated with the category {1}. Associate it ?
- ConcordancesEditor_100: Available values for {0}
- annotation column title ! Category/Catégorie
Which gives, in simple mode:
Set|Delete Selected lines|Page lines|All lines with the category OK Cancel
and in advanced mode:
Set|Delete Selected lines|Page lines|All lines with the category = and the value = OK Cancel
and in advanced mode and SyMoGIH mode:
Set|Delete Selected lines|Page lines|All lines with the type = and the id = OK Cancel
Solution¶
add the <strings> element to the <repository> element and a <string key="">value</string> element per String to translate
The key attribute value is one from the following list:- Messages.ConcordancesEditor_22: affect
- Messages.ConcordancesEditor_24: remove
- ConcordancesEditor_83: with category
- ConcordancesEditor_80: value =
Example of scripts element with en and fr messages:
<strings lang="en"> <string key="ConcordancesEditor_22">Affect</string> <string key="ConcordancesEditor_24">Delete</string> <string key="ConcordancesEditor_83">with the category</string> <string key="ConcordancesEditor_80">value=</string> <string key="ConcordancesEditor_110">New value {0} for category {1}</string> <string key="ConcordancesEditor_112">The value {0} is not associated with the category {1}. Associate it ?</string> <string key="ConcordancesEditor_100">Available values for {0}</string> </strings> <strings lang="fr"> <string key="ConcordancesEditor_22">Annoter</string> <string key="ConcordancesEditor_24">Retirer</string> <string key="ConcordancesEditor_83">avec la catégorie</string> <string key="ConcordancesEditor_80">valeur=</string> <string key="ConcordancesEditor_110">Nouvelle valeur {0} pour la catégorie {1}</string> <string key="ConcordancesEditor_112">La valeur {0} n'est pas encore associée à la catégorie : {1}. Créer l'association ?</string> <string key="ConcordancesEditor_100">Valeurs disponibles pour {0}</string> </strings>
Historique
#1 Mis à jour par Serge Heiden il y a presque 9 ans
Choix terminologiques¶
EN- affect → add (+)
- remove → delete (-)
- affecter → ajouter (+)
- retirer → supprimer (Suppr ou -)
#2 Mis à jour par Serge Heiden il y a presque 9 ans
- Description mis à jour (diff)
#3 Mis à jour par Matthieu Decorde il y a presque 9 ans
- Description mis à jour (diff)
#4 Mis à jour par Matthieu Decorde il y a presque 9 ans
- Description mis à jour (diff)
#5 Mis à jour par Matthieu Decorde il y a presque 9 ans
- Description mis à jour (diff)
#6 Mis à jour par Matthieu Decorde il y a presque 9 ans
- Description mis à jour (diff)
#7 Mis à jour par Matthieu Decorde il y a presque 9 ans
- % réalisé changé de 0 à 50
some annotation strings are not yet customizable
#8 Mis à jour par Matthieu Decorde il y a presque 9 ans
- Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)
#9 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
#10 Mis à jour par Matthieu Decorde il y a plus de 6 ans
- Version cible changé de TXM 0.8.0 à 41
#11 Mis à jour par Matthieu Decorde il y a plus d'un an
- Sujet changé de RCP: X.X, customize concordances annotation UI strings à Annotation, customize annotation widgets labels
- Version cible changé de 41 à TXM Annotation X.X