Hi Cor,
Yes, I did do work on the label.xml file and I occasionally update the file with new label
definitions (mostly after users report bugs that QA people kindly bring to my attention).
Approx. 2 years ago I did a massive restructuring of the label definitions (there was a fundamental
problem with the old definitions) and so had to check/redefine all 1700+ definitions. I did remove
quite a lot of obsolete definitions, but had to be careful with that: obsolete doesn't mean that no
users still use them (I have labels left from 30+ years ago).
Also, it is quite difficult (not to say impossible) to obtain lists of current labels with their
size and position definitions. Generally, I have to download a Word template from which I then dig
out the sizes and positions.
Also, there is a lot of necessary redundancy in the file. Take Avery, which uses different label
numbers for the same labels, except for their colours (a label available in 6 colours has 6 entries
in the file, because the user looks for a specific Avery number).
Adding new definitions is an easy hack, as the file contains explanations in the header about the
entries.
Making the file language dependent would a lot of work; it might be better to use a separate list
of locale descriptions (by means of string IDs) only. That way the label definitions can be
maintained as part of the code (is it now) and the localisation goes the same as with the rest of
LibreOffice (don't know the details, I just work on the code).
HTH,
Winfried
---
Verzonden: woensdag 9 april 2014 09:08
Winfried,
Pls see the message below. Wasn't that something that you touched in the past?
regards,
Cor
Thomas Hackert wrote (01-04-14 19:35)
Hello Dennis, *,
On Dienstag, 1. April 2014 19:20 Dennis Roczek wrote:
Am 01.04.2014 18:25, schrieb Thomas Hackert:
[...]
It would be a good Easy Hack for a non-programmer, to download
catalogs of label makers, and update label.xml -- remove obsoleted
entries and add current entries that people can actually buy today.
That may be an easy hack, but I think this would also be really time
consuming ... :( Would it be possible then to split these by country
/ language and to provide them with the langpacks? Or would this be
impossible?
Well actually there is an easy hack bug
https://bugs.freedesktop.org/show_bug.cgi?id=70357 which I'm working
on (unknowing that this bug existed) since September 2013!
This is really a time consuming bug as I touched nearly evry page
multiple times (by hand and with my bot)
but that is wiki work, not downloading catalogs of all possible labels
and business cards producers around the world ... ;)
So lengthy easy hacks aren't a problem, I think. Better create a bug
and if needed we can split if requested.
Maybe next weekend. I will not have the time before, sorry ... :( Have
a nice evening Thomas.
--
Cor Nouws
GPD key ID: 0xB13480A6 - 591A 30A7 36A0 CE3C 3D28 A038 E49D 7365 B134 80A6
- vrijwilliger http://nl.libreoffice.org
- volunteer http://www.libreoffice.org
- The Document Foundation Membership Committee Member
--
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.