removing some unused strings

This commit is contained in:
tibbi 2017-11-10 23:30:59 +01:00
parent fb4c4aa6f3
commit 73aca5217d
13 changed files with 50 additions and 173 deletions

View File

@ -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() {

View File

@ -82,7 +82,7 @@ class RecyclerAdapter(val act: Activity, val launchers: List<AppLauncher>, 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<AppLauncher>, 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)

View File

@ -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)

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
android:id="@+id/coordinator_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/coordinator_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
@ -16,7 +16,7 @@
app:layoutManager="android.support.v7.widget.GridLayoutManager"
app:spanCount="@integer/columns"/>
<android.support.design.widget.FloatingActionButton
<com.simplemobiletools.commons.views.MyFloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:id="@+id/launcher_holder"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/launcher_holder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"

View File

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
android:id="@+id/edit_launcher_holder"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/edit_launcher_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/activity_margin">
<EditText
<com.simplemobiletools.commons.views.MyEditText
android:id="@+id/edit_launcher_edittext"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textCapWords"/>
android:inputType="textCapWords"
android:textCursorDrawable="@null"/>
</FrameLayout>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.RecyclerView
android:id="@+id/launchers_holder"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/launchers_holder"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"

View File

@ -3,12 +3,12 @@
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/cab_edit"
android:icon="@mipmap/edit"
android:title="@string/edit"
android:icon="@drawable/ic_rename"
android:title="@string/rename"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/cab_delete"
android:icon="@mipmap/delete"
android:icon="@drawable/ic_delete"
android:title="@string/delete"
app:showAsAction="ifRoom"/>
</menu>

View File

@ -1,13 +1,7 @@
<resources>
<string name="app_name">Schlichter AppLauncher</string>
<string name="app_launcher_name">App Launcher</string>
<string name="delete">Löschen</string>
<string name="edit">Bearbeiten</string>
<string name="rename_launcher">Verknüpfung umbenennen</string>
<string name="ok">OK</string>
<string name="cancel">Abbrechen</string>
<string name="enter_launcher_name">Bitte gib einen Namen für die Verknüpfung ein</string>
<string name="unknown_error">Ein unbekannter Fehler ist aufgetreten</string>
<!-- Apps -->
<string name="calculator">Rechner</string>
@ -20,36 +14,19 @@
<string name="music_player">Musikplayer</string>
<string name="notes">Notizblock</string>
<!-- About -->
<string name="about">Über</string>
<string name="website">Weitere Apps und Quellcode findest du auf:\nhttp://simplemobiletools.com</string>
<string name="email_label">Sende Vorschläge und Feedback an:</string>
<string name="third_party_licences_underlined"><u>Drittanbieterlizenzen</u></string>
<string name="invite_friends_underlined"><u>Lade Freunde ein</u></string>
<string name="share_text">Hey, wirf mal einen Blick auf %1$s: %2$s</string>
<string name="invite_via">Einladen via</string>
<string name="rate_us_underlined"><u>Bewerte uns im Play Store</u></string>
<string name="follow_us">Folge uns:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<string name="add_apps">Apps hinzufügen</string>
<!-- Settings -->
<string name="settings">Einstellungen</string>
<string name="dark_theme">Dunkles Design</string>
<!-- License -->
<string name="notice">Diese App nutzt die folgenden Drittanbieterbibliotheken, die mein Leben einfacher machen. Danke.</string>
<string name="third_party_licences">Drittanbieterlizenzen</string>
<string name="kotlin_title"><u>Kotlin (Programmiersprache)</u></string>
<string name="multiselect_title"><u>RecyclerView MultiSelect (Marking Launchers)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Eine schlichte App um all deine liebsten Apps an einem Platz zu vereinen.</string>
<string name="app_long_description">
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
</string>
<!--
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>

View File

