[Libreoffice-commits] dev-tools.git: 5 commits - helpauthoring/Addons.xcu helpauthoring/description-en-US.txt helpauthoring/description.xml helpauthoring/filter helpauthoring/help helpauthoring/HelpAuthoring
Jan Holesovsky
kendy at collabora.com
Mon Sep 7 05:58:50 PDT 2015
helpauthoring/Addons.xcu | 112 +++++-----
helpauthoring/HelpAuthoring/Embed.xba | 4
helpauthoring/HelpAuthoring/Helpers.xba | 17 +
helpauthoring/HelpAuthoring/Link.xba | 2
helpauthoring/HelpAuthoring/OtherElements.xba | 2
helpauthoring/HelpAuthoring/Validate.xba | 2
helpauthoring/HelpAuthoring/_Main.xba | 16 -
helpauthoring/description-en-US.txt | 3
helpauthoring/description.xml | 18 +
helpauthoring/filter/xmlhelp2soffice.xsl | 2
helpauthoring/help/en-US/org.openoffice.helpauthoring/helpauthoring.xhp | 6
11 files changed, 114 insertions(+), 70 deletions(-)
New commits:
commit 22a16a0ec82ba511457d859b21930ddf8ea32b36
Author: Jan Holesovsky <kendy at collabora.com>
Date: Mon Sep 7 09:42:24 2015 +0200
helpauthoring: New release 3.1.1.
This release fixes several bugs, and brings some usability improvements, like
better organization of the menus, or warnings about document root.
It is also made explicitly dependendant on LibreOffice 4.4 or later, it makes
no sense to target older versions.
diff --git a/helpauthoring/HelpAuthoring/_Main.xba b/helpauthoring/HelpAuthoring/_Main.xba
index f44868f..e12e9a2 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -24,7 +24,7 @@
' # the License at http://www.apache.org/licenses/LICENSE-2.0 .
' #
-Global Const Version = "v3.1.0"
+Global Const Version = "v3.1.1"
Global Const strErr_NoHelpFile = "Not a Help File"
diff --git a/helpauthoring/description-en-US.txt b/helpauthoring/description-en-US.txt
new file mode 100644
index 0000000..1fd35e3
--- /dev/null
+++ b/helpauthoring/description-en-US.txt
@@ -0,0 +1,3 @@
+Help authoring extension is a tool to create and maintain the LibreOffice help files (.xhp) easily.
+
+For details, please see https://wiki.documentfoundation.org/Documentation/Help
diff --git a/helpauthoring/description.xml b/helpauthoring/description.xml
index 56e61c3..71e7ff7 100644
--- a/helpauthoring/description.xml
+++ b/helpauthoring/description.xml
@@ -16,20 +16,30 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006"
+<description xmlns="http://openoffice.org/extensions/description/2006"
+ xmlns:d="http://openoffice.org/extensions/description/2006"
+ xmlns:l="http://libreoffice.org/extensions/description/2011"
xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="org.openoffice.helpauthoring"/>
- <version value="3.1.0"/>
+ <version value="3.1.1"/>
<display-name>
- <name lang="en">Help authoring extension tool</name>
+ <name lang="en">Help authoring extension</name>
</display-name>
<dependencies>
- <OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>
+ <l:LibreOffice-minimal-version value="4.4" d:name="LibreOffice 4.4"/>
</dependencies>
+ <publisher>
+ <name lang="en-US" xlink:href="https://wiki.documentfoundation.org/Documentation/Help">HelpAuthoring How-to</name>
+ </publisher>
+
+ <extension-description>
+ <src lang="en-US" xlink:href="description-en-US.txt"/>
+ </extension-description>
+
<update-information>
</update-information>
diff --git a/helpauthoring/filter/xmlhelp2soffice.xsl b/helpauthoring/filter/xmlhelp2soffice.xsl
index 88cc8fa..67a6357 100644
--- a/helpauthoring/filter/xmlhelp2soffice.xsl
+++ b/helpauthoring/filter/xmlhelp2soffice.xsl
@@ -103,7 +103,7 @@ FILTER FOR OPENOFFICE.ORG 2+
<office:document>
<office:meta>
- <meta:generator>OpenOffice.org Import Filter</meta:generator>
+ <meta:generator>LibreOffice Import Filter</meta:generator>
<dc:title>
<xsl:value-of select="/helpdocument/meta/topic/title"/>
diff --git a/helpauthoring/help/en-US/org.openoffice.helpauthoring/helpauthoring.xhp b/helpauthoring/help/en-US/org.openoffice.helpauthoring/helpauthoring.xhp
index 55040c8..b267752 100644
--- a/helpauthoring/help/en-US/org.openoffice.helpauthoring/helpauthoring.xhp
+++ b/helpauthoring/help/en-US/org.openoffice.helpauthoring/helpauthoring.xhp
@@ -19,7 +19,7 @@
<meta>
<topic id="topic_0624201011181951" indexer="exclude" status="PUBLISH">
-<title xml-lang="en-US" id="tit">Open Office Help Authoring</title>
+<title xml-lang="en-US" id="tit">LibreOffice Help Authoring</title>
<filename>org.openoffice.helpauthoring/helpauthoring.xhp</filename>
</topic>
</meta>
@@ -27,9 +27,9 @@
<bookmark xml-lang="en-US" branch="hid/vnd.sun.star.script:HelpAuthoring._Main.DisplayVersion?language=Basic&location=application" id="bm_id0713201003430567" localize="false"/>
<paragraph id="par_id0713201005170786" role="paragraph" xml-lang="en-US"><ahelp hid="" visibility="hidden">Displays the extension version</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="index" id="bm_id0625201012139898">
-<bookmark_value>OpenOffice Help Authoring</bookmark_value>
+<bookmark_value>LibreOffice Help Authoring</bookmark_value>
<bookmark_value>Help;authoring</bookmark_value>
</bookmark>
-<paragraph id="hd_id062420105457654" role="heading" xml-lang="en-US" level="1"><variable id="topictitle"><link href="org.openoffice.helpauthoring/helpauthoring.xhp">Open Office Help Authoring Framework</link></variable></paragraph>
+<paragraph id="hd_id062420105457654" role="heading" xml-lang="en-US" level="1"><variable id="topictitle"><link href="org.openoffice.helpauthoring/helpauthoring.xhp">LibreOffice Help Authoring Framework</link></variable></paragraph>
</body>
</helpdocument>
commit 79d375e553f6c8b1c9fae2ab4333c41822ec0607
Author: Jan Holesovsky <kendy at collabora.com>
Date: Mon Sep 7 10:13:23 2015 +0200
helpauthoring: Lead the user to setting the Document Root.
Without that, many things do not work properly.
diff --git a/helpauthoring/HelpAuthoring/Embed.xba b/helpauthoring/HelpAuthoring/Embed.xba
index 704d16f..0f82833 100644
--- a/helpauthoring/HelpAuthoring/Embed.xba
+++ b/helpauthoring/HelpAuthoring/Embed.xba
@@ -52,7 +52,7 @@ Sub Main(optional bCR As Boolean)
oOpVariable = oDialog.GetControl("opVariable")
oOpSection = oDialog.GetControl("opSection")
- DocRoot = ReadConfig("HelpPrefix")
+ DocRoot = GetDocumentRoot()
EmbedFolder = ReadConfig("LastEmbedDir")
EmbedFile = ReadConfig("LastEmbedFile")
EmbedID = ReadConfig("LastEmbedAnchor")
@@ -125,7 +125,7 @@ Dim ListAny(0) as Long
oFileDialog = CreateUnoService("com.sun.star.ui.dialogs.FilePicker")
oFileDialog.Initialize(ListAny())
- DocRoot = ReadConfig("HelpPrefix")
+ DocRoot = GetDocumentRoot()
sLastEmbedDir = ReadConfig("LastEmbedDir")
sLastEmbedFile = ReadConfig("LastEmbedFile")
diff --git a/helpauthoring/HelpAuthoring/Helpers.xba b/helpauthoring/HelpAuthoring/Helpers.xba
index 6e13da9..628578d 100644
--- a/helpauthoring/HelpAuthoring/Helpers.xba
+++ b/helpauthoring/HelpAuthoring/Helpers.xba
@@ -1039,13 +1039,23 @@ Function WriteConfig(Parm As String, Value As String)
End Function
Function GetRelPath(sPath As String)
- sHelpPrefix = ReadConfig("HelpPrefix")
+ sHelpPrefix = GetDocumentRoot()
If sHelpPrefix = "" Then
sHelpPrefix = SetDocumentRoot
End If
GetRelPath = Right(sPath, Len(sPath)-(InStr(sPath,sHelpPrefix) + Len(sHelpPrefix)-1))
End Function
+Function GetDocumentRoot
+ sHelpPrefix = ReadConfig("HelpPrefix")
+ If sHelpPrefix = "" Then
+ msgbox("The Document Root is not set."+chr(13)+chr(13)+"You will be asked to set it in the following dialog. It is the directory 'source/' in the LibreOffice 'help' git repository."+chr(13)+chr(13)+"You need to set it only once, then it is remembered in the configuration. You can change it later using Help Authoring -> Set Document Root...",0,"Warning")
+ sHelpPrefix = SetDocumentRoot
+ msgbox("The Document Root has been set to: "+sHelpPrefix)
+ End If
+ GetDocumentRoot = sHelpPrefix
+End Function
+
Function SetDocumentRoot
sHelpPrefix = ReadConfig("HelpPrefix")
oFolderDialog = CreateUnoService("com.sun.star.ui.dialogs.FolderPicker")
@@ -1065,10 +1075,7 @@ End Function
Function MakeAbsPath(sPath As String)
- sHelpPrefix = ReadConfig("HelpPrefix")
- If sHelpPrefix = "" Then
- sHelpPrefix = SetDocumentRoot
- End If
+ sHelpPrefix = GetDocumentRoot()
If Right(sPath,4) <> ".xhp" Then
sPath=sPath+".xhp"
diff --git a/helpauthoring/HelpAuthoring/Link.xba b/helpauthoring/HelpAuthoring/Link.xba
index cfdc6cf..96429a9 100644
--- a/helpauthoring/HelpAuthoring/Link.xba
+++ b/helpauthoring/HelpAuthoring/Link.xba
@@ -35,7 +35,7 @@ Sub Main
GlobalScope.BasicLibraries.loadLibrary("Tools")
Dim ListAny(0) as Long
- DocRoot = ReadConfig("HelpPrefix")
+ DocRoot = GetDocumentRoot()
sLastLinkDir = ReadConfig("LastLinkDir")
sLastLinkFile = ReadConfig("LastLinkFile")
diff --git a/helpauthoring/HelpAuthoring/OtherElements.xba b/helpauthoring/HelpAuthoring/OtherElements.xba
index 75746ec..8e9d50e 100644
--- a/helpauthoring/HelpAuthoring/OtherElements.xba
+++ b/helpauthoring/HelpAuthoring/OtherElements.xba
@@ -74,7 +74,7 @@ Sub InsertGraphic
GlobalScope.BasicLibraries.loadLibrary("Tools")
sFName = OpenGraphics
If sFName <> "" Then
- DocRoot = ReadConfig("HelpPrefix")
+ DocRoot = GetDocumentRoot()
' msgbox("DocRoot "+DocRoot+chr(13)+"FName "+sFName)
If not(IsSubDir(sFName,DocRoot)) Then
diff --git a/helpauthoring/HelpAuthoring/_Main.xba b/helpauthoring/HelpAuthoring/_Main.xba
index 49f1a81..f44868f 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -47,7 +47,7 @@ End Sub
Sub SetMetaDataOnSave(Path as String)
document = StarDesktop.CurrentComponent
- sDocRoot = ReadConfig("HelpPrefix")
+ sDocRoot = GetDocumentRoot()
If Path = "" Then
Path = document.URL
@@ -135,7 +135,7 @@ Dim oStoreProperties(0) as New com.sun.star.beans.PropertyValue
On Local Error Goto ERRHANDLE:
sLastSaveDir = ReadConfig("LastSaveDir")
- sDocRoot = ReadConfig("HelpPrefix")
+ sDocRoot = GetDocumentRoot()
ListAny(0) = com.sun.star.ui.dialogs.TemplateDescription.FILESAVE_AUTOEXTENSION_PASSWORD
oFileDialog = CreateUnoService("com.sun.star.ui.dialogs.FilePicker")
@@ -175,7 +175,7 @@ End Sub
Sub CheckOnLoad
' oDoc = StarDesktop.CurrentComponent
-' sDocRoot = ReadConfig("HelpPrefix")
+' sDocRoot = GetDocumentRoot()
' If sDocRoot="" Then
' msgbox("No document root set. Please set the root folder for your documents.")
' sDocRoot = SetDocumentRoot
@@ -197,7 +197,7 @@ Dim ListAny(0) as Long
Dim FileProperties(1) As New com.sun.star.beans.PropertyValue
sLastSaveDir = ReadConfig("LastSaveDir")
- sDocRoot = ReadConfig("HelpPrefix")
+ sDocRoot = GetDocumentRoot()
ListAny(0) = com.sun.star.ui.dialogs.TemplateDescription.FILEOPEN_SIMPLE
oFileDialog = CreateUnoService("com.sun.star.ui.dialogs.FilePicker")
oFileDialog.Initialize(ListAny())
commit b422d0ee3142d579c84b4044b0d80b4e646fce2d
Author: Regina Henschel <rb.henschel at t-online.de>
Date: Mon Sep 7 08:55:39 2015 +0200
helpauthoring tdf#93979: Don't remove the leading '/' from <filename>.
diff --git a/helpauthoring/HelpAuthoring/_Main.xba b/helpauthoring/HelpAuthoring/_Main.xba
index 11c95de..49f1a81 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -56,7 +56,11 @@ Sub SetMetaDataOnSave(Path as String)
If not(IsSubDir(Path,sDocRoot)) Then ' doesn'tr work when resaving the file since it contains the OLD url (before resave)
msgbox("The File"+chr(13)+Path+chr(13)+"is outside of your Document Root"+chr(13)+sDocRoot+chr(13)+chr(13)+"You may want to adjust your document root settings and re-save the file.",48,"Warning")
Else
- Path = Right(Path,Len(Path)-Len(sDocRoot))
+ nSlash = 0
+ If Right(sDocRoot,1) = "/" Then
+ nSlash = 1
+ End If
+ Path = Right(Path,Len(Path)-Len(sDocRoot)+nSlash)
End If
' document.DocumentInfo.SetUserFieldName(0,"Indexer")
commit 900b7bb18ba5d5b0fa434978e44bc17704dde6cc
Author: Jan Holesovsky <kendy at collabora.com>
Date: Sun Sep 6 00:49:08 2015 +0200
helpauthoring: Reorganize the menus.
Add separators & move entries around to make them more usable. Based on Jay's
input - thanks! :-)
diff --git a/helpauthoring/Addons.xcu b/helpauthoring/Addons.xcu
index 7330bce..80c44eb 100644
--- a/helpauthoring/Addons.xcu
+++ b/helpauthoring/Addons.xcu
@@ -31,182 +31,202 @@
<node oor:name="Submenu">
<node oor:name="m00" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring._Main.OpenXHP?language=Basic&location=application</value>
+ <value>vnd.sun.star.script:HelpAuthoring.Helpers.SetDocumentRoot?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Open Help File</value>
+ <value xml:lang="en-US">Set Document Root...</value>
</prop>
</node>
<node oor:name="m01" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring._Main.CreateFile?language=Basic&location=application</value>
- </prop>
- <prop oor:name="Title" oor:type="xs:string">
- <value/>
- <value xml:lang="en-US">Create Help File</value>
+ <value>private:separator</value>
</prop>
</node>
<node oor:name="m02" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring._Main.DisplayVersion?language=Basic&location=application</value>
+ <value>vnd.sun.star.script:HelpAuthoring._Main.CreateFile?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">About</value>
+ <value xml:lang="en-US">Create Help File...</value>
</prop>
</node>
<node oor:name="m03" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring.Helpers.SetDocumentRoot?language=Basic&location=application</value>
+ <value>vnd.sun.star.script:HelpAuthoring._Main.OpenXHP?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Set Document Root</value>
+ <value xml:lang="en-US">Open Help File...</value>
</prop>
</node>
<node oor:name="m04" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring.Meta.Main?language=Basic&location=application</value>
+ <value>vnd.sun.star.script:HelpAuthoring.Validate.Validate?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Edit Meta Data </value>
+ <value xml:lang="en-US">Validate this Help File</value>
</prop>
</node>
<node oor:name="m05" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring.Validate.Validate?language=Basic&location=application</value>
+ <value>private:separator</value>
+ </prop>
+ </node>
+ <node oor:name="m06" oor:op="replace">
+ <prop oor:name="URL" oor:type="xs:string">
+ <value>vnd.sun.star.script:HelpAuthoring.Helpers.InsertNewParaData?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Validate this Help File </value>
+ <value xml:lang="en-US">Assign ID</value>
</prop>
</node>
- <node oor:name="m06" oor:op="replace">
+ <node oor:name="m07" oor:op="replace">
+ <prop oor:name="URL" oor:type="xs:string">
+ <value>vnd.sun.star.script:HelpAuthoring.Meta.Main?language=Basic&location=application</value>
+ </prop>
+ <prop oor:name="Title" oor:type="xs:string">
+ <value/>
+ <value xml:lang="en-US">Edit Meta Data</value>
+ </prop>
+ </node>
+ <node oor:name="m08" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.OtherElements.ToggleParaL10NStatus?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Toggle L10N </value>
+ <value xml:lang="en-US">Toggle L10N</value>
</prop>
</node>
- <node oor:name="m07" oor:op="replace">
+ <node oor:name="m09" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring.Helpers.InsertNewParaData?language=Basic&location=application</value>
+ <value>vnd.sun.star.script:HelpAuthoring.Embed.Main?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Assign ID </value>
+ <value xml:lang="en-US">Transclude (Embed)</value>
</prop>
</node>
- <node oor:name="m08" oor:op="replace">
+ <node oor:name="m10" oor:op="replace">
+ <prop oor:name="URL" oor:type="xs:string">
+ <value>private:separator</value>
+ </prop>
+ </node>
+ <node oor:name="m11" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.Comment.Main?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Comment </value>
+ <value xml:lang="en-US">Insert Comment</value>
</prop>
</node>
- <node oor:name="m09" oor:op="replace">
+ <node oor:name="m12" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.Table.Main?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Table </value>
+ <value xml:lang="en-US">Insert Table</value>
</prop>
</node>
- <node oor:name="m10" oor:op="replace">
+ <node oor:name="m13" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.Link.Main?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Link </value>
+ <value xml:lang="en-US">Insert Link</value>
</prop>
</node>
- <node oor:name="m11" oor:op="replace">
+ <node oor:name="m14" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.HID.Main?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Help ID </value>
+ <value xml:lang="en-US">Insert Help ID</value>
</prop>
</node>
- <node oor:name="m12" oor:op="replace">
+ <node oor:name="m15" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.IND.Main?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Index Entry </value>
+ <value xml:lang="en-US">Insert Index Entry</value>
</prop>
</node>
- <node oor:name="m13" oor:op="replace">
+ <node oor:name="m16" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertExtendedTip?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Extended Tip </value>
+ <value xml:lang="en-US">Insert Extended Tip</value>
</prop>
</node>
- <node oor:name="m14" oor:op="replace">
+ <node oor:name="m17" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertHowToGet?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">"How to Get" Section </value>
+ <value xml:lang="en-US">"How to Get" Section</value>
</prop>
</node>
- <node oor:name="m15" oor:op="replace">
+ <node oor:name="m18" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertGraphic?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Image </value>
+ <value xml:lang="en-US">Insert Image</value>
</prop>
</node>
- <node oor:name="m16" oor:op="replace">
+ <node oor:name="m19" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertSection?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Section </value>
+ <value xml:lang="en-US">Insert Section</value>
</prop>
</node>
- <node oor:name="m17" oor:op="replace">
+ <node oor:name="m20" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertVariable?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Insert Variable </value>
+ <value xml:lang="en-US">Insert Variable</value>
</prop>
</node>
- <node oor:name="m18" oor:op="replace">
+ <node oor:name="m21" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring.Embed.Main?language=Basic&location=application</value>
+ <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertRelatedTopics?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">Transclude (Embed) </value>
+ <value xml:lang="en-US">"Related Topics" Section</value>
</prop>
</node>
- <node oor:name="m19" oor:op="replace">
+ <node oor:name="m22" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:HelpAuthoring.OtherElements.InsertRelatedTopics?language=Basic&location=application</value>
+ <value>private:separator</value>
+ </prop>
+ </node>
+ <node oor:name="m23" oor:op="replace">
+ <prop oor:name="URL" oor:type="xs:string">
+ <value>vnd.sun.star.script:HelpAuthoring._Main.DisplayVersion?language=Basic&location=application</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
- <value xml:lang="en-US">"Related Topics" Section </value>
+ <value xml:lang="en-US">About</value>
</prop>
</node>
</node>
commit 85e827e9d4de24adbb21612d7f92c55d442f1e6b
Author: Jan Holesovsky <kendy at collabora.com>
Date: Sun Sep 6 00:23:18 2015 +0200
helpauthoring: Fix typo.
diff --git a/helpauthoring/HelpAuthoring/Validate.xba b/helpauthoring/HelpAuthoring/Validate.xba
index 862e32b..cbdab4b 100644
--- a/helpauthoring/HelpAuthoring/Validate.xba
+++ b/helpauthoring/HelpAuthoring/Validate.xba
@@ -207,7 +207,7 @@ Sub CheckParaID(TE As Object)
If posID = 0 Then
If bWarnParaNoID Then
- Warn("Paragraph has no id.","IDs will be assigned on safe. You can also assign an ID using the Assign Paragraph ID menu item",TPE)
+ Warn("Paragraph has no ID.","IDs will be assigned on save. You can also assign an ID using the Assign Paragraph ID menu item",TPE)
bWarnParaNoID = FALSE
InsertNewParaData
Else
More information about the Libreoffice-commits
mailing list