Commit Graph

54 Commits

Author SHA1 Message Date
2f6e93f728 remove "-" between FileAttr-Function and FileLen-Function
to be consistent with the rest of the functions
reported via pootle-feedback

Change-Id: I6e95109a8cf4145dc84ab0f3ad699d74ee05d932
2016-06-21 15:49:56 +02:00
5f7e3ad041 Recover lost basic in help indentation
regression from...

commit 6614bedceadcc07ec082c5e926107f27903bda5c
Date:   Mon Jan 25 20:07:10 2016 +0100

    fix validation errors by round-trip through helpauthoring extension

with git show 6614bedceadcc07ec082c5e926107f27903bda5c | ~/recoverindent.py

import fileinput
import re
import sys

added = []
removed = []
filename = ""

def processlastfile(filename, added, removed):
    if len(added) != len(removed):
        print "BROKEN"
        sys.exit(-2)
    if len(removed):
        f = open(filename, "rw")
        linestring = open(filename, "r").read()
        start = 0
        for x in range(0, len(added)):
            if added[x] == removed[x]:
                continue
            if added[x].strip() != removed[x].strip():
                print "BROKEN"
                sys.exit(-2)
            if filename == "source/text/sbasic/shared/03080301.xhp" and x == 6:
                print "skipping special hunk", removed[x], "in source/text/sbasic/shared/03080301.xhp"
            else:
                start = linestring.find(added[x], start)
                if start == -1:
                    print "BROKEN"
                    sys.exit(-2)
                linestring = linestring[0:start] + removed[x] + linestring[start + len(added[x]):]
            start = start + len(removed[x])
        open(filename, "w").write(linestring)

for line in fileinput.input():
    if line.startswith("--- a/"):
        if filename is not "":
            processlastfile(filename, added, removed)
        added = []
        removed = []
        filename = line[6:-1]
    elif "role=\"bascode\"" in line:
        m = re.search('>(.+?)<', line)
        code = m.group(1)
        if line.startswith("-"):
            removed.append(code)
        else:
            added.append(code)

processlastfile(filename, added, removed)

which puts the code back the way it was, except for one string
which had changed and was fixed manually afterwards

Change-Id: Ic67abf36bb5d27be58a51ebbf5022830f56dcb37
2016-06-16 15:45:53 +01:00
fd115b0ed1 Do not translate numbers ... (2)
Change-Id: Iff0930493bed0a839869a02518aa879cc6d11068
Reviewed-on: https://gerrit.libreoffice.org/25276
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-05-22 23:13:31 +00:00
a86c7d5fbd Do not translate numbers...
Change-Id: I87d272719a0a666744951d82f7c522b6cd554bc7
Reviewed-on: https://gerrit.libreoffice.org/25275
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-05-22 23:10:46 +00:00
ce76ee35c4 tdf#99809 Add back some syntax highlighting tags…
… accidentally removed in 8799ced9da7b7aeb37fadf700e062cc3255ebfe0

Change-Id: I799b62bb169dbc0505ed03deef6e460d75a66e9d
2016-05-14 22:58:45 -05:00
8799ced9da tdf#99809: BASIC: Update Rnd function and Randomize statement
BASIC's Rnd function and Randomize statement were updated on
tdf#70474 and tdf#90110. (See
https://gerrit.libreoffice.org/#/c/15818/ for the latter change.)
Their documentation needs to be updated accordingly.

Change-Id: I17f6a04858a20a969dc427be43dd903aedc04ecb
Reviewed-on: https://gerrit.libreoffice.org/24943
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-05-13 02:02:49 +00:00
721523df6a Fixed a dead link to api.libreoffice.org.
Thanks to Juergen Klatt.
2016-03-31 09:33:18 +02:00
6614bedcea fix validation errors by round-trip through helpauthoring extension
lots of missing attributes "id" and "xml-lang"
(extension patched to keep bascode tag)

Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a
2016-01-25 21:21:48 +01:00
bb4361c2e7 link is no valid child of emph
Change-Id: I24009c8eb766d2e99ff96b8ba803e0d92ee73387
2016-01-25 15:45:46 +01:00
64563d3282 switchinline is none of emph's allowed children
fixed with following sed expression:
's#<emph>\(<switchinline[^>]*><caseinline[^>]*>\)\([^>]*\)\(</caseinline><defaultinline>\)\([^<]*\)\(</defaultinline></switchinline>\)\([^<]*</emph>\)#\1<emph>\2</emph>\3<emph>\4</emph>\5<emph>\6#g'

