From 73aca5217d397b43b77e5913f47a6e067d62b464 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 10 Nov 2017 23:30:59 +0100 Subject: [PATCH] removing some unused strings --- .../applauncher/activities/MainActivity.kt | 3 +- .../applauncher/adapters/RecyclerAdapter.kt | 4 +- .../applauncher/dialogs/AddAppDialog.kt | 1 - app/src/main/res/layout/activity_main.xml | 4 +- app/src/main/res/layout/app_launcher_item.xml | 2 +- app/src/main/res/layout/edit_launcher.xml | 7 +-- app/src/main/res/layout/launcher_picker.xml | 2 +- app/src/main/res/menu/cab.xml | 6 +-- app/src/main/res/values-de/strings.xml | 39 ++++------------- app/src/main/res/values-es/strings.xml | 40 ++++------------- app/src/main/res/values-ja/strings.xml | 36 +++------------- app/src/main/res/values-pt/strings.xml | 36 +++------------- app/src/main/res/values/strings.xml | 43 +++---------------- 13 files changed, 50 insertions(+), 173 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/applauncher/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/applauncher/activities/MainActivity.kt index a3a8238..e0f0dfe 100644 --- a/app/src/main/kotlin/com/simplemobiletools/applauncher/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/applauncher/activities/MainActivity.kt @@ -15,6 +15,7 @@ import com.simplemobiletools.applauncher.dialogs.AddAppDialog import com.simplemobiletools.applauncher.models.AppLauncher import com.simplemobiletools.commons.extensions.beInvisible import com.simplemobiletools.commons.helpers.LICENSE_KOTLIN +import com.simplemobiletools.commons.helpers.LICENSE_MULTISELECT import kotlinx.android.synthetic.main.activity_main.* import java.util.* @@ -53,7 +54,7 @@ class MainActivity : SimpleActivity(), AddAppDialog.AddLaunchersInterface, Recyc } private fun launchAbout() { - startAboutActivity(R.string.app_name, LICENSE_KOTLIN, BuildConfig.VERSION_NAME) + startAboutActivity(R.string.app_name, LICENSE_KOTLIN or LICENSE_MULTISELECT, BuildConfig.VERSION_NAME) } private fun setupLaunchers() { diff --git a/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/RecyclerAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/RecyclerAdapter.kt index 8920dc9..e5f10cd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/RecyclerAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/RecyclerAdapter.kt @@ -82,7 +82,7 @@ class RecyclerAdapter(val act: Activity, val launchers: List, val i editView.edit_launcher_edittext.setText(selectedLauncher.name) AlertDialog.Builder(act).apply { - setTitle(act.getString(R.string.rename_launcher)) + setTitle(act.getString(R.string.rename)) setView(editView) setPositiveButton(R.string.ok, null) setNegativeButton(R.string.cancel, null) @@ -97,7 +97,7 @@ class RecyclerAdapter(val act: Activity, val launchers: List, val i finishActionMode() dismiss() } else { - act.toast(R.string.unknown_error) + act.toast(R.string.unknown_error_occurred) } } else { act.toast(R.string.enter_launcher_name) diff --git a/app/src/main/kotlin/com/simplemobiletools/applauncher/dialogs/AddAppDialog.kt b/app/src/main/kotlin/com/simplemobiletools/applauncher/dialogs/AddAppDialog.kt index dee3124..1ab9e46 100644 --- a/app/src/main/kotlin/com/simplemobiletools/applauncher/dialogs/AddAppDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/applauncher/dialogs/AddAppDialog.kt @@ -25,7 +25,6 @@ class AddAppDialog() : DialogFragment() { override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { val builder = AlertDialog.Builder(activity) - builder.setTitle(R.string.add_apps) val recyclerView = View.inflate(activity, R.layout.launcher_picker, null) recyclerView.launchers_holder.adapter = RecyclerDialogAdapter(activity, launchers) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index aa738ba..81905e4 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,8 +1,8 @@ @@ -16,7 +16,7 @@ app:layoutManager="android.support.v7.widget.GridLayoutManager" app:spanCount="@integer/columns"/> - - + android:inputType="textCapWords" + android:textCursorDrawable="@null"/> diff --git a/app/src/main/res/layout/launcher_picker.xml b/app/src/main/res/layout/launcher_picker.xml index 22748a5..d912c2b 100644 --- a/app/src/main/res/layout/launcher_picker.xml +++ b/app/src/main/res/layout/launcher_picker.xml @@ -1,8 +1,8 @@ diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 443cbbc..d8606af 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,13 +1,7 @@ Schlichter AppLauncher App Launcher - Löschen - Bearbeiten - Verknüpfung umbenennen - OK - Abbrechen Bitte gib einen Namen für die Verknüpfung ein - Ein unbekannter Fehler ist aufgetreten Rechner @@ -20,36 +14,19 @@ Musikplayer Notizblock - - Über - Weitere Apps und Quellcode findest du auf:\nhttp://simplemobiletools.com - Sende Vorschläge und Feedback an: - Drittanbieterlizenzen - Lade Freunde ein - Hey, wirf mal einen Blick auf %1$s: %2$s - Einladen via - Bewerte uns im Play Store - Folge uns: - v %1$s\nCopyright © Simple Mobile Tools %2$d - Apps hinzufügen - - - Einstellungen - Dunkles Design - - - Diese App nutzt die folgenden Drittanbieterbibliotheken, die mein Leben einfacher machen. Danke. - Drittanbieterlizenzen - Kotlin (Programmiersprache) - RecyclerView MultiSelect (Marking Launchers) - + Eine schlichte App um all deine liebsten Apps an einem Platz zu vereinen. Du kannst ganz einfach jede App hinzufügen, damit du nie wieder zwischen zahlreichen Apps suchen musst, um eine bestimmte zu finden. Du kannst die Verknüpfungen auch nach deinen Wünschen umbenennen. Diese App ist kein richtiger Launcher, der deinen Homescreen ersetzt - nur ein Platz für Verknüpfungen deiner Lieblingsapps. - Beinhaltet keine Werbung und benötigt keine unnötigen Berechtigungen. Die App ist komplett Open Source und bietet nach Wunsch anpassbare Farben. + Beinhaltet keine Werbung oder unnötigen Berechtigungen. Sie ist komplett Open Source, verwendete Farben sind anpassbar. - Diese App ist nur eine von vielen unserer Apps. Du kannst alle anderen hier finden: http://www.simplemobiletools.com + Diese App ist nur eine aus einer größeren Serie von schlichten Apps. Der Rest davon findet sich auf http://www.simplemobiletools.com + + diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index a5d09c0..1bbec72 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -1,13 +1,7 @@ Simple App Launcher Lanzador de aplicaciones - Eliminar - Editar - Renombrar lanzador - Ok - Cancelar Por favor, introduzca un nombre para el lanzador - Ha ocurrido un error inesperado Calculadora @@ -20,37 +14,19 @@ Reproductor de música Notas - - Acerca de Simple App Launcher - Más aplicaciones simples y su código fuente en:\nhttp://simplemobiletools.com - Envíe sus comentarios y sugerencias a: - Licencias de terceros - Invitar a amigos - Hola, venga y échele un vistazo a %1$s en %2$s - Invitar vía - Evalúenos en Google Play Store - Síganos: - v %1$s\nCopyright © Simple Mobile Tools %2$d - Añada lanzadores de aplicaciones - - - Opciones - Tema oscuro - - - Esta aplicación usa las siguientes librerías de terceros para hacerme la vida más fácil. Gracias. - Licencias de terceros - Kotlin (Lenguaje de programación) - RecyclerView MultiSelect (Marcador de lanzadores) - + Un simple contenedor para sus aplicaciones favoritas. Usted puede fácilmente añadir cualquier lanzador de aplicación, no necesitará nunca más desplazarse entre aplicaciones poco útiles para encontrar la que realmente necesita. También puede renombrar los lanzadores como usted desee. No es un lanzador que sustituya a su escritorio, simplemente es un contenedor para sus aplicaciones favoritas. + No contiene publicidad ni permisos innecesarios. Es totalmente libre, proporciona colores personalizables. - No contiene anuncios ni permisos innecesarios. Es completamente OpenSource y además provee un tema oscuro. - - Esta aplicación es tan solo una pequeña parte de una serie de aplicaciones. Puede encontrar el resto en http://www.simplemobiletools.com + Esta aplicación es solamente una pieza de una serie más grande de aplicaciones. Puede encontrar el resto en http://www.simplemobiletools.com + + diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 8021b19..bdb48f6 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -1,13 +1,7 @@  シンプル アプリ ランチャー アプリ ランチャー - 削除 - 編集 - ランチャーの名前を変更 - OK - キャンセル ランチャーの名前を入力してください - 不明なエラーが発生しました 電卓 @@ -20,37 +14,19 @@ ミュージック プレイヤー メモ - - アプリについて - もっとシンプルなアプリとソースコードは:\nhttp://simplemobiletools.com - ご意見やご提案をお送りください: - サードパーティー ライセンス - 友達を招待 - %2$s で %1$s を確認してください - 招待... - Play ストアで評価してください - フォローしてください: - v %1$s\nCopyright © Simple Mobile Tools %2$d - アプリケーション ランチャーを追加 - - - 設定 - ダークテーマ - - - このアプリは、私の暮らしにゆとりを持たせるために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。 - サードパーティー ライセンス - Kotlin (プログラミング言語) - RecyclerView MultiSelect (マーキング ランチャー) - + お気に入りのアプリランチャーのためのシンプルなホルダー。 アプリランチャーを簡単に追加できるので、必要なものを見つけるために無駄なアプリをまたスワイプする必要はありません。 ランチャーの名前を変更することもできます。 単なるお気に入りのアプリのホルダーで、ホーム画面を置き換えるものではありません。 - 広告や不要なアクセス許可は含まれていません。 完全にオープンソースで、ダークテーマも提供しています。 このアプリは、大きな一連のアプリの一つです。 他のアプリは http://www.simplemobiletools.com で見つけることができます + + diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 4442ba3..c99ec9e 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -1,13 +1,7 @@ Simple App Launcher Lançador de aplicações - Apagar - Editar - Renomear lançador - OK - Cancelar Por favor digite um nome para o lançador - Ocorreu um erro desconhecido Calculadora @@ -20,37 +14,19 @@ Reprodutor de músicas Notas - - Acerca - Mais aplicações Simple e código fonte em:\nhttp://simplemobiletools.com - Envie os seus comentários ou sugestões para: - Licenças de terceiros - Convidar amigos - Olá, experimenta %1$s em %2$s - Convidar via - Avalie-nos na Play Store - Siga-nos: - V %1$s\nCopyright © Simple Mobile Tools %2$d - Adicionar lançadores de aplicações - - - Definições - Tema escuro - - - Esta aplicação usa as seguintes bibliotecas de terceiros para facilitar a minha vida. Obrigado. - Licenças de terceiros - Kotlin (linguagem de programação) - RecyclerView MultiSelect (marcador de lançadores) - + Uma pasta para guardar lançadores de aplicações. Pode adicionar qualquer lançador, de modo a que não seja necessário procurar por todas as aplicações instaladas no seu sistema. Também pode renomear os lançadores ao seu gosto. Esta aplicação não é um \'launcher\', mas sim um local para você guardar as suas aplicações preferidas. - Não contém anúncios nem permissões desnecessárias. Disponibiliza um tema escuro e é totalmente \'open source\'. Esta aplicação é apenas parte de um conjunto mais vasto de aplicações. Saiba mais em http://www.simplemobiletools.com + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b9b77b1..9198743 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,13 +1,7 @@ Simple App Launcher App Launcher - Delete - Edit - Rename launcher - OK - Cancel Please enter a launcher name - An unknown error occurred Calculator @@ -20,42 +14,19 @@ Music Player Notes - - About - More simple apps and source code at:\nhttp://simplemobiletools.com - Send your feedback or suggestions to: - hello@simplemobiletools.com - Third party licences - Invite friends - Hey, come check out %1$s at %2$s - Invite via - Rate us in the Play Store - Follow us: - v %1$s\nCopyright © Simple Mobile Tools %2$d - Add application launchers - - - Settings - Dark theme - - - This app uses the following third party libraries to make my life easier. Thank you. - Third party licences - Kotlin (programming language) - 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. - https://github.com/JetBrains/kotlin - RecyclerView MultiSelect (marking launchers) - The MIT License (MIT)\n\nCopyright (c) 2014 Big Nerd Ranch\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: \n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. \n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - https://github.com/bignerdranch/recyclerview-multiselect - + A simple holder for your favourite app launchers. You can easily add any app launcher, so you won\'t ever again have to swipe through useless apps to find the one you need. You can also rename the launchers as you wish. It is not a real launcher replacing your home screen, just a holder for your favourite apps. - - Contains no ads or unnecessary permissions. It is fully opensource, provides a Dark theme too. + Contains no ads or unnecessary permissions. It is fully opensource, provides customizable colors. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com + +