Added translations for endnotes check
This commit is contained in:
parent
17c5b58f7d
commit
4a9611ce1a
2 changed files with 18 additions and 3 deletions
|
@ -205,6 +205,9 @@ Function getRussian(identifier As String) As String
|
||||||
Exit Function
|
Exit Function
|
||||||
Case "documentIsReadOnly"
|
Case "documentIsReadOnly"
|
||||||
getRussian = "Документ открыт только для чтения. Запуск чистки в данном режиме невозможен."
|
getRussian = "Документ открыт только для чтения. Запуск чистки в данном режиме невозможен."
|
||||||
|
Exit Function
|
||||||
|
Case "validateEndnotes1"
|
||||||
|
getRussian = "в концевой сноске (абсолютный номер)"
|
||||||
Exit Function
|
Exit Function
|
||||||
Case Else
|
Case Else
|
||||||
getRussian = "Перевод не найден"
|
getRussian = "Перевод не найден"
|
||||||
|
@ -393,6 +396,9 @@ Function getEnglish(identifier As String) As String
|
||||||
Exit Function
|
Exit Function
|
||||||
Case "documentIsReadOnly"
|
Case "documentIsReadOnly"
|
||||||
getEnglish = "The document is read-only. Cleaning cannot be started in this mode."
|
getEnglish = "The document is read-only. Cleaning cannot be started in this mode."
|
||||||
|
Exit Function
|
||||||
|
Case "validateEndnotes1"
|
||||||
|
getEnglish = "in endnote (absolute number)"
|
||||||
Exit Function
|
Exit Function
|
||||||
Case Else
|
Case Else
|
||||||
getEnglish = "No translation"
|
getEnglish = "No translation"
|
||||||
|
@ -581,7 +587,10 @@ Function getCroatian(identifier As String) As String
|
||||||
Case "documentIsReadOnly"
|
Case "documentIsReadOnly"
|
||||||
getCroatian = "Dokument je samo za čitanje. Čišćenje nije moguće pokrenuti u ovom načinu rada."
|
getCroatian = "Dokument je samo za čitanje. Čišćenje nije moguće pokrenuti u ovom načinu rada."
|
||||||
Exit Function
|
Exit Function
|
||||||
Case Else
|
Case "validateEndnotes1"
|
||||||
|
getCroatian = "u end fusnoti (apsolutni broj)"
|
||||||
|
Exit Function
|
||||||
|
Case Else
|
||||||
getCroatian = "No translation"
|
getCroatian = "No translation"
|
||||||
End Select
|
End Select
|
||||||
End Function
|
End Function
|
||||||
|
@ -768,6 +777,9 @@ Function getSerbian(identifier As String) As String
|
||||||
Case "documentIsReadOnly"
|
Case "documentIsReadOnly"
|
||||||
getSerbian = "Документ је само за читање. Чишћење се не може покренути у овом режиму."
|
getSerbian = "Документ је само за читање. Чишћење се не може покренути у овом режиму."
|
||||||
Exit Function
|
Exit Function
|
||||||
|
Case "validateEndnotes1"
|
||||||
|
getSerbian = "у end фусноти (апсолутни број)"
|
||||||
|
Exit Function
|
||||||
Case Else
|
Case Else
|
||||||
getSerbian = "No translation"
|
getSerbian = "No translation"
|
||||||
End Select
|
End Select
|
||||||
|
@ -955,6 +967,9 @@ Function getBosnian(identifier As String) As String
|
||||||
Case "documentIsReadOnly"
|
Case "documentIsReadOnly"
|
||||||
getBosnian = "Dokument je samo za čitanje. Čišćenje nije moguće pokrenuti u ovom načinu rada."
|
getBosnian = "Dokument je samo za čitanje. Čišćenje nije moguće pokrenuti u ovom načinu rada."
|
||||||
Exit Function
|
Exit Function
|
||||||
|
Case "validateEndnotes1"
|
||||||
|
getBosnian = "u end fusnoti (apsolutni broj)"
|
||||||
|
Exit Function
|
||||||
Case Else
|
Case Else
|
||||||
getBosnian = "No translation"
|
getBosnian = "No translation"
|
||||||
End Select
|
End Select
|
||||||
|
|
|
@ -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="Validation" script:language="StarBasic">Sub markval3
|
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Validation" script:language="StarBasic">Sub markval4
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ Private Function noteSingsCheck() As String
|
||||||
For j = 1 to charNum
|
For j = 1 to charNum
|
||||||
char = Asc(Right(Left(label,j),1))
|
char = Asc(Right(Left(label,j),1))
|
||||||
If char >= 57344 AND char <= 63743 then
|
If char >= 57344 AND char <= 63743 then
|
||||||
result = result & getTranslation("validateFootnotes1") & " " & Chr(char) & " " & getTranslation("validateFootnotes2") & " " & i & " " & getTranslation("validateFootnotes3") & chr(10)
|
result = result & getTranslation("validateFootnotes1") & " " & Chr(char) & " " & getTranslation("validateEndnotes1") & " " & i & " " & getTranslation("validateFootnotes3") & chr(10)
|
||||||
End If
|
End If
|
||||||
Next j
|
Next j
|
||||||
Next i
|
Next i
|
||||||
|
|
Loading…
Add table
Reference in a new issue