Localised alignment setting should overwrite non-localised settings
As Fadhila,
I want that the localised text
property takes precedence over the non-localised title
property in the annotation LAYOUT_CELL_ALIGN
when forcing the alignment of data to a specific side,
So that I can specify a generic non-localised ltr
approach in the title
and only add the few necessary localised locales that require rtl
.
Today, the localised text
settings are unfortunately ignored when there is a non-localised title
settings.
Example
This will allow using:
<common:Annotation>
<common:AnnotationTitle>RIGHT</common:AnnotationTitle>
<common:AnnotationType>LAYOUT_CELL_ALIGN</common:AnnotationType>
<common:AnnotationText xml:lang="ar">LEFT</common:AnnotationText>
</common:Annotation>
instead of currently required:
<common:Annotation>
<common:AnnotationType>LAYOUT_CELL_ALIGN</common:AnnotationType>
<common:AnnotationText xml:lang="en">RIGHT</common:AnnotationText>
<common:AnnotationText xml:lang="fr">RIGHT</common:AnnotationText>
<common:AnnotationText xml:lang="es">RIGHT</common:AnnotationText>
<common:AnnotationText xml:lang="it">RIGHT</common:AnnotationText>
<common:AnnotationText xml:lang="de">RIGHT</common:AnnotationText>
<common:AnnotationText xml:lang="nl">RIGHT</common:AnnotationText>
<common:AnnotationText xml:lang="th">RIGHT</common:AnnotationText>
<common:AnnotationText xml:lang="km">RIGHT</common:AnnotationText>
<common:AnnotationText xml:lang="ar">LEFT</common:AnnotationText>
</common:Annotation>
Edited by Jens Dossé