Translations

This commit is contained in:
Georgy Litvinov 2020-05-04 14:28:39 +02:00
parent 597df6dab5
commit a4ca08b952
5 changed files with 223 additions and 94 deletions

View file

@ -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 mark47 <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark48
End Sub End Sub
@ -18,6 +18,26 @@ Private Sub makerUpMenu
Dim dialog As Object Dim dialog As Object
DialogLibraries.LoadLibrary(&quot;Redaction&quot;) DialogLibraries.LoadLibrary(&quot;Redaction&quot;)
dialog = CreateUnoDialog(DialogLibraries.Redaction.CleaningDialog) dialog = CreateUnoDialog(DialogLibraries.Redaction.CleaningDialog)
dialog.getControl(&quot;fontsInStyles&quot;).Label = getTranslation(&quot;advancedMenuReplaceFontsInStyles&quot;)
dialog.getControl(&quot;symbolsConversion&quot;).Label = getTranslation(&quot;advancedMenuSymbolsConversion&quot;)
dialog.getControl(&quot;cleanFormatting&quot;).Label = getTranslation(&quot;advancedMenuCleanFormatting&quot;)
dialog.getControl(&quot;replaceWhiteBackground&quot;).Label = getTranslation(&quot;advancedMenuReplaceWhiteBackground&quot;)
dialog.getControl(&quot;removeUnusedStyles&quot;).Label = getTranslation(&quot;advancedMenuRemoveUnusedStyles&quot;)
dialog.getControl(&quot;removeLinks&quot;).Label = getTranslation(&quot;advancedMenuRemoveLinks&quot;)
dialog.getControl(&quot;removeBookmarks&quot;).Label = getTranslation(&quot;advancedMenuRemoveBookmarks&quot;)
dialog.getControl(&quot;configTables&quot;).Label = getTranslation(&quot;advancedMenuConfigTables&quot;)
dialog.getControl(&quot;configAnchors&quot;).Label = getTranslation(&quot;advancedMenuConfigAnchors&quot;)
dialog.getControl(&quot;fixMistakes&quot;).Label = getTranslation(&quot;advancedMenuFixMistakes&quot;)
dialog.getControl(&quot;removeInitPageBreak&quot;).Label = getTranslation(&quot;advancedMenuRemoveInitPageBreak&quot;)
dialog.getControl(&quot;removePageStyles&quot;).Label = getTranslation(&quot;advancedMenuRemovePageStyles&quot;)
dialog.getControl(&quot;loadStandardStyles&quot;).Label = getTranslation(&quot;advancedMenuLoadStandardStyles&quot;)
dialog.getControl(&quot;removeManualPageBreaks&quot;).Label = getTranslation(&quot;advancedMenuRemoveManualPageBreaks&quot;)
dialog.getControl(&quot;removeBasic&quot;).Label = getTranslation(&quot;advancedMenuRemoveBasic&quot;)
dialog.getControl(&quot;Cancel&quot;).Label = getTranslation(&quot;buttonCancel&quot;)
dialog.getControl(&quot;OK&quot;).Label = getTranslation(&quot;buttonOK&quot;)
dialog.getControl(&quot;buttonLoad&quot;).Label = getTranslation(&quot;buttonLoad&quot;)
dialog.Title = getTranslation(&quot;advancedMenuDialogTitle&quot;)
dialog.setVisible(true) dialog.setVisible(true)
Select Case dialog.Execute() Select Case dialog.Execute()
Case 1 Case 1
@ -95,7 +115,7 @@ Private Sub cleanAccordingTo(dialog As Object)
statusIndicator.end() statusIndicator.end()
saveAndreload() saveAndreload()
MsgBox getTranslation(lang,&quot;cleaningFinished&quot;) MsgBox getTranslation(&quot;cleaningFinished&quot;)
End Sub End Sub
@ -145,7 +165,7 @@ Private Sub quietCleaning
removeLibs removeLibs
statusIndicator.end() statusIndicator.end()
saveAndreload() saveAndreload()
MsgBox getTranslation(lang,&quot;cleaningFinished&quot;) MsgBox getTranslation(&quot;cleaningFinished&quot;)
End Sub End Sub
Private Sub removeFirstElementPageBreak Private Sub removeFirstElementPageBreak

View file

