Localization of external plugin

Thomas Friedrichsmeier thomas.friedrichsmeier at kdemail.net
Sat Sep 26 09:36:35 BST 2020


Hi!

Sorry that it took me so long. First: Did you remember to run
  python3 scripts/update_plugin_messages.py /path/to/my.pluginmap
(without --extract-only)? This is needed to compile the translation
catalog.

However, doing so with your catalog fails with 38 errors of
"duplicate message definition..." for .es.po

I am not sure, how those got into the .po file. In the .pot file the
message strings in question seem to be unified, correctly. I guess it
is possible that an earlier version of the update_plugin_messages.py
script was not handling this correctly.

I am also not sure, whether there is an automated way to remove the
duplicate messages.

I'll look into this some more, but I'll still be slow in doing so...
Meanwhile, removing the duplicate messages, manually, *should* help
(run update_plugin_messages.py to see the line numbers in question).

Regards
Thomas

Am Mon, 21 Sep 2020 21:48:19 +0000
schrieb Alfredo Sánchez Alberca <asalber at ceu.es>:

> Hi!
> I'm trying to translate to Spanish the plugin rkTeaching
> (https://github.com/rkward-community/rk.Teaching) I followed the
> steps indicated in https://api.kde.org/doc/rkwardplugins/i18n.html
> but I can not get the menu Teaching in Spanish. May be I forgot
> something in the process. The po file with the translation is
> available in the development branch of the plugin. Regards!
> [https://avatars1.githubusercontent.com/u/9672562?s=400&v=4]<https://github.com/rkward-community/rk.Teaching>
> GitHub - rkward-community/rk.Teaching: Paquete de R que proporciona
> un plugin para la interfaz gráfica RKWard añadiendo nuevos menús y
> cuadros de diálogo para la docencia de la
> Estadística.<https://github.com/rkward-community/rk.Teaching> Paquete
> de R que proporciona un plugin para la interfaz gráfica RKWard
> añadiendo nuevos menús y cuadros de diálogo para la docencia de la
> Estadística. - rkward ... github.com
> 
> 
> ________________________________
> Alfredo Sánchez Alberca
> Departamento de Matemática Aplicada y Estadística
> Facultad de Farmacia
> Universidad San Pablo CEU
> Urbanización Montepríncipe, s/n
> 28668 Boadilla del Monte
> Tel. +34 913724710
> Web: http://aprendeconalf.es
> 
> 
> [https://www.uchceu.es/img/logos/wur.jpg]
> 
> 
> Este mensaje y sus archivos adjuntos, enviados desde FUNDACIÓN
> UNIVERSITARIA SAN PABLO-CEU, pueden contener información confidencial
> y está destinado a ser leído sólo por la persona a la que va
> dirigido, por lo que queda prohibida la difusión, copia o utilización
> de dicha información por terceros. Si usted lo recibiera por error,
> por favor, notifíquelo al remitente y destruya el mensaje y cualquier
> documento adjunto que pudiera contener. Cualquier información,
> opinión, conclusión, recomendación, etc. contenida en el presente
> mensaje no relacionada con la actividad de FUNDACIÓN UNIVERSITARIA
> SAN PABLO-CEU, y/o emitida por persona no autorizada para ello,
> deberá considerarse como no proporcionada ni aprobada por FUNDACIÓN
> UNIVERSITARIA SAN PABLO-CEU, que pone los medios a su alcance para
> garantizar la seguridad y ausencia de errores en la correspondencia
> electrónica, pero no puede asegurar la inexistencia de virus o la no
> alteración de los documentos transmitidos electrónicamente, por lo
> que declina cualquier responsabilidad a este respecto.
> 
> This message and its attachments, sent from FUNDACIÓN UNIVERSITARIA
> SAN PABLO-CEU, may contain confidential information and is intended
> to be read only by the person it is directed. Therefore any
> disclosure, copying or use by third parties of this information is
> prohibited. If you receive this in error, please notify the sender
> and destroy the message and any attachments may contain. Any
> information, opinion, conclusion, recommendation,... contained in
> this message and which is unrelated to the business activity of
> FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU and/or issued by unauthorized
> personnel, shall be considered unapproved by FUNDACIÓN UNIVERSITARIA
> SAN PABLO-CEU. FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU implements
> control measures to ensure, as far as possible, the security and
> reliability of all its electronic correspondence. However, FUNDACIÓN
> UNIVERSITARIA SAN PABLO-CEU does not guarantee that emails are
> virus-free or that documents have not be altered, and does not take
> responsibility in this respect.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20200926/fc108de0/attachment.sig>


More information about the rkward-devel mailing list