@ -1,13 +1,7 @@
<resources>
<string name="app_name">Simple App Launcher</string>
<string name="app_launcher_name">Lanzador de aplicaciones</string>
<string name="delete">Eliminar</string>
<string name="edit">Editar</string>
<string name="rename_launcher">Renombrar lanzador</string>
<string name="ok">Ok</string>
<string name="cancel">Cancelar</string>
<string name="enter_launcher_name">Por favor, introduzca un nombre para el lanzador</string>
<string name="unknown_error">Ha ocurrido un error inesperado</string>
<!-- Apps -->
<string name="calculator">Calculadora</string>
@ -20,37 +14,19 @@
<string name="music_player">Reproductor de música</string>
<string name="notes">Notas</string>
<!-- About -->
<string name="about">Acerca de Simple App Launcher</string>
<string name="website">Más aplicaciones simples y su código fuente en:\nhttp://simplemobiletools.com</string>
<string name="email_label">Envíe sus comentarios y sugerencias a:</string>
<string name="third_party_licences_underlined"><u>Licencias de terceros</u></string>
<string name="invite_friends_underlined"><u>Invitar a amigos</u></string>
<string name="share_text">Hola, venga y échele un vistazo a %1$s en %2$s</string>
<string name="invite_via">Invitar vía</string>
<string name="rate_us_underlined"><u>Evalúenos en Google Play Store</u></string>
<string name="follow_us">Síganos:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<string name="add_apps">Añada lanzadores de aplicaciones</string>
<!-- Settings -->
<string name="settings">Opciones</string>
<string name="dark_theme">Tema oscuro</string>
<!-- License -->
<string name="notice">Esta aplicación usa las siguientes librerías de terceros para hacerme la vida más fácil. Gracias.</string>
<string name="third_party_licences">Licencias de terceros</string>
<string name="kotlin_title"><u>Kotlin (Lenguaje de programación)</u></string>
<string name="multiselect_title"><u>RecyclerView MultiSelect (Marcador de lanzadores)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Un simple contenedor para sus aplicaciones favoritas.</string>
<string name="app_long_description">
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
</string>
<!--
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>

View File

@ -1,13 +1,7 @@
<resources>
<string name="app_name">シンプル アプリ ランチャー</string>
<string name="app_launcher_name">アプリ ランチャー</string>
<string name="delete">削除</string>
<string name="edit">編集</string>
<string name="rename_launcher">ランチャーの名前を変更</string>
<string name="ok">OK</string>
<string name="cancel">キャンセル</string>
<string name="enter_launcher_name">ランチャーの名前を入力してください</string>
<string name="unknown_error">不明なエラーが発生しました</string>
<!-- Apps -->
<string name="calculator">電卓</string>
@ -20,37 +14,19 @@
<string name="music_player">ミュージック プレイヤー</string>
<string name="notes">メモ</string>
<!-- About -->
<string name="about">アプリについて</string>
<string name="website">もっとシンプルなアプリとソースコードは:\nhttp://simplemobiletools.com</string>
<string name="email_label">ご意見やご提案をお送りください:</string>
<string name="third_party_licences_underlined"><u>サードパーティー ライセンス</u></string>
<string name="invite_friends_underlined"><u>友達を招待</u></string>
<string name="share_text">%2$s で %1$s を確認してください </string>
<string name="invite_via">招待...</string>
<string name="rate_us_underlined"><u>Play ストアで評価してください</u></string>
<string name="follow_us">フォローしてください:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<string name="add_apps">アプリケーション ランチャーを追加</string>
<!-- Settings -->
<string name="settings">設定</string>
<string name="dark_theme">ダークテーマ</string>
<!-- License -->
<string name="notice">このアプリは、私の暮らしにゆとりを持たせるために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
<string name="third_party_licences">サードパーティー ライセンス</string>
<string name="kotlin_title"><u>Kotlin (プログラミング言語)</u></string>
<string name="multiselect_title"><u>RecyclerView MultiSelect (マーキング ランチャー)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">お気に入りのアプリランチャーのためのシンプルなホルダー。</string>
<string name="app_long_description">
アプリランチャーを簡単に追加できるので、必要なものを見つけるために無駄なアプリをまたスワイプする必要はありません。 ランチャーの名前を変更することもできます。 単なるお気に入りのアプリのホルダーで、ホーム画面を置き換えるものではありません。
広告や不要なアクセス許可は含まれていません。 完全にオープンソースで、ダークテーマも提供しています。
このアプリは、大きな一連のアプリの一つです。 他のアプリは http://www.simplemobiletools.com で見つけることができます
</string>
<!--
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>

