Re: [libreoffice-l10n] Getting rid of 'oldref' in the help files

2016-12-16 Thread Gabor Kelemen
Hi all

2016-12-16 16:13 keltezéssel, Jan Holesovsky írta:
> The idea is to get rid of the 'oldref' attribute in the help files; ie.
> change
>
>l10n="U" oldref="13">Heading
>
> to
>
>l10n="U">Heading
I did not realized oldref being part of msgctxt, so in my recent help
commits removed a lot of these from the files I touched, even from
otherwise untouched strings. So I probably made quite a few fuzzy
strings - sorry about that.

With that being said, I fully support this move, like right now :).

Also if possible, please kill the l10n attribute along it. These two
make my eyes bleed while editing the original xml.

Regards
Gabor



-- 
To unsubscribe e-mail to: l10n+unsubscr...@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


[libreoffice-l10n] Getting rid of 'oldref' in the help files

2016-12-16 Thread Jan Holesovsky
Hi Cloph, all,

I've recently proposed some help cleanups on the documentation@ ML, and
this is the first one of them.  I'm cross-posting to l10n@ and
documentation@ - this change is supposed to be transparent for L10n and
Documentation teams, but they should know :-)

The idea is to get rid of the 'oldref' attribute in the help files; ie.
change

  Heading

to

  Heading

The 'oldref' comes from helpcontent -> helpcontent2 migration, and the
documentation says "This contains the reference number used by the old
help files and is only used for migration purposes."

Unfortunately, it is used in the msgctx flag in the .po files, like:

#: main0503.xhp
msgctxt ""
"main0503.xhp\n"
"hd_id3155084\n"
"21\n"
"help.text"
msgid "Flexible Application Interface"
msgstr "Snadno přizpůsobitelné uživatelské rozhraní"

The "21\n" above is the oldref.

As we talked on the IRC - unless there are any objections, can you
please do your magic with the next translation update so that we remove
these oldrefs from the helpcontent, the .po templates, and .po
translations themselves?

The helpcontent2 part of that is this:

  git grep -l 'oldref="[0-9]*"' | xargs sed -i 's/