@ -1,24 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd"> <!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="CleaningDialog" dlg:left="107" dlg:top="22" dlg:width="237" dlg:height="186" dlg:help-text="&amp;21.CleaningDialog.HelpText" dlg:closeable="true" dlg:moveable="true" dlg:title="&amp;22.CleaningDialog.Title"> <dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="CleaningDialog" dlg:left="107" dlg:top="22" dlg:width="237" dlg:height="190" dlg:help-text="&amp;21.CleaningDialog.HelpText" dlg:closeable="true" dlg:moveable="true" dlg:title="&amp;22.CleaningDialog.Title">
<dlg:bulletinboard> <dlg:bulletinboard>
<dlg:button dlg:id="Cancel" dlg:tab-index="0" dlg:left="67" dlg:top="171" dlg:width="40" dlg:height="12" dlg:value="Отмена" dlg:button-type="cancel"/> <dlg:button dlg:id="Cancel" dlg:tab-index="0" dlg:left="28" dlg:top="173" dlg:width="40" dlg:height="12" dlg:value="Отмена" dlg:button-type="cancel"/>
<dlg:button dlg:id="CommandButton1" dlg:tab-index="1" dlg:left="43" dlg:top="170" dlg:width="2" dlg:height="0" dlg:value="CommandButton1"/> <dlg:button dlg:id="CommandButton1" dlg:tab-index="1" dlg:left="24" dlg:top="170" dlg:width="2" dlg:height="0" dlg:value="CommandButton1"/>
<dlg:button dlg:id="OK" dlg:tab-index="2" dlg:left="131" dlg:top="171" dlg:width="40" dlg:height="12" dlg:value="OK" dlg:button-type="ok"/> <dlg:button dlg:id="OK" dlg:tab-index="2" dlg:left="92" dlg:top="173" dlg:width="40" dlg:height="12" dlg:value="OK" dlg:button-type="ok"/>
<dlg:checkbox dlg:id="fontsInStyles" dlg:tab-index="3" dlg:left="11" dlg:top="11" dlg:width="218" dlg:height="7" dlg:value="Заменить названия шрифтов в стилях" dlg:checked="false"/> <dlg:checkbox dlg:id="fontsInStyles" dlg:tab-index="3" dlg:left="11" dlg:top="10" dlg:width="218" dlg:height="7" dlg:value="Заменить названия шрифтов в стилях" dlg:checked="false"/>
<dlg:checkbox dlg:id="removeLinks" dlg:tab-index="6" dlg:left="11" dlg:top="51" dlg:width="218" dlg:height="7" dlg:value="Удалить гиперссылки" dlg:checked="false"/> <dlg:checkbox dlg:id="removeLinks" dlg:tab-index="6" dlg:left="11" dlg:top="50" dlg:width="218" dlg:height="7" dlg:value="Удалить гиперссылки" dlg:checked="false"/>
<dlg:checkbox dlg:id="cleanFormatting" dlg:tab-index="5" dlg:left="11" dlg:top="32" dlg:width="218" dlg:height="7" dlg:value="Очистить форматирование" dlg:checked="false"/> <dlg:checkbox dlg:id="cleanFormatting" dlg:tab-index="5" dlg:left="11" dlg:top="30" dlg:width="218" dlg:height="7" dlg:value="Очистить форматирование" dlg:checked="false"/>
<dlg:checkbox dlg:id="removeBookmarks" dlg:tab-index="7" dlg:left="11" dlg:top="59" dlg:width="218" dlg:height="7" dlg:value="Удалить закладки" dlg:checked="false"/> <dlg:checkbox dlg:id="removeBookmarks" dlg:tab-index="7" dlg:left="11" dlg:top="60" dlg:width="218" dlg:height="7" dlg:value="Удалить закладки" dlg:checked="false"/>
<dlg:checkbox dlg:id="configTables" dlg:tab-index="8" dlg:left="11" dlg:top="70" dlg:width="218" dlg:height="7" dlg:value="Настроить свойства таблиц" dlg:checked="false"/> <dlg:checkbox dlg:id="configTables" dlg:tab-index="8" dlg:left="11" dlg:top="70" dlg:width="218" dlg:height="7" dlg:value="Настроить свойства таблиц" dlg:checked="false"/>
<dlg:checkbox dlg:id="configAnchors" dlg:tab-index="9" dlg:left="11" dlg:top="79" dlg:width="218" dlg:height="7" dlg:value="Настроить привязки изображений" dlg:checked="false"/> <dlg:checkbox dlg:id="configAnchors" dlg:tab-index="9" dlg:left="11" dlg:top="80" dlg:width="218" dlg:height="7" dlg:value="Настроить привязки изображений" dlg:checked="false"/>
<dlg:checkbox dlg:id="fixMistakes" dlg:tab-index="10" dlg:left="11" dlg:top="90" dlg:width="218" dlg:height="7" dlg:value="Исправить часто встречающиеся ошибки набора" dlg:checked="false"/> <dlg:checkbox dlg:id="fixMistakes" dlg:tab-index="10" dlg:left="11" dlg:top="90" dlg:width="218" dlg:height="7" dlg:value="Исправить часто встречающиеся ошибки набора" dlg:checked="false"/>
<dlg:checkbox dlg:id="removeInitPageBreak" dlg:tab-index="11" dlg:left="11" dlg:top="101" dlg:width="218" dlg:height="7" dlg:value="Удалить разрыв страницы в начале документа" dlg:checked="false"/> <dlg:checkbox dlg:id="removeInitPageBreak" dlg:tab-index="11" dlg:left="11" dlg:top="100" dlg:width="218" dlg:height="7" dlg:value="Удалить разрыв страницы в начале документа" dlg:checked="false"/>
<dlg:checkbox dlg:id="removePageStyles" dlg:tab-index="12" dlg:left="11" dlg:top="111" dlg:width="218" dlg:height="7" dlg:value="Удалить пользовательские стили страниц" dlg:checked="false"/> <dlg:checkbox dlg:id="removePageStyles" dlg:tab-index="12" dlg:left="11" dlg:top="110" dlg:width="218" dlg:height="7" dlg:value="Удалить пользовательские стили страниц" dlg:checked="false"/>
<dlg:checkbox dlg:id="loadStandardStyles" dlg:tab-index="13" dlg:left="11" dlg:top="123" dlg:width="218" dlg:height="7" dlg:value="Загрузить стили страниц из шаблона Статья.ott" dlg:checked="false"/> <dlg:checkbox dlg:id="loadStandardStyles" dlg:tab-index="13" dlg:left="11" dlg:top="120" dlg:width="218" dlg:height="7" dlg:value="Загрузить стили страниц из шаблона Статья.ott" dlg:checked="false"/>
<dlg:checkbox dlg:id="symbolsConversion" dlg:tab-index="4" dlg:left="11" dlg:top="22" dlg:width="218" dlg:height="7" dlg:value="Произвести конвертацию символов" dlg:checked="false"/> <dlg:checkbox dlg:id="symbolsConversion" dlg:tab-index="4" dlg:left="11" dlg:top="20" dlg:width="218" dlg:height="7" dlg:value="Произвести конвертацию символов" dlg:checked="false"/>
<dlg:checkbox dlg:id="removeUnusedStyles" dlg:tab-index="14" dlg:left="11" dlg:top="133" dlg:width="218" dlg:height="7" dlg:value="Удалить неиспользуемые стили" dlg:checked="false"/> <dlg:checkbox dlg:id="removeUnusedStyles" dlg:tab-index="14" dlg:left="11" dlg:top="130" dlg:width="218" dlg:height="7" dlg:value="Удалить неиспользуемые стили" dlg:checked="false"/>
<dlg:checkbox dlg:id="removeManualPageBreaks" dlg:tab-index="15" dlg:left="11" dlg:top="143" dlg:width="218" dlg:height="7" dlg:value="Удалить все разрывы страниц" dlg:checked="false"/> <dlg:checkbox dlg:id="removeManualPageBreaks" dlg:tab-index="15" dlg:left="11" dlg:top="140" dlg:width="218" dlg:height="7" dlg:value="Удалить все разрывы страниц" dlg:checked="false"/>
<dlg:checkbox dlg:id="replaceWhiteBackground" dlg:tab-index="16" dlg:left="11" dlg:top="41" dlg:width="218" dlg:height="7" dlg:value="Заменить белый фон символов на прозрачный" dlg:checked="false"/> <dlg:checkbox dlg:id="replaceWhiteBackground" dlg:tab-index="16" dlg:left="11" dlg:top="40" dlg:width="218" dlg:height="7" dlg:value="Заменить белый фон символов на прозрачный" dlg:checked="false"/>
<dlg:checkbox dlg:id="removeBasic" dlg:tab-index="17" dlg:left="11" dlg:top="154" dlg:width="218" dlg:height="7" dlg:value="Удалить макросы" dlg:checked="false"/> <dlg:checkbox dlg:id="removeBasic" dlg:tab-index="17" dlg:left="11" dlg:top="150" dlg:width="218" dlg:height="7" dlg:value="Удалить макросы" dlg:checked="false"/>
<dlg:button dlg:id="buttonLoad" dlg:tab-index="18" dlg:left="158" dlg:top="172" dlg:width="52" dlg:height="12" dlg:value="loadTemplate">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Redaction.Configuration.setDeafultTemplate?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard> </dlg:bulletinboard>
</dlg:window> </dlg:window>

