Commit d638035c authored by Alexander Potashev's avatar Alexander Potashev
Browse files

i18n: Add msgctxt attributes to split strings "Contacts"

Test Plan: Run trunk/l10n-kf5/scripts/extract-messages.sh , check contents of .pot file.

Reviewers: schwarzer, bshah, nicolasfella

Reviewed By: bshah

Subscribers: aacid

Differential Revision: https://phabricator.kde.org/D25204
parent 5a47d9b2
#! /usr/bin/env bash
find . -name "*.provider.in" -o -name "*.service.in" -type f | xargs -n1 intltool-extract -l -type="gettext/xml"
$XGETTEXT `find . -name "*.h" -o -name "*.cpp"` -c -kN_ -o $podir/kaccounts-providers.pot
$XGETTEXT `find . -name "*.h" -o -name "*.cpp"` -c -kN_ -kC_:1c,2 -o $podir/kaccounts-providers.pot
rm -rf ./tmp/
......@@ -3,7 +3,7 @@
<type>facebook-contacts</type>
<!-- "Contacts" on Facebook - Service name being displayed as a checkbox label to enable/disable this service
Would be nice to use the localized name of this service if it exists/makes sense -->
<_name>Contacts</_name>
<_name msgctxt="Facebook Contacts">Contacts</_name>
<icon>facebook-contacts</icon>
<provider>facebook</provider>
<translations>kaccounts-providers</translations>
......
......@@ -3,7 +3,7 @@
<type>google-contacts</type>
<!-- Google's Contacts - Service name being displayed as a checkbox label to enable/disable this service
Would be nice to use the localized name of this service if it exists/makes sense -->
<_name>Contacts</_name>
<_name msgctxt="Google Contacts">Contacts</_name>
<icon>google-contacts</icon>
<provider>google</provider>
<translations>kaccounts-providers</translations>
......
......@@ -3,7 +3,7 @@
<type>dav-contacts</type>
<!-- ownCloud's Contacts - Service name being displayed as a checkbox label to enable/disable this service
Would be nice to use the localized name of this service if it exists/makes sense -->
<_name>Contacts</_name>
<_name msgctxt="ownCloud Contacts">Contacts</_name>
<icon>owncloud-contacts</icon>
<provider>owncloud</provider>
<translations>kaccounts-providers</translations>
......
......@@ -3,7 +3,7 @@
<type>dav-contacts</type>
<!-- Runners-ID Contacts - Service name being displayed as a checkbox label to enable/disable this service
Would be nice to use the localized name of this service if it exists/makes sense -->
<_name>Contacts</_name>
<_name msgctxt="Runners-ID Contacts">Contacts</_name>
<icon>runnersid-contacts</icon>
<provider>runnersid</provider>
<translations>kaccounts-providers</translations>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment