Fixes for latest commit
This commit is contained in:
parent
ac84062a4d
commit
4a85997850
5 changed files with 8 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
|||
xmlns:dep="http://openoffice.org/extensions/description/2006"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<identifier value="pro.litvinovg.epublishing" />
|
||||
<version value="0.3.1" />
|
||||
<version value="0.4.2" />
|
||||
<platform value="all" />
|
||||
<display-name>
|
||||
<name lang="ru">Инструменты для создания электронных изданий</name>
|
||||
|
|
|
@ -1,9 +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="TOCLinks" script:language="StarBasic" script:moduleType="normal">Sub markTOC4
|
||||
End Sub
|
||||
|
||||
Sub makeOutlineLinks
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="TOCLinks" script:language="StarBasic" script:moduleType="normal">Sub makeOutlineLinks
|
||||
Dim i As Integer
|
||||
For i = 1 To 10
|
||||
makeLinksWithLevel(i)
|
||||
|
@ -34,8 +31,7 @@ Sub makeLinksWithLevel(level)
|
|||
MsgBox (getTranslation("TOCErrorContentsNotMatchHeadings1") & " " & level & " (" & (Ubound(outline)+1) & getTranslation("TOCErrorContentsNotMatchHeadings2") & " " & level & " " & getTranslation("TOCErrorContentsNotMatchHeadings3") & (Ubound(heading)+1) & ")"
|
||||
EndIf
|
||||
ElseIf Ubound(outline) = -1 Then
|
||||
|
||||
MsgBox (getTranslation("TOCErrorNoContents1") & " " & level & " " & getTranslation("TOCErrorNoContents2"))
|
||||
' MsgBox (getTranslation("TOCErrorNoContents1") & " " & level & " " & getTranslation("TOCErrorNoContents2"))
|
||||
ElseIf Ubound(heading) = -1 Then
|
||||
MsgBox (getTranslation("TOCErrorNoHeadings1") & " " & level & " " & getTranslation("TOCErrorNoHeadings2"))
|
||||
EndIf
|
||||
|
|
|
@ -115,7 +115,7 @@ Function getRussian(identifier As String) As String
|
|||
Case "TOCErrorNoHeadings1"
|
||||
getRussian = "Не могу сделать ссылки в оглавлении. Заголовоков"
|
||||
Exit Function
|
||||
Case "TOCErrorNoContents1"
|
||||
Case "TOCErrorNoHeadings2"
|
||||
getRussian = "уровня не найдено."
|
||||
Exit Function
|
||||
Case "TOCErrorNoContents1"
|
||||
|
@ -137,7 +137,7 @@ Function getRussian(identifier As String) As String
|
|||
getRussian = "Вы уверены, что хотите запустить сборку выпуска ?"
|
||||
Exit Function
|
||||
Case "compileJournalIssueNoCurFilename"
|
||||
getRussian = "Сборка выпуска начата, подождите"
|
||||
getRussian = "Шаблон выпуска нужно сохранить в директории с файлами статей."
|
||||
Exit Function
|
||||
Case "compileJournalIssueStatusInProgerss"
|
||||
getRussian = "Сборка выпуска начата, подождите"
|
||||
|
@ -279,7 +279,7 @@ Function getEnglish(identifier As String) As String
|
|||
Case "TOCErrorNoHeadings1"
|
||||
getEnglish = "Can't create links in table of contents. No headings with "
|
||||
Exit Function
|
||||
Case "TOCErrorNoContents1"
|
||||
Case "TOCErrorNoHeadings2"
|
||||
getEnglish = "level found."
|
||||
Exit Function
|
||||
Case "TOCErrorNoContents1"
|
||||
|
@ -301,7 +301,7 @@ Function getEnglish(identifier As String) As String
|
|||
getEnglish = "Compile journal issue from articles?"
|
||||
Exit Function
|
||||
Case "compileJournalIssueNoCurFilename"
|
||||
getEnglish = "Issue compilation in progress"
|
||||
getEnglish = "Save issue template in the same directory where are the articles."
|
||||
Exit Function
|
||||
Case "compileJournalIssueStatusInProgerss"
|
||||
getEnglish = "Issue compilation in progress"
|
||||
|
|
|
@ -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="journals" script:language="StarBasic">Private sub journalsMark12
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="journals" script:language="StarBasic">Private sub journalsMark13
|
||||
End sub
|
||||
|
||||
Dim templateName As String
|
||||
|
|
BIN
translations.ods
BIN
translations.ods
Binary file not shown.
Loading…
Add table
Reference in a new issue