View File

@ -1,13 +1,7 @@
<resources>
<string name="app_name">Simple App Launcher</string>
<string name="app_launcher_name">Lançador de aplicações</string>
<string name="delete">Apagar</string>
<string name="edit">Editar</string>
<string name="rename_launcher">Renomear lançador</string>
<string name="ok">OK</string>
<string name="cancel">Cancelar</string>
<string name="enter_launcher_name">Por favor digite um nome para o lançador</string>
<string name="unknown_error">Ocorreu um erro desconhecido</string>
<!-- Apps -->
<string name="calculator">Calculadora</string>
@ -20,37 +14,19 @@
<string name="music_player">Reprodutor de músicas</string>
<string name="notes">Notas</string>
<!-- About -->
<string name="about">Acerca</string>
<string name="website">Mais aplicações Simple e código fonte em:\nhttp://simplemobiletools.com</string>
<string name="email_label">Envie os seus comentários ou sugestões para:</string>
<string name="third_party_licences_underlined"><u>Licenças de terceiros</u></string>
<string name="invite_friends_underlined"><u>Convidar amigos</u></string>
<string name="share_text">Olá, experimenta %1$s em %2$s</string>
<string name="invite_via">Convidar via</string>
<string name="rate_us_underlined"><u>Avalie-nos na Play Store</u></string>
<string name="follow_us">Siga-nos:</string>
<string name="copyright">V %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<string name="add_apps">Adicionar lançadores de aplicações</string>
<!-- Settings -->
<string name="settings">Definições</string>
<string name="dark_theme">Tema escuro</string>
<!-- License -->
<string name="notice">Esta aplicação usa as seguintes bibliotecas de terceiros para facilitar a minha vida. Obrigado.</string>
<string name="third_party_licences">Licenças de terceiros</string>
<string name="kotlin_title"><u>Kotlin (linguagem de programação)</u></string>
<string name="multiselect_title"><u>RecyclerView MultiSelect (marcador de lançadores)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Uma pasta para guardar lançadores de aplicações.</string>
<string name="app_long_description">
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
</string>
<!--
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>

View File

@ -1,13 +1,7 @@
<resources>
<string name="app_name">Simple App Launcher</string>
<string name="app_launcher_name">App Launcher</string>
<string name="delete">Delete</string>
<string name="edit">Edit</string>
<string name="rename_launcher">Rename launcher</string>
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<string name="enter_launcher_name">Please enter a launcher name</string>
<string name="unknown_error">An unknown error occurred</string>
<!-- Apps -->
<string name="calculator">Calculator</string>
@ -20,42 +14,19 @@
<string name="music_player">Music Player</string>
<string name="notes">Notes</string>
<!-- About -->
<string name="about">About</string>
<string name="website">More simple apps and source code at:\nhttp://simplemobiletools.com</string>
<string name="email_label">Send your feedback or suggestions to:</string>
<string name="email" translatable="false">hello@simplemobiletools.com</string>
<string name="third_party_licences_underlined"><u>Third party licences</u></string>
<string name="invite_friends_underlined"><u>Invite friends</u></string>
<string name="share_text">Hey, come check out %1$s at %2$s</string>
<string name="invite_via">Invite via</string>
<string name="rate_us_underlined"><u>Rate us in the Play Store</u></string>
<string name="follow_us">Follow us:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<string name="add_apps">Add application launchers</string>
<!-- Settings -->
<string name="settings">Settings</string>
<string name="dark_theme">Dark theme</string>
<!-- License -->
<string name="notice">This app uses the following third party libraries to make my life easier. Thank you.</string>
<string name="third_party_licences">Third party licences</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<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>
<string name="kotlin_url" translatable="false">https://github.com/JetBrains/kotlin</string>
<string name="multiselect_title"><u>RecyclerView MultiSelect (marking launchers)</u></string>
<string name="multiselect_text" translatable="false">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.</string>
<string name="multiselect_url" translatable="false">https://github.com/bignerdranch/recyclerview-multiselect</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">A simple holder for your favourite app launchers.</string>
<string name="app_long_description">
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
</string>
<!--
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>