-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'medienverbinder-threema'
- Loading branch information
Showing
12 changed files
with
131 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
'use strict'; | ||
|
||
module.exports = function(shariff) { | ||
var url = encodeURIComponent(shariff.getURL()); | ||
|
||
var title = shariff.getMeta('DC.title'); | ||
var creator = shariff.getMeta('DC.creator'); | ||
|
||
if (title.length > 0 && creator.length > 0) { | ||
title += ' - ' + creator; | ||
} else { | ||
title = shariff.getTitle(); | ||
} | ||
|
||
return { | ||
popup: false, | ||
shareText: { | ||
'bg': 'cподеляне', | ||
'da': 'del', | ||
'de': 'teilen', | ||
'en': 'share', | ||
'es': 'compartir', | ||
'fi': 'Jaa', | ||
'fr': 'partager', | ||
'hr': 'podijelite', | ||
'hu': 'megosztás', | ||
'it': 'condividi', | ||
'ja': '共有', | ||
'ko': '공유하기', | ||
'nl': 'delen', | ||
'no': 'del', | ||
'pl': 'udostępnij', | ||
'pt': 'compartilhar', | ||
'ro': 'partajează', | ||
'ru': 'поделиться', | ||
'sk': 'zdieľať', | ||
'sl': 'deli', | ||
'sr': 'podeli', | ||
'sv': 'dela', | ||
'tr': 'paylaş', | ||
'zh': '分享' | ||
}, | ||
name: 'threema', | ||
faName: 'fa-lock', | ||
title: { | ||
'bg': 'Сподели в Threema', | ||
'da': 'Del på Threema', | ||
'de': 'Bei Threema teilen', | ||
'en': 'Share on Threema', | ||
'es': 'Compartir en Threema', | ||
'fi': 'Jaa Threemaissä', | ||
'fr': 'Partager sur Threema', | ||
'hr': 'Podijelite na Threema', | ||
'hu': 'Megosztás Threemaen', | ||
'it': 'Condividi su Threema', | ||
'ja': 'Threema上で共有', | ||
'ko': 'Threema에서 공유하기', | ||
'nl': 'Delen op Threema', | ||
'no': 'Del på Threema', | ||
'pl': 'Udostępnij przez Threema', | ||
'pt': 'Compartilhar no Threema', | ||
'ro': 'Partajează pe Threema', | ||
'ru': 'Поделиться на Threema', | ||
'sk': 'Zdieľať na Threema', | ||
'sl': 'Deli na Threema', | ||
'sr': 'Podeli na Threema-u', | ||
'sv': 'Dela på Threema', | ||
'tr': 'Threema\'ta paylaş', | ||
'zh': '在Threema上分享' | ||
}, | ||
shareUrl: 'threema://compose?text=' + encodeURIComponent(title) + '%20' + url + shariff.getReferrerTrack() | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.shariff { | ||
.threema { | ||
a { | ||
background-color: #333333; | ||
&:hover { | ||
background-color: #1f1f1f; | ||
} | ||
} | ||
.fa-lock { | ||
font-size: 28px; | ||
} | ||
} | ||
.theme-white { | ||
.threema a { | ||
color: #333333; | ||
} | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 600px) { | ||
.shariff { | ||
.threema .fa-lock { | ||
font-size: 22px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ | |
@import "services/whatsapp"; | ||
@import "services/xing"; | ||
@import "services/tumblr"; | ||
@import "services/threema"; |