~blue-shell-next/kaccounts-providers/frameworks

« back to all changes in this revision

Viewing changes to services/twitter-microblog.service.in

  • Committer: Martin Klapetek
  • Date: 2014-10-17 10:00:24 UTC
  • Revision ID: git-v1:e259d44f99e3654f2f51558c5b270bbd7bcb8ae6
Make the provider & service files translatable

We'll use intltools for extracting the translatable strings for KDE's
i18n. However that needs to have the translatable tags marked with
leading underscore (eg. <_description>); these xml files are then unable
to be parsed by AccountsSSO, so we use the intltool-merge to recreate
the files with translations merged in (english), making it loadable by
AccountsSSO.

It's the same mechanism that Ubuntu uses for translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<service id="twitter-microblog">
 
3
  <type>twitter-microblog</type>
 
4
  <!-- Twitter's feed - Service name being displayed as a checkbox label to enable/disable this service
 
5
       Would be nice to use the localized name of this service if it exists/makes sense -->
 
6
  <_name>Twitter</_name>
 
7
  <icon>twitter</icon>
 
8
  <provider>twitter</provider>
 
9
  <translations>kaccounts-providers</translations>
 
10
</service>
 
 
b'\\ No newline at end of file'