Commit Graph

62 Commits

Author SHA1 Message Date
2c451122a2 adjust image paths after moving helpimg into more appropriate folder
Change-Id: Idcfa3700bfd53d38ddeda484828f00bf36cf3b57
Reviewed-on: https://gerrit.libreoffice.org/32104
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-05-12 13:46:36 +02:00
eb9ec1c794 remove obsolete oldref attribute (removes one context line in pot)
also remove obsolete l10n attribute (doesn't affect translations/pot)

Change-Id: I809866ea7b16cb1cacad9efacb6fdeebae38ea9f
2017-05-09 16:37:41 +02:00
b04113a84a Typo: “common area” → “common era”
Change-Id: Ie9c3dfce3b5981defffad11eea3df4bd63d34148
2017-05-08 17:35:00 -05:00
727765e3fc Remove erroneous commit of source/text/sbasic/shared/03030108.xhp.rej
Change-Id: I2d5cb2f514d1a1564868d0abf442cd01ff28e7c7
2017-05-04 19:57:05 +02:00
ba4ed13b45 CDateFromIso: also with separators; date range and year representation
Change-Id: Ifd83a84b300074be10fe039ba2e30b94f6bf1327
2017-05-04 19:55:13 +02:00
ef3d847d9a CDateFromIso: also with separators; date range and year representation
Change-Id: Ib946c3654805f8ae4bff1c7e3a0a26083bfb8df6
2017-05-04 19:52:41 +02:00
b6633ae15a Fix typo in year range
Change-Id: If739f647f463795c3264a557bf83a8f6dbfb49fb
2017-05-03 15:12:59 +02:00
38754a50be CDateToIso: details about format, date range and year representation
Change-Id: Id50e465356bde9f99afc2225d82d01f0225bd957
2017-05-03 14:51:37 +02:00
7fd043d303 update helpids for .ui conversion
Change-Id: I88db8390a188e3d6b60dead17428826eb36a0232
2017-01-30 16:02:43 +00:00
26ed1b1d98 update helpids for .ui conversion
Change-Id: I685964b0b111eaa548bba3b880bcbac9cd84a217
2017-01-30 15:52:15 +00:00
7b98ed0680 Basic: remove ^M
Remove ^M characters at end of line
remove tabulation characters

Change-Id: I96345f88c732ad5c40a6143437cccf064aca0738
Reviewed-on: https://gerrit.libreoffice.org/33387
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-01-25 18:31:16 +00:00
f2d16dc7c4 Fix syntax of example in 03104300.xhp
A function result is allways assigned to a variable

Change-Id: Id422f9018cacca1eb2022c03568d8aad9edfe8fd
Reviewed-on: https://gerrit.libreoffice.org/32461
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-12-27 17:44:04 +00:00
2251478b3e Change file extensions in examples: sxw -> odt, sxc -> ods
Some examples still used the old StarOffice extensions.

Change-Id: Id6f7a28f0ff8511181f3641d8ad9f6f5896cef68
Reviewed-on: https://gerrit.libreoffice.org/28925
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-09-15 14:46:28 +00:00
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
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
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
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
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