View file

@ -61,22 +61,19 @@ Private Sub configurationDialog
End Sub End Sub
Private Sub quietStartDialog Private Sub quietStartDialog
Globalscope.BasicLibraries.LoadLibrary( &quot;Tools&quot; )
Dim dialog As Object Dim dialog As Object
DialogLibraries.LoadLibrary(&quot;Redaction&quot;) DialogLibraries.LoadLibrary(&quot;Redaction&quot;)
dialog = CreateUnoDialog(DialogLibraries.Redaction.StartQuietCleaning) dialog = CreateUnoDialog(DialogLibraries.Redaction.StartQuietCleaning)
Dim lang As String
lang = GetStarOfficeLocale().Language
Dim description As String Dim description As String
Dim buttonNameOk As String Dim buttonNameOk As String
Dim buttonNameStop As String Dim buttonNameStop As String
Dim buttonNameLoad As String Dim buttonNameLoad As String
Dim dialogTitle As String Dim dialogTitle As String
description = getTranslation(lang,&quot;startQuietCleaningDescription&quot;) description = getTranslation(&quot;startQuietCleaningDescription&quot;)
buttonNameOk = getTranslation(lang,&quot;buttonOk&quot;) buttonNameOk = getTranslation(&quot;buttonYes&quot;)
buttonNameStop = getTranslation(lang,&quot;buttonStop&quot;) buttonNameStop = getTranslation(&quot;buttonStop&quot;)
buttonNameLoad = getTranslation(lang,&quot;buttonLoad&quot;) buttonNameLoad = getTranslation(&quot;buttonLoad&quot;)
dialogTitle = getTranslation(lang,&quot;quietStartCleaningTitle&quot;) dialogTitle = getTranslation(&quot;quietStartCleaningTitle&quot;)
dialog.Title = dialogTitle dialog.Title = dialogTitle
dialog.getControl(&quot;Description&quot;).setText(description) dialog.getControl(&quot;Description&quot;).setText(description)
dialog.getControl(&quot;buttonOk&quot;).Label = buttonNameOk dialog.getControl(&quot;buttonOk&quot;).Label = buttonNameOk
@ -101,16 +98,14 @@ Private Sub noStylesFileDialog
Dim dialog As Object Dim dialog As Object
DialogLibraries.LoadLibrary(&quot;Redaction&quot;) DialogLibraries.LoadLibrary(&quot;Redaction&quot;)
dialog = CreateUnoDialog(DialogLibraries.Redaction.NoStyleFile) dialog = CreateUnoDialog(DialogLibraries.Redaction.NoStyleFile)
Dim lang As String
lang = GetStarOfficeLocale().Language
Dim description As String Dim description As String
Dim buttonName As String Dim buttonName As String
Dim dialogTitle As String Dim dialogTitle As String
Dim buttonTemplateNotFoundSkip As String Dim buttonTemplateNotFoundSkip As String
dialogTitle = getTranslation(lang,&quot;noStylesFileDialogTitle&quot;) dialogTitle = getTranslation(&quot;noStylesFileDialogTitle&quot;)
description = getTranslation(lang,&quot;noFileWithStylesFound&quot;) description = getTranslation(&quot;noFileWithStylesFound&quot;)
buttonName = getTranslation(lang,&quot;buttonNameToSelectFileWithStyles&quot;) buttonName = getTranslation(&quot;buttonNameToSelectFileWithStyles&quot;)
buttonTemplateNotFoundSkip = getTranslation(lang,&quot;buttonTemplateNotFoundSkip&quot;) buttonTemplateNotFoundSkip = getTranslation(&quot;buttonTemplateNotFoundSkip&quot;)
dialog.Title = dialogTitle dialog.Title = dialogTitle
dialog.getControl(&quot;Description&quot;).setText(description) dialog.getControl(&quot;Description&quot;).setText(description)
dialog.getControl(&quot;FileSelection&quot;).Label = buttonName dialog.getControl(&quot;FileSelection&quot;).Label = buttonName

