diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-03-09 13:08:17 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-03-10 11:34:52 +0100 |
commit | 0b7aaee816b2862708b32fc42e54770b662d9054 (patch) | |
tree | 6c82f474e2fef625f8c999731ebfbca4d80c80c4 | |
parent | 0915e48b8c5bcf603026e57b7acb7f50c36dcae4 (diff) |
More fixes in L10n and improvements in scripts
version 1.0.3
Change-Id: I2021a381df3f4ed99408285f2ab9c9fbdfa4f651
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/164605
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | userguides/sanitycheck/SanityCheck/Comunes.xba | 9 | ||||
-rw-r--r-- | userguides/sanitycheck/SanityCheck/Formatos.xba | 4 | ||||
-rw-r--r-- | userguides/sanitycheck/SanityCheck/L10n.xba | 4 | ||||
-rw-r--r-- | userguides/sanitycheck/description.xml | 2 |
4 files changed, 10 insertions, 9 deletions
diff --git a/userguides/sanitycheck/SanityCheck/Comunes.xba b/userguides/sanitycheck/SanityCheck/Comunes.xba index 610775eb..597211de 100644 --- a/userguides/sanitycheck/SanityCheck/Comunes.xba +++ b/userguides/sanitycheck/SanityCheck/Comunes.xba @@ -310,10 +310,11 @@ Function getExtensionVersion() As String extList = GetDefaultContext.getByName("/singletons/com.sun.star.deployment.PackageInformationProvider").getExtensionList() Dim i As Integer For i = 0 To uBound(extList) - oElem = extList(i) - If oElem(0) = ExtensionID Then - getExtensionVersion = "Sanity Check V." & oElem(1) - End If + oElem = extList(i) + If oElem(0) = ExtensionID Then + getExtensionVersion = "Sanity Check V." & oElem(1) + Exit Function + End If Next i End Function Rem ############ posible incorporación? Recargar documento. diff --git a/userguides/sanitycheck/SanityCheck/Formatos.xba b/userguides/sanitycheck/SanityCheck/Formatos.xba index 2e985232..af09ad55 100644 --- a/userguides/sanitycheck/SanityCheck/Formatos.xba +++ b/userguides/sanitycheck/SanityCheck/Formatos.xba @@ -215,8 +215,8 @@ Function LimpiaNumerados Call L10n.Trad_Formatos Dim E_P_Num as Variant, E_P_Ant as Variant, E_Validos as Variant E_P_Num = Array("Numbering 1","Numbering 2","Numbering 3","Legend Numbered") - E_P_Ant = Array("Text Body List Intro","Numbering 1","Numbering 2","Body Text") - E_Validos = Array("Numbering 1","Numbering 2","Numbering 3","Definition Term","Figure","Text Note") + E_P_Ant = Array("Body Text, List Intro","Numbering 1","Numbering 2","Body Text") + E_Validos = Array("Numbering 1","Numbering 2","Numbering 3","Definition Term","Figure","Body Text, Note") Dim oProgressbar as Object oProgressBar = ThisComponent.CurrentController.getStatusIndicator() diff --git a/userguides/sanitycheck/SanityCheck/L10n.xba b/userguides/sanitycheck/SanityCheck/L10n.xba index cbef5c86..5771b678 100644 --- a/userguides/sanitycheck/SanityCheck/L10n.xba +++ b/userguides/sanitycheck/SanityCheck/L10n.xba @@ -627,8 +627,8 @@ Sub Trad_Imagenes & "Revise este quadro e seu conteúdo" I_Txt(46) = "Texto da legenda mal formado." & Chr(13) & "Figura X: e ""espaço""?" & Chr(13) & Chr(13) _ & "Verifique a legenda e as descrições dos quadros e das imagens" - I_Txt(47) = "A imagem foi cortada com o Writer." & Chr(13) & Chr(13) & "Use outro programa para as culturas" - I_Txt(48) = "Verifique a escala:" & Chr(13) & Chr(13) & "Caixa de diálogo ""Imagem"", guia ""Cortar""" _ + I_Txt(47) = "A imagem foi cortada com o Writer." & Chr(13) & Chr(13) & "Use outro programa para cortar" + I_Txt(48) = "Verifique a escala:" & Chr(13) & Chr(13) & "Caixa de diálogo ""Imagem"", aba ""Recortar""" _ & Chr(13) & "(% Largura deve ser igual a % Altura)" I_Txt(49) = "Texto de ajuda pendente" Rem --- Macro Leyendas diff --git a/userguides/sanitycheck/description.xml b/userguides/sanitycheck/description.xml index 1a70920f..67944f9c 100644 --- a/userguides/sanitycheck/description.xml +++ b/userguides/sanitycheck/description.xml @@ -4,7 +4,7 @@ xmlns:dep="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="vnd.b__antonio.sanitycheck"/>
- <version value="1.0.2"/>
+ <version value="1.0.3"/>
<!-- <dependencies>
<OpenOffice.org-minimal-version value="2.1" dep:name="OpenOffice.org 2.1"/>
</dependencies> -->
|