More translations
This commit is contained in:
parent
fce72b8a2d
commit
1d23b91b11
4 changed files with 17 additions and 1 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 mark50
|
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark51
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,10 @@ Private Sub configurationDialog
|
||||||
DialogLibraries.LoadLibrary("Redaction")
|
DialogLibraries.LoadLibrary("Redaction")
|
||||||
dialog = CreateUnoDialog(DialogLibraries.Redaction.ConfigDialog)
|
dialog = CreateUnoDialog(DialogLibraries.Redaction.ConfigDialog)
|
||||||
loadConfigToDialog(dialog)
|
loadConfigToDialog(dialog)
|
||||||
|
dialog.getControl("CB_complexity").Label = getTranslation("dialogConfigComplexity")
|
||||||
|
dialog.Title = getTranslation("dialogConfigTitle")
|
||||||
|
dialog.getControl("OK").Label = getTranslation("buttonYes")
|
||||||
|
dialog.getControl("CANCEL").Label = getTranslation("buttonStop")
|
||||||
dialog.setVisible(true)
|
dialog.setVisible(true)
|
||||||
Select Case dialog.Execute()
|
Select Case dialog.Execute()
|
||||||
Case 1
|
Case 1
|
||||||
|
|
|
@ -185,6 +185,12 @@ Function getRussian(identifier As String) As String
|
||||||
Case "validateNumberingSymbol"
|
Case "validateNumberingSymbol"
|
||||||
getRussian = "символ"
|
getRussian = "символ"
|
||||||
Exit Function
|
Exit Function
|
||||||
|
Case "dialogConfigComplexity"
|
||||||
|
getRussian = "Включить режим эксперта"
|
||||||
|
Exit Function
|
||||||
|
Case "dialogConfigTitle"
|
||||||
|
getRussian = "Настройка чистки и проверки"
|
||||||
|
Exit Function
|
||||||
Case Else
|
Case Else
|
||||||
getRussian = "Перевод не найден"
|
getRussian = "Перевод не найден"
|
||||||
End Select
|
End Select
|
||||||
|
@ -361,6 +367,12 @@ Function getEnglish(identifier As String) As String
|
||||||
Case "validateNumberingSymbol"
|
Case "validateNumberingSymbol"
|
||||||
getEnglish = "symbol"
|
getEnglish = "symbol"
|
||||||
Exit Function
|
Exit Function
|
||||||
|
Case "dialogConfigComplexity"
|
||||||
|
getEnglish = "Enable advanced mode"
|
||||||
|
Exit Function
|
||||||
|
Case "dialogConfigTitle"
|
||||||
|
getEnglish = "Clean and validation configuration"
|
||||||
|
Exit Function
|
||||||
Case Else
|
Case Else
|
||||||
getEnglish = "No translation"
|
getEnglish = "No translation"
|
||||||
End Select
|
End Select
|
||||||
|
|
BIN
translations.ods
BIN
translations.ods
Binary file not shown.
Loading…
Add table
Reference in a new issue