View file

@ -1,7 +1,10 @@
<?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="Translations" script:language="StarBasic" script:moduleType="normal"> <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Translations" script:language="StarBasic" script:moduleType="normal">
Function getTranslation(lang As String, identifier As String) As String Function getTranslation(identifier As String) As String
Globalscope.BasicLibraries.LoadLibrary( &quot;Tools&quot; )
Dim lang As String
lang = GetStarOfficeLocale().Language
Select Case lang Select Case lang
Case &quot;ru&quot; Case &quot;ru&quot;
getTranslation = getRussian(identifier) getTranslation = getRussian(identifier)
@ -20,7 +23,7 @@ Function getRussian(identifier As String) As String
Case &quot;startQuietCleaningDescription&quot; Case &quot;startQuietCleaningDescription&quot;
getRussian = &quot;Вы хотите запустить чистку документа? &quot; &amp; chr(10) &amp; &quot;Здесь Вы можете также указать новый файл-шаблон.&quot; &amp; chr(10) &amp; &quot;Стили из шаблона будут загружены в документ.&quot; getRussian = &quot;Вы хотите запустить чистку документа? &quot; &amp; chr(10) &amp; &quot;Здесь Вы можете также указать новый файл-шаблон.&quot; &amp; chr(10) &amp; &quot;Стили из шаблона будут загружены в документ.&quot;
Exit Function Exit Function
Case &quot;buttonOk&quot; Case &quot;buttonYes&quot;
getRussian = &quot;Да&quot; getRussian = &quot;Да&quot;
Exit Function Exit Function
Case &quot;quietStartCleaningTitle&quot; Case &quot;quietStartCleaningTitle&quot;
@ -44,8 +47,62 @@ Function getRussian(identifier As String) As String
Case &quot;cleaningFinished&quot; Case &quot;cleaningFinished&quot;
getRussian = &quot;Чистка завершена&quot; getRussian = &quot;Чистка завершена&quot;
Exit Function Exit Function
Case &quot;advancedMenuDialogTitle&quot;
getRussian = &quot;Чистка в экспертном режиме &quot;
Exit Function
Case &quot;buttonCancel&quot;
getRussian = &quot;Отмена&quot;
Exit Function
Case &quot;buttonOK&quot;
getRussian = &quot;Запуск&quot;
Exit Function
Case &quot;advancedMenuRemoveBasic&quot;
getRussian = &quot;Удалить макросы из файла&quot;
Exit Function
Case &quot;advancedMenuRemoveManualPageBreaks&quot;
getRussian = &quot;Удалить ручные разрывы страниц&quot;
Exit Function
Case &quot;advancedMenuLoadStandardStyles&quot;
getRussian = &quot;Загрузить стили из шаблона&quot;
Exit Function
Case &quot;advancedMenuRemovePageStyles&quot;
getRussian = &quot;Удалить пользовательские стили страниц&quot;
Exit Function
Case &quot;advancedMenuRemoveInitPageBreak&quot;
getRussian = &quot;Удалить разрыв страницы в начале документа&quot;
Exit Function
Case &quot;advancedMenuFixMistakes&quot;
getRussian = &quot;Исправить часто встречающиеся ошибки&quot;
Exit Function
Case &quot;advancedMenuConfigAnchors&quot;
getRussian = &quot;Настроить привязки изображений для электронных публикаций&quot;
Exit Function
Case &quot;advancedMenuConfigTables&quot;
getRussian = &quot;Настроить таблицы для электронных публикаций&quot;
Exit Function
Case &quot;advancedMenuRemoveBookmarks&quot;
getRussian = &quot;Удалить закладки&quot;
Exit Function
Case &quot;advancedMenuRemoveLinks&quot;
getRussian = &quot;Удалить ссылки&quot;
Exit Function
Case &quot;advancedMenuRemoveUnusedStyles&quot;
getRussian = &quot;Удалить неиспользуемые стили&quot;
Exit Function
Case &quot;advancedMenuReplaceWhiteBackground&quot;
getRussian = &quot;Заменить белый фон символов на прозрачный&quot;
Exit Function
Case &quot;advancedMenuCleanFormatting&quot;
getRussian = &quot;Очистить форматирование&quot;
Exit Function
Case &quot;advancedMenuSymbolsConversion&quot;
getRussian = &quot;Произвести конвертацию символов&quot;
Exit Function
Case &quot;advancedMenuReplaceFontsInStyles&quot;
getRussian = &quot;Заменить шрифты стилях&quot;
Exit Function
Case Else Case Else
getRussian = getEnglish(identifier) getRussian = &quot;Перевод не найден&quot;
End Select End Select
End Function End Function
@ -58,17 +115,17 @@ Function getEnglish(identifier As String) As String
Case &quot;startQuietCleaningDescription&quot; 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.&quot; &amp; chr(10) &amp; &quot;Styles will be loaded in process of 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 Exit Function
Case &quot;noStylesFileDialogTitle&quot; Case &quot;buttonYes&quot;
getEnglish = &quot;Template file not found&quot; getEnglish = &quot;Ok&quot;
Exit Function Exit Function
Case &quot;quietStartCleaningTitle&quot; Case &quot;quietStartCleaningTitle&quot;
getEnglish = &quot;Confirmation&quot; getEnglish = &quot;Confirmation&quot;
Exit Function Exit Function
Case &quot;buttonTemplateNotFoundSkip&quot; Case &quot;noStylesFileDialogTitle&quot;
getRussian = &quot;Proceed&quot; getEnglish = &quot;Template file not found&quot;
Exit Function Exit Function
Case &quot;buttonOk&quot; Case &quot;buttonTemplateNotFoundSkip&quot;
getEnglish = &quot;Ok&quot; getEnglish = &quot;Proceed&quot;
Exit Function Exit Function
Case &quot;buttonStop&quot; Case &quot;buttonStop&quot;
getEnglish = &quot;Cancel&quot; getEnglish = &quot;Cancel&quot;
@ -82,6 +139,60 @@ Function getEnglish(identifier As String) As String
Case &quot;cleaningFinished&quot; Case &quot;cleaningFinished&quot;
getEnglish = &quot;Cleaning is completed&quot; getEnglish = &quot;Cleaning is completed&quot;
Exit Function Exit Function
Case &quot;advancedMenuDialogTitle&quot;
getEnglish = &quot;Advanced cleaning&quot;
Exit Function
Case &quot;buttonCancel&quot;
getEnglish = &quot;Cancel&quot;
Exit Function
Case &quot;buttonOK&quot;
getEnglish = &quot;Start&quot;
Exit Function
Case &quot;advancedMenuRemoveBasic&quot;
getEnglish = &quot;Remove macro from file&quot;
Exit Function
Case &quot;advancedMenuRemoveManualPageBreaks&quot;
getEnglish = &quot;Remove manual page breaks&quot;
Exit Function
Case &quot;advancedMenuLoadStandardStyles&quot;
getEnglish = &quot;Load styles from template&quot;
Exit Function
Case &quot;advancedMenuRemovePageStyles&quot;
getEnglish = &quot;Remove custom page styles&quot;
Exit Function
Case &quot;advancedMenuRemoveInitPageBreak&quot;
getEnglish = &quot;Remove page break at document start&quot;
Exit Function
Case &quot;advancedMenuFixMistakes&quot;
getEnglish = &quot;Remove frequent mistakes&quot;
Exit Function
Case &quot;advancedMenuConfigAnchors&quot;
getEnglish = &quot;Configure image anchors for digital publications&quot;
Exit Function
Case &quot;advancedMenuConfigTables&quot;
getEnglish = &quot;Configure tables for digital publications&quot;
Exit Function
Case &quot;advancedMenuRemoveBookmarks&quot;
getEnglish = &quot;Remove bookmarks&quot;
Exit Function
Case &quot;advancedMenuRemoveLinks&quot;
getEnglish = &quot;Remove links&quot;
Exit Function
Case &quot;advancedMenuRemoveUnusedStyles&quot;
getEnglish = &quot;Remove unused styles&quot;
Exit Function
Case &quot;advancedMenuReplaceWhiteBackground&quot;
getEnglish = &quot;Replace white symbol back with transparent&quot;
Exit Function
Case &quot;advancedMenuCleanFormatting&quot;
getEnglish = &quot;Clean manual formatting&quot;
Exit Function
Case &quot;advancedMenuSymbolsConversion&quot;
getEnglish = &quot;Convert symbols&quot;
Exit Function
Case &quot;advancedMenuReplaceFontsInStyles&quot;
getEnglish = &quot;Replace fonts in styles&quot;
Exit Function
Case Else Case Else
getEnglish = &quot;No translation&quot; getEnglish = &quot;No translation&quot;
End Select End Select

View file

@ -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.6" /> <version value="0.7.7" />
<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>