Give some credits to twemoji

This commit is contained in:
Sebastian J. Wolf 2020-08-13 22:42:54 +02:00
parent fdffb99029
commit 1ef7d0b9ad
4 changed files with 47 additions and 8 deletions

View file

@ -23,3 +23,4 @@ You get the Telegram API ID and hash as soon as you've registered your own appli
## Credits ## Credits
This project uses This project uses
- The Telegram Database Library (TDLib) - available on [GitHub.com](https://github.com/tdlib/td). Thanks for making it available under the conditions of the Boost Software License 1.0! Details about the license of TDLib in [its license file](https://github.com/tdlib/td/blob/master/LICENSE_1_0.txt). - The Telegram Database Library (TDLib) - available on [GitHub.com](https://github.com/tdlib/td). Thanks for making it available under the conditions of the Boost Software License 1.0! Details about the license of TDLib in [its license file](https://github.com/tdlib/td/blob/master/LICENSE_1_0.txt).
- Emoji parsing and artwork by [Twitter Emoji (Twemoji)](http://twitter.github.io/twemoji/), copyright 2018 Twitter, Inc and other contributors, Code licensed under the [MIT License](http://opensource.org/licenses/MIT), Graphics licensed under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)

View file

@ -222,6 +222,28 @@ Page {
onLinkActivated: Qt.openUrlExternally("https://github.com/tdlib/td") onLinkActivated: Qt.openUrlExternally("https://github.com/tdlib/td")
} }
Label {
x: Theme.horizontalPageMargin
width: parent.width - ( 2 * Theme.horizontalPageMargin )
text: qsTr("This project uses twemoji. Copyright 2018 Twitter, Inc. and other contributors. Thanks for making it available under the conditions of the MIT License (coding) and CC-BY 4.0 (graphics)!")
font.pixelSize: Theme.fontSizeExtraSmall
wrapMode: Text.Wrap
anchors {
horizontalCenter: parent.horizontalCenter
}
}
Text {
text: "<a href=\"https://github.com/twitter/twemoji\">" + qsTr("Open twemoji on GitHub") + "</a>"
anchors {
horizontalCenter: parent.horizontalCenter
}
font.pixelSize: Theme.fontSizeSmall
linkColor: Theme.highlightColor
onLinkActivated: Qt.openUrlExternally("https://github.com/twitter/twemoji")
}
Label { Label {
id: separatorLabel id: separatorLabel
x: Theme.horizontalPageMargin x: Theme.horizontalPageMargin

View file

@ -67,6 +67,14 @@
<source>Phone number: +%1</source> <source>Phone number: +%1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>This project uses twemoji. Copyright 2018 Twitter, Inc. and other contributors. Thanks for making it available under the conditions of the MIT License (coding) and CC-BY 4.0 (graphics)!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open twemoji on GitHub</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>InitializationPage</name> <name>InitializationPage</name>
@ -122,19 +130,19 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source>Waiting for network</source> <source>Waiting for network...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source>Connecting to network</source> <source>Connecting to network...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source>Connecting to proxy</source> <source>Connecting to proxy...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source>Updating content</source> <source>Updating content...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>

View file

@ -67,6 +67,14 @@
<source>Phone number: +%1</source> <source>Phone number: +%1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>This project uses twemoji. Copyright 2018 Twitter, Inc. and other contributors. Thanks for making it available under the conditions of the MIT License (coding) and CC-BY 4.0 (graphics)!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open twemoji on GitHub</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>InitializationPage</name> <name>InitializationPage</name>
@ -122,19 +130,19 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source>Waiting for network</source> <source>Waiting for network...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source>Connecting to network</source> <source>Connecting to network...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source>Connecting to proxy</source> <source>Connecting to proxy...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source>Updating content</source> <source>Updating content...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>