Change-Id: I03d36f4c52e78ca48fc2f94b275ffad7329071e3
2016-01-25 15:13:19 +01:00
33e5713fd4 Killed the last remnants of the 'lastedited' element. 2015-11-12 09:41:15 +01:00
c20dde3497 The 'lastedited' element is useless, we have git. 2015-11-12 09:34:06 +01:00
e98d1b3494 Fix embed file reference in Basic IDE help page
Change-Id: If04c7c562983bd81afc8f168677c8be4c308f566
Reviewed-on: https://gerrit.libreoffice.org/18667
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-09-17 16:49:41 +00:00
b1ffa2d342 Revert "Remove metadata from embeded xhp files"
This reverts commit 29a98d01958bc84710cfedf1e61ddee700df1ff4.

Change-Id: I8d96c2b88c29ee286a6915ff528fb65f18de9f7b
Reviewed-on: https://gerrit.libreoffice.org/18280
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-09-02 19:11:08 +00:00
29a98d0195 Remove metadata from embeded xhp files
These help files are embeded into other files and don't need metadata.

It will also remove some trings from translation.

Change-Id: Ia95352b71b8a716b9c93cf21baed484ae9e94d38
Reviewed-on: https://gerrit.libreoffice.org/18255
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-09-02 08:54:34 +00:00
bce98cd0f5 Add example to Basic IDE Options help page
Change-Id: I387ad0c22972392cd5eb1c865e59e94456395d9b
Reviewed-on: https://gerrit.libreoffice.org/18164
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-31 10:11:49 +00:00
550b03030e Fix typo
Change-Id: I1620c3507722d8aeef11d0480f07bc104b9a7f95
Reviewed-on: https://gerrit.libreoffice.org/18032
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-08-26 16:22:55 +00:00
fff841e50d TDF#80588 Help page for Basic IDE Options
Help page for Basic IDE Option in Tools - LibreOffice - Basic IDE Options

Before merging this patch it is necessary to verify correctness of the help page contents.

Change-Id: Ic80410910ed3eadb02c4fd49c02fc5f1dce053db
Reviewed-on: https://gerrit.libreoffice.org/17356
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-25 15:12:31 +00:00
bbece63b0f missing space Open Statement[Runtime] → Open Statement [Runtime]
Change-Id: If90b4d89c0dc7172b417b30dd242278386813244
2015-08-05 15:31:58 +02:00
5e109b09ca fix some ahelp ids of hid . where the current context is empty or wrong
related fdo#88970

Change-Id: Ib5aa5f5b608252216817b0e6f38c944e37786df5
2015-02-02 13:39:49 +00:00
9b91dd5b4b remove redundant dollars at InputBox function and fix invalid Basic examples
Change-Id: Idd6f14e127ba5e3939849b0baf7ec499e69e8695
Reviewed-on: https://gerrit.libreoffice.org/10517
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-25 08:13:13 +00:00
d7a29031ad fix help xml syntax in access2base.xhp
Change-Id: Id1cc4ed9a9be1db0c4ffda0196439ae39c5643bf
2014-02-20 12:50:35 +01:00
d331784b77 update help ids for manage languages dialog
Change-Id: I7975c7ee7ccce9e6563cb0181441deeae08ee109
2014-02-11 11:30:46 +00:00
62b18032fc update help ids for event assign .ui conversion
Change-Id: I4457daf43c968cf103cd3b07b3b7bf885d3b7a43
2014-01-23 13:04:41 +00:00
e6b3e8a539 update help ids for macro and dialog tabpage .ui conversion
Change-Id: If959d52daf88c6d205cddb691b2426e33c741b88
2014-01-06 11:43:25 +00:00
30a52763d3 update help ids for lib page .ui conversion
Change-Id: I22fff4675a0b097b39bd23f87c19c61e615ef430
2014-01-06 10:08:18 +00:00
c975424cf1 update help ids for default language dialog .ui conversion
Change-Id: I56cc822b5c0175dcc8c93cd5a01f8c6d00d96ba7
2014-01-03 21:23:58 +00:00
15adc2f98a update help ids for import lib dialog
Change-Id: I9603fbd28374686d9dafff80160ca295f4419718
2014-01-03 14:53:14 +00:00
1190ebd3f7 update help ids for basic manage breakpoints dialog
Change-Id: I823df9129adf5da840017612245ad62d74814413
2014-01-02 21:32:39 +00:00
a0c83959ba update help ids for new lib dialog .ui conversion
Change-Id: I0b590ce16c7bbb9fa74a7c4a3d5157a7b89a69d8
2013-12-31 21:11:18 +00:00
7e453f7aa0 basic code not localisable
Change-Id: Ifcc4985afac1f62787d317352bdb45a490d71963
2013-11-05 13:44:54 +01:00
fed648365a fixup confusion between CDateToUnoTime and CDateToUnoDateTime
Change-Id: Ie3a13726086da113835f54f4eb1c68201edd44f9
2013-11-05 11:58:41 +01:00
f7005e7bfa wrong title
Change-Id: I776db2914bb4e51af35d7c4610d457892b36e9b5
2013-11-05 11:58:40 +01:00
8008ef0da6 there is also a "Converting Time Values" help page
Change-Id: I742102ee90942f7d3303e971cffd15282853c0fb
2013-11-05 10:31:45 +01:00
5e58322924 fixup examples of CDate(From|To)Uno(Date|Time|DateTime)
Change-Id: I547317d52bf08bcfb0954267e25ce5f2881d1c75
2013-11-05 10:09:35 +01:00
a2d57f0988 janitorial: space outside of emph
Change-Id: I624e4d61a7482e316297feb78f30b20b57ce39b7
2013-11-05 10:09:34 +01:00
cbf7c6b740 add UNO Date/Time conversion functions to "Converting Date Values" help page
Change-Id: I67608ec843a45b5a342c82a816174acb9391ca73
2013-11-05 10:09:34 +01:00
db8f7521f1 Access2Base - Help file
Summary description + reference to official doc site
1 entry in index
1 entry in Macros & Programming - Guides

