summaryrefslogtreecommitdiff
path: root/extras/source/autotext/lang/nb
AgeCommit message (Collapse)Author
2022-12-07tdf#53023 - Remove last empty paragraph from auto textAndreas Heinisch
Remove the last empty paragraph before inserting an auto text. The carriage return at the end of it is appended in SwXMLTextBlockParContext::~SwXMLTextBlockParContext() which can't be removed without introducing side effects. In order to compensate for the change, a paragraph has been added to the existing only text auto texts. Patch was reverted due to a hang of the ui test. It seems that selecting an entire text using mkPropertyValues({"KEYCODE":"CTRL+A"})) does not work anymore. Change-Id: I08f612d50f496c8d7f891c773ddedf27c3d80864 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143781 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-12-07Revert "tdf#53023 - Remove last empty paragraph from auto text"Andreas Heinisch
This reverts commit ce64398653a896c8a48dd6cabe2b75d9c025873d. Reason for revert: UI-Tests hang Change-Id: Ib4b576e66da8642f3ffe8774e92a7e7c2c527b08 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143717 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-12-06tdf#53023 - Remove last empty paragraph from auto textAndreas Heinisch
Remove the last empty paragraph before inserting an auto text. The carriage return at the end of it is appended in SwXMLTextBlockParContext::~SwXMLTextBlockParContext() which can't be removed without introducing side effects. In order to compensate for the change, a paragraph has been added to the existing only text auto texts. Change-Id: Ie098f23d7bdc70798197e5714e041c8fd79f0439 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143353 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-02-10simplify autotextshare makefile/only build what's packagedChristian Lohmaier
The multiple indirections/complex nested constructs don't really provide any benefit here, they certainly don't make the makefile easier to read. It was building the autotext .bau files for all languages, despite being packaged only for the requested UI langauges (via AllLagPackage) and the long list of autotext files was duplicated (even if all .bau files should be built, the list could be reused from the other makefile) Also remove the empty mimetype files and just touch them instead of copying them. The xml, mimetype and other files are now intermediates and are removed by make once the .bau is built. (if that's not desired, they can be flagged as .SECONDARY) The list of individual files (3.6k lines) could also be cut down if using e.g. make's wildcard function Change-Id: I223a49d26d1de1435d62a68a04b3713278a8320c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129696 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-09-06remove unnecessary settings.xml from autotextJustin Luth
I don't think that anyone wants their document settings adjusted just by entering some autotext. [Now, it didn't seem to be doing that because I suppose that since the value already exists, the import won't overwrite it.] find extras/source -name settings.xml | md5sum | sort //shows only a few unique entries. Visual comparing with "Meld" //didn't reveal any reason why the files are useful. I also removed ./autotext/lang/bg/standard/FN/Obj0012D655/settings.xml based on Laurent's advice, even though it contains <config:config-item config:name="Formula" E=mc^2 Otherwise, the other 7 versions were almost identical, differening only in OOo version .9, or 1.1 and show redline changes on/off. cd exttras/source find . -name settings.xml -exec rm {} \; git grep -l \/settings.xml *.xml | xargs sed -i /\/settings.xml/d git grep -l \/settings.xml ../CustomTarget_autotextshare.mk \ | xargs sed -i "/\/settings.xml/d" Change-Id: I9c148bdff55e6757e6fa98401486bc7c41ebf25d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121605 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2019-09-24Improve FN AutoText for nbLaurent BP
Translate names which appear in Navigator Change-Id: I90c9971090c15905c6fc16720c900e3768334f43 Reviewed-on: https://gerrit.libreoffice.org/78929 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-08tdf#81436 Add default Autotext to all l10nLaurent BP
For l10n that do not have yet Autotext, add: FN: Formula Numbering LOREM: Lorem Ipsum dummy text Change-Id: Ife882cdc70758ccbbc3fa8e185eca10fab005e4a Reviewed-on: https://gerrit.libreoffice.org/78353 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>