Feature #1903
RCP: X.X, customize concordances annotation UI strings
Status: | New | Start date: | 10/17/2016 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 50% |
||
Category: | Annotation | Spent time: | - | ||
Target version: | TXM Annotation 2.0 |
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>
History
#1 Updated by Serge Heiden over 6 years ago
Choix terminologiques¶
EN- affect → add (+)
- remove → delete (-)
- affecter → ajouter (+)
- retirer → supprimer (Suppr ou -)
#2 Updated by Serge Heiden over 6 years ago
- Description updated (diff)
#3 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
#4 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
#5 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
#6 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
#7 Updated by Matthieu Decorde over 6 years ago
- % Done changed from 0 to 50
some annotation strings are not yet customizable
#8 Updated by Matthieu Decorde over 6 years ago
- Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)
#9 Updated by Sebastien Jacquot almost 5 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#10 Updated by Matthieu Decorde about 4 years ago
- Target version changed from TXM 0.8.0 to TXM Annotation 2.0