Change-Id: I26587292b4daff035779fc197522af7dc600279a
Reviewed-on: https://gerrit.libreoffice.org/6522
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-11-05 01:24:24 -06:00
086ca60223 missing spaces in new help text
Change-Id: Idd049b01ac7fd83bc49d907788924a28fc50b7cd
2013-11-03 10:35:36 +01:00
0b28df0715 update help ids for password dialog .ui conversion
Change-Id: Ife1ead8a20db8b86b5ec23642eacf1af189fa0f5
2013-10-01 11:35:45 +01:00
fa2ebef519 documentation for new UNO Date/Time/DateTime struct <-> Basic Time conversions
Change-Id: I8679534affa1ac5ee22393189188ff1ac09aa0f5
Reviewed-on: https://gerrit.libreoffice.org/5899
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-17 12:23:46 +00:00
c7362eccbd <switch>/<case>/<default> are unhandled elements within <bascode>
Change-Id: I6c04583bb0259806d1c5ffd2c1425bacaed21583
2013-07-19 11:24:57 +02:00
d53f334130 updated Object Catalog help
Change-Id: I42cfd2a00ed868f91e2b46f9451132bf80fd9c18
2013-04-09 08:29:10 +02:00
d9090a218a kill %PRODUCTVERSION variable from help, none of its use cases were valid
Change-Id: I879e787f40bb84831c8d035cab02bd751e448b99
2013-03-16 16:38:09 +01:00
1c7b7c2544 Use localize attribute for efficiency
Add localize="false" to xml components which
not include translatable string to make helpex
work less with them.

Change-Id: I20fe79b5a506fafaa6fd90bd62f12117af0bb3b6
2013-03-11 18:00:46 +01:00
81f8e6cfb8 gbuildize helpcontent2
dmake is dead, long live gbuild!

Change-Id: I636ea4ed7ee08a748b96973ae076a5e47928d4ca
2013-02-26 15:29:47 +01:00
a5cae6c3e8 remove inline tags from Basic code examples
Change-Id: Ie6731f769e311f2eb1793694828085661ee0ff09
2013-02-12 18:41:54 +01:00
0ba3d9a420 untranslatable paragraph
Change-Id: Id51a93e3f1c5a064730a4485980e380b3e22f39f
2013-02-12 17:45:37 +01:00
df4d4db740 re-base on ALv2 code. Includes:
Patch contributed by Oliver Rainer-Wittmann
    i#118572 - remove ui string and help content regarding
    usage of Java Mail in Writer's Mail Merge as Java
    Mail is not used.
    http://svn.apache.org/viewvc?view=revision&revision=1197035

    Patches contributed by Herbert Duerr
    updated help text for regexp word boundaries
    http://svn.apache.org/viewvc?view=revision&revision=1228026
    improved help text for word boundary regexp expression \b
    http://svn.apache.org/viewvc?view=revision&revision=1234738

    Patches contributed by Jurgen Schmidt
    remove onlineregistration with dependencies
    http://svn.apache.org/viewvc?view=revision&revision=1240245

    Patch contributed by Regina Henschel
    Extended tips for corner and cap style
    http://svn.apache.org/viewvc?view=revision&revision=1242287

* re-enable on-line update help, remove obsolete on-line purchasing.
2012-12-13 13:02:02 +00:00
fa665d0f81 typo fix 2012-11-15 21:20:50 +01:00