From kde-i18n-doc Fri Nov 08 01:40:09 2019 From: Alexander Potashev Date: Fri, 08 Nov 2019 01:40:09 +0000 To: kde-i18n-doc Subject: Re: KAccounts - Strings merged unintentionally Message-Id: X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=157317723720945 =D1=81=D1=80, 13 =D0=B0=D0=BF=D1=80. 2016 =D0=B3. =D0=B2 01:00, Frederik Sc= hwarzer : > > Hi, > > in KAccounts-Provider (kaccounts-provider.git) there are strings like: > > file: services/disabled/runners-contacts.service.in > 4 > 6 <_name>Contacts > > with different comments for different services (like Facebook, Google, > ownCloud ...). Since its very unlikely that different services use > identical translations, the comments' intention is probably to make > these different strings in the PO file. However, the comment is shown in > the PO comment field starting with "#." instead of the "msgctxt" field. > So the different "Contacts" strings are merged with one huge comment > containing all the comments. > > How would a msgctxt be marked in an XML file? Figured it out after reading intltool source code (in Perl): https://phabricator.kde.org/D25204 --=20 Alexander Potashev