Bugfix
This commit is contained in:
parent
8216e074b6
commit
c0dbdf6196
5 changed files with 14 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
<!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
|
End Sub
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ Private Sub cleanAccordingTo(dialog As Object)
|
||||||
|
|
||||||
statusIndicator.end()
|
statusIndicator.end()
|
||||||
saveAndreload()
|
saveAndreload()
|
||||||
MsgBox "Чистка завершена."
|
MsgBox getTranslation(lang,"cleaningFinished")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ Private Sub quietCleaning
|
||||||
removeLibs
|
removeLibs
|
||||||
statusIndicator.end()
|
statusIndicator.end()
|
||||||
saveAndreload()
|
saveAndreload()
|
||||||
MsgBox "Чистка завершена."
|
MsgBox getTranslation(lang,"cleaningFinished")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub removeFirstElementPageBreak
|
Private Sub removeFirstElementPageBreak
|
||||||
|
|
|
@ -41,6 +41,9 @@ Function getRussian(identifier As String) As String
|
||||||
Case "buttonNameToSelectFileWithStyles"
|
Case "buttonNameToSelectFileWithStyles"
|
||||||
getRussian = "Указать файл"
|
getRussian = "Указать файл"
|
||||||
Exit Function
|
Exit Function
|
||||||
|
Case "cleaningFinished"
|
||||||
|
getRussian = "Чистка завершена"
|
||||||
|
Exit Function
|
||||||
Case Else
|
Case Else
|
||||||
getRussian = getEnglish(identifier)
|
getRussian = getEnglish(identifier)
|
||||||
End Select
|
End Select
|
||||||
|
@ -50,10 +53,10 @@ End Function
|
||||||
Function getEnglish(identifier As String) As String
|
Function getEnglish(identifier As String) As String
|
||||||
Select Case identifier
|
Select Case identifier
|
||||||
Case "noFileWithStylesFound"
|
Case "noFileWithStylesFound"
|
||||||
getEnglish = "Template with styles wasn't found. You can choose template on your computer. This stage of cleaning will be skipped if no file chosen."
|
getEnglish = "Template with styles wasn't found. You can choose template on your computer." & chr(10) &" This stage of cleaning will be skipped if no file chosen."
|
||||||
Exit Function
|
Exit Function
|
||||||
Case "startQuietCleaningDescription"
|
Case "startQuietCleaningDescription"
|
||||||
getEnglish = "Do you want to start document cleaning?" & chr(10) & "You can choose template with styles to load them in process of the cleaning."
|
getEnglish = "Do you want to start document cleaning?" & chr(10) & "You can choose template with styles." & chr(10) & "Styles will be loaded in process of cleaning."
|
||||||
Exit Function
|
Exit Function
|
||||||
Case "noStylesFileDialogTitle"
|
Case "noStylesFileDialogTitle"
|
||||||
getEnglish = "Template file not found"
|
getEnglish = "Template file not found"
|
||||||
|
@ -76,6 +79,9 @@ Function getEnglish(identifier As String) As String
|
||||||
Case "buttonNameToSelectFileWithStyles"
|
Case "buttonNameToSelectFileWithStyles"
|
||||||
getEnglish = "Select file"
|
getEnglish = "Select file"
|
||||||
Exit Function
|
Exit Function
|
||||||
|
Case "cleaningFinished"
|
||||||
|
getEnglish = "Cleaning is completed"
|
||||||
|
Exit Function
|
||||||
Case Else
|
Case Else
|
||||||
getEnglish = "No translation"
|
getEnglish = "No translation"
|
||||||
End Select
|
End Select
|
||||||
|
|
|
@ -218,7 +218,7 @@ Private Sub printNumberingSymbols(needExtendedInfo)
|
||||||
Exit sub
|
Exit sub
|
||||||
Else
|
Else
|
||||||
If resultBad <> "" Then
|
If resultBad <> "" Then
|
||||||
report = "Маркером в следующих списках нумерации задан некорректный символ"& chr(10) & resultBad
|
report = "В качестве маркера в следующих списках нумерации задан некорректный символ"& chr(10) & resultBad
|
||||||
EndIf
|
EndIf
|
||||||
If result <> "" Then
|
If result <> "" Then
|
||||||
report = report & "В следующих списках нумерации найдены шрифты "& chr(10)& result
|
report = report & "В следующих списках нумерации найдены шрифты "& chr(10)& result
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:dep="http://openoffice.org/extensions/description/2006"
|
xmlns:dep="http://openoffice.org/extensions/description/2006"
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<identifier value="pro.litvinovg.Redaction" />
|
<identifier value="pro.litvinovg.Redaction" />
|
||||||
<version value="0.7.3" />
|
<version value="0.7.4" />
|
||||||
<platform value="all" />
|
<platform value="all" />
|
||||||
<display-name>
|
<display-name>
|
||||||
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>
|
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>
|
||||||
|
|
Loading…
Add table
Reference in a new issue