Skip to content

Commit 679103f

Browse files
committed
add Glide license
1 parent fa67c5d commit 679103f

10 files changed

Lines changed: 25 additions & 0 deletions

File tree

app/src/main/kotlin/com/simplemobiletools/camera/activities/LicenseActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class LicenseActivity : SimpleActivity() {
1313
setContentView(R.layout.activity_license)
1414

1515
license_kotlin_title.setOnClickListener { openUrl(R.string.kotlin_url) }
16+
license_glide_title.setOnClickListener { openUrl(R.string.glide_url) }
1617
license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) }
1718
}
1819

app/src/main/res/layout/activity_license.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@
3232
android:layout_height="wrap_content"
3333
android:text="@string/kotlin_text"/>
3434

35+
<TextView
36+
android:id="@+id/license_glide_title"
37+
android:layout_width="match_parent"
38+
android:layout_height="wrap_content"
39+
android:paddingTop="@dimen/activity_margin"
40+
android:text="@string/glide_title"
41+
android:textColor="@color/colorPrimary"/>
42+
43+
<TextView
44+
android:id="@+id/license_glide_text"
45+
android:layout_width="wrap_content"
46+
android:layout_height="wrap_content"
47+
android:text="@string/glide_text"/>
48+
3549
<TextView
3650
android:id="@+id/license_filepicker_title"
3751
android:layout_width="match_parent"

app/src/main/res/values-de/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
<string name="notice">Diese App nutzt die folgenden Drittanbieterbibliotheken, die mein Leben einfacher machen. Danke.</string>
4242
<string name="third_party_licences">Drittanbieterlizenzen</string>
4343
<string name="kotlin_title"><u>Kotlin (Programmiersprache)</u></string>
44+
<string name="glide_title"><u>Glide (Bilder laden und zwischenspeichern)</u></string>
4445
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
4546
</resources>

app/src/main/res/values-it/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
<string name="notice">Questa app usa le seguenti librerie di terze parti per semplificarmi la vita. Grazie.</string>
4242
<string name="third_party_licences">Licenze di terze parti</string>
4343
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
44+
<string name="glide_title"><u>Glide (image loading and caching)</u></string>
4445
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
4546
</resources>

app/src/main/res/values-ja/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
<string name="notice">このアプリは、私の人生を容易にするために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
4242
<string name="third_party_licences">サードパーティー ライセンス</string>
4343
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
44+
<string name="glide_title"><u>Glide (イメージ ローディングとキャッシング)</u></string>
4445
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
4546
</resources>

app/src/main/res/values-lt/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
<string name="notice">Ši programėlė naudoja sekančias trečiųjų šyalių bibliotekas, kad palengvinti man gyvenimą. Ačiū.</string>
4242
<string name="third_party_licences">Trečiųjų šalių licenzijos</string>
4343
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
44+
<string name="glide_title"><u>Glide (image loading and caching)</u></string>
4445
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
4546
</resources>

app/src/main/res/values-pt-rPT/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
<string name="notice">Esta aplicação usa as seguintes bibliotecas de terceiros para facilitar a minha vida. Obrigado.</string>
4242
<string name="third_party_licences">Licenças de terceiros</string>
4343
<string name="kotlin_title"><u>Kotlin (linguagem de programação)</u></string>
44+
<string name="glide_title"><u>Glide (carregamento e cache de imagens)</u></string>
4445
<string name="filepicker_title"><u>Simple File Picker (diálogo de seleção de ficheiros)</u></string>
4546
</resources>

app/src/main/res/values-ru/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
<string name="notice">Это приложение использует следующие сторонние библиотеки, что бы сделать мою жизнь проще. Спасибо.</string>
4242
<string name="third_party_licences">Сторонние лицензии</string>
4343
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
44+
<string name="glide_title"><u>Glide (image loading and caching)</u></string>
4445
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
4546
</resources>

app/src/main/res/values-sv/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
<string name="notice">Denna app använder följande tredjepartsbibliotek för att göra mitt liv enklare. Tack.</string>
4242
<string name="third_party_licences">Tredjepartslicenser</string>
4343
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
44+
<string name="glide_title"><u>Glide (image loading and caching)</u></string>
4445
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
4546
</resources>

app/src/main/res/values/strings.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
4545
<string name="kotlin_text" translatable="false">Copyright 2010 - 2016 JetBrains s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.</string>
4646
<string name="kotlin_url" translatable="false">https://github.com/JetBrains/kotlin</string>
47+
<string name="glide_title"><u>Glide (image loading and caching)</u></string>
48+
<string name="glide_text" translatable="false">Copyright 2014 Google, Inc. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY GOOGLE, INC. ``AS IS\'\' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</string>
49+
<string name="glide_url" translatable="false">https://github.com/bumptech/glide</string>
4750
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
4851
<string name="filepicker_text" translatable="false">Copyright 2016 SimpleMobileTools\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.</string>
4952
<string name="filepicker_url" translatable="false">https://github.com/SimpleMobileTools/Simple-File-Picker</string>

0 commit comments

Comments
 (0)