This commit is contained in:
Georgy Litvinov 2020-04-23 14:55:56 +02:00
parent 8216e074b6
commit c0dbdf6196
5 changed files with 14 additions and 8 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark44
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark45
End Sub
@ -95,7 +95,7 @@ Private Sub cleanAccordingTo(dialog As Object)
statusIndicator.end()
saveAndreload()
MsgBox &quot;Чистка завершена.&quot;
MsgBox getTranslation(lang,&quot;cleaningFinished&quot;)
End Sub
@ -145,7 +145,7 @@ Private Sub quietCleaning
removeLibs
statusIndicator.end()
saveAndreload()
MsgBox &quot;Чистка завершена.&quot;
MsgBox getTranslation(lang,&quot;cleaningFinished&quot;)
End Sub
Private Sub removeFirstElementPageBreak

View file

@ -41,6 +41,9 @@ Function getRussian(identifier As String) As String
Case &quot;buttonNameToSelectFileWithStyles&quot;
getRussian = &quot;Указать файл&quot;
Exit Function
Case &quot;cleaningFinished&quot;
getRussian = &quot;Чистка завершена&quot;
Exit Function
Case Else
getRussian = getEnglish(identifier)
End Select
@ -50,10 +53,10 @@ End Function
Function getEnglish(identifier As String) As String
Select Case identifier
Case &quot;noFileWithStylesFound&quot;
getEnglish = &quot;Template with styles wasn&apos;t found. You can choose template on your computer. This stage of cleaning will be skipped if no file chosen.&quot;
getEnglish = &quot;Template with styles wasn&apos;t found. You can choose template on your computer.&quot; &amp; chr(10) &amp;&quot; This stage of cleaning will be skipped if no file chosen.&quot;
Exit Function
Case &quot;startQuietCleaningDescription&quot;
getEnglish = &quot;Do you want to start document cleaning?&quot; &amp; chr(10) &amp; &quot;You can choose template with styles to load them in process of the cleaning.&quot;
getEnglish = &quot;Do you want to start document cleaning?&quot; &amp; chr(10) &amp; &quot;You can choose template with styles.&quot; &amp; chr(10) &amp; &quot;Styles will be loaded in process of cleaning.&quot;
Exit Function
Case &quot;noStylesFileDialogTitle&quot;
getEnglish = &quot;Template file not found&quot;
@ -76,6 +79,9 @@ Function getEnglish(identifier As String) As String
Case &quot;buttonNameToSelectFileWithStyles&quot;
getEnglish = &quot;Select file&quot;
Exit Function
Case &quot;cleaningFinished&quot;
getEnglish = &quot;Cleaning is completed&quot;
Exit Function
Case Else
getEnglish = &quot;No translation&quot;
End Select

View file

@ -218,7 +218,7 @@ Private Sub printNumberingSymbols(needExtendedInfo)
Exit sub
Else
If resultBad &lt;&gt; &quot;&quot; Then
report = &quot;Маркером в следующих списках нумерации задан некорректный символ&quot;&amp; chr(10) &amp; resultBad
report = &quot;В качестве маркера в следующих списках нумерации задан некорректный символ&quot;&amp; chr(10) &amp; resultBad
EndIf
If result &lt;&gt; &quot;&quot; Then
report = report &amp; &quot;В следующих списках нумерации найдены шрифты &quot;&amp; chr(10)&amp; result

View file

@ -3,7 +3,7 @@
xmlns:dep="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="pro.litvinovg.Redaction" />
<version value="0.7.3" />
<version value="0.7.4" />
<platform value="all" />
<display-name>
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>