Merge branch 'master' into weblate-jrpie-launcher-launcher

This commit is contained in:
Josia Pietsch 2024-08-29 16:32:41 +02:00 committed by GitHub
commit fcf96e64ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 241 additions and 160 deletions

View file

@ -23,8 +23,8 @@ android {
applicationId "de.jrpie.android.launcher" applicationId "de.jrpie.android.launcher"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 35 targetSdkVersion 35
versionCode 20 versionCode 22
versionName "j-0.0.8" versionName "j-0.0.9"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View file

@ -56,7 +56,11 @@ const val PREF_THEME = "theme"
const val PREF_SCREEN_TIMEOUT_DISABLED = "disableTimeout" const val PREF_SCREEN_TIMEOUT_DISABLED = "disableTimeout"
const val PREF_SCREEN_FULLSCREEN = "useFullScreen" const val PREF_SCREEN_FULLSCREEN = "useFullScreen"
const val PREF_DATE_FORMAT = "dateFormat"
const val PREF_DATE_LOCALIZED = "dateLocalized"
const val PREF_DATE_VISIBLE = "dateVisible"
const val PREF_TIME_VISIBLE = "timeVisible"
const val PREF_DATE_TIME_FLIP = "dateTimeFlip"
const val PREF_DOUBLE_ACTIONS_ENABLED = "enableDoubleActions" const val PREF_DOUBLE_ACTIONS_ENABLED = "enableDoubleActions"
const val PREF_EDGE_ACTIONS_ENABLED = "enableEdgeActions" const val PREF_EDGE_ACTIONS_ENABLED = "enableEdgeActions"
@ -425,6 +429,7 @@ fun loadSettings(context: Context) {
vibrantColor = preferences.getInt(PREF_VIBRANT, 0) vibrantColor = preferences.getInt(PREF_VIBRANT, 0)
} }
fun resetSettings(context: Context) { fun resetSettings(context: Context) {
val editor = getPreferences(context).edit() val editor = getPreferences(context).edit()
@ -439,10 +444,13 @@ fun resetSettings(context: Context) {
.putString(PREF_THEME, "finn") .putString(PREF_THEME, "finn")
.putBoolean(PREF_SCREEN_TIMEOUT_DISABLED, false) .putBoolean(PREF_SCREEN_TIMEOUT_DISABLED, false)
.putBoolean(PREF_SEARCH_AUTO_LAUNCH, false) .putBoolean(PREF_SEARCH_AUTO_LAUNCH, false)
.putInt(PREF_DATE_FORMAT, 0) .putBoolean(PREF_DATE_VISIBLE, true)
.putBoolean(PREF_TIME_VISIBLE, true)
.putBoolean(PREF_DATE_TIME_FLIP, false)
.putBoolean(PREF_DATE_LOCALIZED, false)
.putBoolean(PREF_SCREEN_FULLSCREEN, true) .putBoolean(PREF_SCREEN_FULLSCREEN, true)
.putBoolean(PREF_DOUBLE_ACTIONS_ENABLED, false) .putBoolean(PREF_DOUBLE_ACTIONS_ENABLED, true)
.putBoolean(PREF_EDGE_ACTIONS_ENABLED, true)
Gesture.values().forEach { editor.putString(it.id, it.pickDefaultApp(context)) } Gesture.values().forEach { editor.putString(it.id, it.pickDefaultApp(context)) }
editor.apply() editor.apply()

View file

@ -8,10 +8,11 @@ import android.view.KeyEvent
import android.view.MotionEvent import android.view.MotionEvent
import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.GestureDetectorCompat import androidx.core.view.GestureDetectorCompat
import androidx.core.view.isVisible
import de.jrpie.android.launcher.BuildConfig.VERSION_NAME import de.jrpie.android.launcher.BuildConfig.VERSION_NAME
import de.jrpie.android.launcher.databinding.HomeBinding
import de.jrpie.android.launcher.list.other.LauncherAction import de.jrpie.android.launcher.list.other.LauncherAction
import de.jrpie.android.launcher.tutorial.TutorialActivity import de.jrpie.android.launcher.tutorial.TutorialActivity
import de.jrpie.android.launcher.databinding.HomeBinding
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.* import java.util.*
import kotlin.concurrent.fixedRateTimer import kotlin.concurrent.fixedRateTimer
@ -20,7 +21,6 @@ import kotlin.math.max
import kotlin.math.min import kotlin.math.min
/** /**
* [HomeActivity] is the actual application Launcher, * [HomeActivity] is the actual application Launcher,
* what makes this application special / unique. * what makes this application special / unique.
@ -39,8 +39,6 @@ class HomeActivity: UIObject, AppCompatActivity(),
private lateinit var binding: HomeBinding private lateinit var binding: HomeBinding
private var bufferedPointerCount = 1 // how many fingers on screen private var bufferedPointerCount = 1 // how many fingers on screen
private var pointerBufferTimer = Timer() private var pointerBufferTimer = Timer()
@ -105,34 +103,58 @@ class HomeActivity: UIObject, AppCompatActivity(),
super<UIObject>.onStart() super<UIObject>.onStart()
} }
override fun onResume() { private fun updateClock() {
super.onResume() clockTimer?.cancel()
val preferences = getPreferences(this)
val locale = Locale.getDefault()
val dateVisible = preferences.getBoolean(PREF_DATE_VISIBLE, true)
val timeVisible = preferences.getBoolean(PREF_TIME_VISIBLE, true)
// Applying the date / time format (changeable in settings) var dateFMT = "yyyy-MM-dd"
val dFormat = getPreferences(this).getInt(PREF_DATE_FORMAT, 0) var timeFMT = "HH:mm:ss"
val upperFMT = resources.getStringArray(R.array.settings_launcher_time_formats_upper) if (preferences.getBoolean(PREF_DATE_LOCALIZED, false)) {
val lowerFMT = resources.getStringArray(R.array.settings_launcher_time_formats_lower) dateFMT = android.text.format.DateFormat.getBestDateTimePattern(locale, dateFMT)
timeFMT = android.text.format.DateFormat.getBestDateTimePattern(locale, timeFMT)
}
val dateFormat = SimpleDateFormat(upperFMT[dFormat], Locale.getDefault()) var upperFormat = SimpleDateFormat(dateFMT, locale)
val timeFormat = SimpleDateFormat(lowerFMT[dFormat], Locale.getDefault()) var lowerFormat = SimpleDateFormat(timeFMT, locale)
var upperVisible = dateVisible
var lowerVisible = timeVisible
if(preferences.getBoolean(PREF_DATE_TIME_FLIP, false)) {
upperFormat = lowerFormat.also { lowerFormat = upperFormat }
upperVisible = lowerVisible.also { lowerVisible = upperVisible }
}
binding.homeUpperView.isVisible = upperVisible
binding.homeLowerView.isVisible = lowerVisible
clockTimer = fixedRateTimer("clockTimer", true, 0L, 100) { clockTimer = fixedRateTimer("clockTimer", true, 0L, 100) {
this@HomeActivity.runOnUiThread { this@HomeActivity.runOnUiThread {
val t = timeFormat.format(Date()) if (lowerVisible) {
val t = lowerFormat.format(Date())
if (binding.homeLowerView.text != t) if (binding.homeLowerView.text != t)
binding.homeLowerView.text = t binding.homeLowerView.text = t
}
val d = dateFormat.format(Date()) if (upperVisible) {
val d = upperFormat.format(Date())
if (binding.homeUpperView.text != d) if (binding.homeUpperView.text != d)
binding.homeUpperView.text = d binding.homeUpperView.text = d
} }
} }
} }
}
override fun onResume() {
super.onResume()
updateClock()
}
override fun onPause() { override fun onPause() {
super.onPause() super.onPause()
clockTimer.cancel() clockTimer.cancel()
} }
override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean { override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
@ -230,16 +252,18 @@ class HomeActivity: UIObject, AppCompatActivity(),
val preferences = getPreferences(this) val preferences = getPreferences(this)
binding.homeUpperView.setOnClickListener { binding.homeUpperView.setOnClickListener {
when (preferences.getInt(PREF_DATE_FORMAT, 0)) { if(preferences.getBoolean(PREF_DATE_TIME_FLIP, false)) {
0 -> Gesture.DATE(this) Gesture.TIME(this)
else -> Gesture.TIME(this) } else {
Gesture.DATE(this)
} }
} }
binding.homeLowerView.setOnClickListener { binding.homeLowerView.setOnClickListener {
when (preferences.getInt(PREF_DATE_FORMAT, 0)) { if(preferences.getBoolean(PREF_DATE_TIME_FLIP, false)) {
0 -> Gesture.TIME(this) Gesture.DATE(this)
else -> Gesture.DATE(this) } else {
Gesture.TIME(this)
} }
} }
} }

View file

@ -9,13 +9,16 @@ import android.widget.AdapterView
import android.widget.ArrayAdapter import android.widget.ArrayAdapter
import android.widget.Switch import android.widget.Switch
import androidx.fragment.app.Fragment import androidx.fragment.app.Fragment
import de.jrpie.android.launcher.PREF_DATE_FORMAT import de.jrpie.android.launcher.PREF_DATE_LOCALIZED
import de.jrpie.android.launcher.PREF_DATE_TIME_FLIP
import de.jrpie.android.launcher.PREF_DATE_VISIBLE
import de.jrpie.android.launcher.PREF_DOUBLE_ACTIONS_ENABLED import de.jrpie.android.launcher.PREF_DOUBLE_ACTIONS_ENABLED
import de.jrpie.android.launcher.PREF_EDGE_ACTIONS_ENABLED import de.jrpie.android.launcher.PREF_EDGE_ACTIONS_ENABLED
import de.jrpie.android.launcher.PREF_SCREEN_FULLSCREEN import de.jrpie.android.launcher.PREF_SCREEN_FULLSCREEN
import de.jrpie.android.launcher.PREF_SCREEN_TIMEOUT_DISABLED import de.jrpie.android.launcher.PREF_SCREEN_TIMEOUT_DISABLED
import de.jrpie.android.launcher.PREF_SEARCH_AUTO_KEYBOARD import de.jrpie.android.launcher.PREF_SEARCH_AUTO_KEYBOARD
import de.jrpie.android.launcher.PREF_SEARCH_AUTO_LAUNCH import de.jrpie.android.launcher.PREF_SEARCH_AUTO_LAUNCH
import de.jrpie.android.launcher.PREF_TIME_VISIBLE
import de.jrpie.android.launcher.R import de.jrpie.android.launcher.R
import de.jrpie.android.launcher.UIObject import de.jrpie.android.launcher.UIObject
import de.jrpie.android.launcher.getPreferences import de.jrpie.android.launcher.getPreferences
@ -62,6 +65,10 @@ class SettingsFragmentLauncher : Fragment(), UIObject {
setSwitchColor(binding.settingsLauncherSwitchEnableDouble, vibrantColor) setSwitchColor(binding.settingsLauncherSwitchEnableDouble, vibrantColor)
setSwitchColor(binding.settingsLauncherSwitchEnableEdge, vibrantColor) setSwitchColor(binding.settingsLauncherSwitchEnableEdge, vibrantColor)
setSwitchColor(binding.settingsLauncherSwitchDateLocalized, vibrantColor)
setSwitchColor(binding.settingsLauncherSwitchDateVisible, vibrantColor)
setSwitchColor(binding.settingsLauncherSwitchTimeVisible, vibrantColor)
setSwitchColor(binding.settingsLauncherSwitchDateTimeFlip, vibrantColor)
setButtonColor(binding.settingsLauncherButtonChooseWallpaper, vibrantColor) setButtonColor(binding.settingsLauncherButtonChooseWallpaper, vibrantColor)
} }
@ -93,7 +100,10 @@ class SettingsFragmentLauncher : Fragment(), UIObject {
startActivity(intent) startActivity(intent)
} }
bindSwitchToPref(binding.settingsLauncherSwitchDateLocalized, PREF_DATE_LOCALIZED, false) { }
bindSwitchToPref(binding.settingsLauncherSwitchDateVisible, PREF_DATE_VISIBLE, true) {}
bindSwitchToPref(binding.settingsLauncherSwitchTimeVisible, PREF_TIME_VISIBLE, true) {}
bindSwitchToPref(binding.settingsLauncherSwitchDateTimeFlip, PREF_DATE_TIME_FLIP, false) {}
bindSwitchToPref(binding.settingsLauncherSwitchScreenTimeout, PREF_SCREEN_TIMEOUT_DISABLED, false) { bindSwitchToPref(binding.settingsLauncherSwitchScreenTimeout, PREF_SCREEN_TIMEOUT_DISABLED, false) {
activity?.let{setWindowFlags(it.window)} activity?.let{setWindowFlags(it.window)}
@ -109,27 +119,6 @@ class SettingsFragmentLauncher : Fragment(), UIObject {
override fun adjustLayout() { override fun adjustLayout() {
val preferences = getPreferences(requireActivity())
// Load values into the date-format spinner
val staticAdapter = ArrayAdapter.createFromResource(
requireActivity(), R.array.settings_launcher_time_format_spinner_items,
android.R.layout.simple_spinner_item )
staticAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
binding.settingsLauncherFormatSpinner.adapter = staticAdapter
binding.settingsLauncherFormatSpinner.setSelection(preferences.getInt(PREF_DATE_FORMAT, 0))
binding.settingsLauncherFormatSpinner.onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
override fun onItemSelected(parent: AdapterView<*>, view: View, position: Int, id: Long) {
preferences.edit()
.putInt(PREF_DATE_FORMAT, position)
.apply()
}
override fun onNothingSelected(parent: AdapterView<*>?) { }
}
// Load values into the theme spinner // Load values into the theme spinner
val staticThemeAdapter = ArrayAdapter.createFromResource( val staticThemeAdapter = ArrayAdapter.createFromResource(
requireActivity(), R.array.settings_launcher_theme_spinner_items, requireActivity(), R.array.settings_launcher_theme_spinner_items,

View file

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -44,33 +42,11 @@
android:text="@string/settings_launcher_section_appearance" android:text="@string/settings_launcher_section_appearance"
android:textColor="#ccc" android:textColor="#ccc"
android:textSize="18sp" android:textSize="18sp"
android:layout_marginBottom="16sp"
tools:layout_editor_absoluteX="32dp" tools:layout_editor_absoluteX="32dp"
tools:layout_editor_absoluteY="16dp" /> tools:layout_editor_absoluteY="16dp" />
</LinearLayout> </LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16sp"
android:layout_marginBottom="16sp"
android:orientation="horizontal"
android:paddingLeft="8sp">
<TextView
android:id="@+id/settings_launcher_text_time_format"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_time_format"
android:textSize="16sp" />
<Spinner
android:id="@+id/settings_launcher_format_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/settings_launcher_time_format_spinner_items"
android:spinnerMode="dropdown" />
</LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -108,10 +84,133 @@
android:textAllCaps="false" /> android:textAllCaps="false" />
</LinearLayout> </LinearLayout>
<LinearLayout
android:id="@+id/settings_launcher_section_date_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16sp"
android:orientation="horizontal">
<TextView
android:id="@+id/settings_launcher_section_date_time_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_section_date_time"
android:textColor="#ccc"
android:textSize="18sp"
tools:layout_editor_absoluteX="32dp"
tools:layout_editor_absoluteY="16dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16sp"
android:gravity="top"
android:orientation="horizontal"
android:paddingLeft="8sp">
<TextView
android:id="@+id/settings_launcher_text_date_localized"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_date_localized"
android:textSize="16sp" />
<Switch
android:id="@+id/settings_launcher_switch_date_localized"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16sp"
android:gravity="top"
android:orientation="horizontal"
android:paddingLeft="8sp">
<TextView
android:id="@+id/settings_launcher_text_switch_date_visible"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_show_date"
android:textSize="16sp" />
<Switch
android:id="@+id/settings_launcher_switch_date_visible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16sp"
android:gravity="top"
android:orientation="horizontal"
android:paddingLeft="8sp">
<TextView
android:id="@+id/settings_launcher_text_switch_time_visible"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_show_time"
android:textSize="16sp" />
<Switch
android:id="@+id/settings_launcher_switch_time_visible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16sp"
android:gravity="top"
android:orientation="horizontal"
android:paddingLeft="8sp">
<TextView
android:id="@+id/settings_launcher_text_switch_date_time_flip"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_date_time_flip"
android:textSize="16sp" />
<Switch
android:id="@+id/settings_launcher_switch_date_time_flip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/settings_launcher_section_options" android:id="@+id/settings_launcher_section_options"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="16sp"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
@ -128,7 +227,6 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16sp"
android:layout_marginBottom="16sp" android:layout_marginBottom="16sp"
android:gravity="top" android:gravity="top"
android:orientation="horizontal" android:orientation="horizontal"
@ -182,6 +280,7 @@
android:id="@+id/settings_launcher_section_functions" android:id="@+id/settings_launcher_section_functions"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="16sp"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
@ -199,7 +298,6 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16sp"
android:layout_marginBottom="16sp" android:layout_marginBottom="16sp"
android:gravity="top" android:gravity="top"
android:orientation="horizontal" android:orientation="horizontal"

View file

@ -25,14 +25,22 @@
- Settings : Apps - Settings : Apps
- -
--> -->
<string name="settings_gesture_up">Hochwischen</string> <string name="settings_gesture_up">Nach oben wischen</string>
<string name="settings_gesture_double_up">Doppelt hoch</string> <string name="settings_gesture_double_up">Doppelt hoch</string>
<string name="settings_gesture_down">Runterwischen</string> <string name="settings_gesture_down">Nach unten wischen</string>
<string name="settings_gesture_double_down">Doppelt runter</string> <string name="settings_gesture_double_down">Doppelt runter</string>
<string name="settings_gesture_left">Linkswischen</string> <string name="settings_gesture_left">Nach links wischen</string>
<string name="settings_gesture_double_left">Doppelt links</string> <string name="settings_gesture_double_left">Doppelt links</string>
<string name="settings_gesture_right">Rechtswischen</string> <string name="settings_gesture_right">Nach rechts wischen</string>
<string name="settings_gesture_double_right">Doppelt rechts</string> <string name="settings_gesture_double_right">Doppelt rechts</string>
<string name="settings_gesture_right_top_edge">Nach rechts wischen (oben)</string>
<string name="settings_gesture_right_bottom_edge">Nach rechts wischen (unten)</string>
<string name="settings_gesture_left_bottom_edge">"Nach links wischen (unten) "</string>
<string name="settings_gesture_left_top_edge">Nach links wischen (oben)</string>
<string name="settings_gesture_up_left_edge">Nach oben wischen (links)</string>
<string name="settings_gesture_up_right_edge">Nach oben wischen (rechts)</string>
<string name="settings_gesture_down_left_edge">Nach unten wischen (links)</string>
<string name="settings_gesture_down_right_edge">Nach unten wischen (rechts)</string>
<string name="settings_gesture_vol_up">Lautstärke +</string> <string name="settings_gesture_vol_up">Lautstärke +</string>
<string name="settings_gesture_vol_down">Lautstärke -</string> <string name="settings_gesture_vol_down">Lautstärke -</string>
<string name="settings_gesture_double_click">Doppelklick</string> <string name="settings_gesture_double_click">Doppelklick</string>
@ -52,17 +60,13 @@
- Settings : Launcher - Settings : Launcher
- -
--> -->
<string name="settings_launcher_section_appearance">Erscheinung</string> <string name="settings_launcher_section_appearance">Aussehen</string>
<string name="settings_launcher_time_format">Datumsformat</string>
<string-array name="settings_launcher_time_format_spinner_items">
<item>Standard</item>
<item>Invertiert</item>
<item>Uhrzeit</item>
<item>Deutsch</item>
<item>Nichts</item>
</string-array>
<string name="settings_launcher_show_time">Zeit anzeigen</string>
<string name="settings_launcher_show_date">Datum anzeigen</string>
<string name="settings_launcher_date_localized">Lokalisiertes Datumsformat verwenden</string>
<string name="settings_launcher_date_time_flip">Datum und Uhrzeit tauschen</string>
<string name="settings_launcher_section_date_time"><![CDATA[Datum & Uhrzeit]]></string>
<string name="settings_launcher_theme">Theme</string> <string name="settings_launcher_theme">Theme</string>
<string-array name="settings_launcher_theme_spinner_items"> <string-array name="settings_launcher_theme_spinner_items">
<item>Standard</item> <item>Standard</item>
@ -74,14 +78,15 @@
<string name="settings_launcher_section_display">Bildschirm</string> <string name="settings_launcher_section_display">Bildschirm</string>
<string name="settings_launcher_disable_timeout">Bildschirm wach halten</string> <string name="settings_launcher_disable_timeout">Bildschirm nicht ausschalten</string>
<string name="settings_launcher_full_screen">Vollbild verwenden</string> <string name="settings_launcher_full_screen">Vollbild</string>
<string name="settings_launcher_section_functions">Funktionen</string> <string name="settings_launcher_section_functions">Funktionen</string>
<string name="settings_launcher_enable_double">Doppelte Wischaktionen</string> <string name="settings_launcher_enable_double">Doppelte Wischaktionen</string>
<string name="settings_launcher_auto_launch">Suchergebisse launchen</string> <string name="settings_launcher_enable_edge">Kantenwischaktionen</string>
<string name="settings_launcher_auto_keyboard">Tastatur in Suche öffnen</string> <string name="settings_launcher_auto_launch">Suchergebnis starten</string>
<string name="settings_launcher_auto_keyboard">Tastatur automatisch öffnen</string>
<string name="settings_launcher_sensitivity">Empfindlichkeit</string> <string name="settings_launcher_sensitivity">Empfindlichkeit</string>
@ -97,7 +102,7 @@
<string name="settings_meta_show_tutorial">Zum Launcher Tutorial</string> <string name="settings_meta_show_tutorial">Zum Launcher Tutorial</string>
<string name="settings_meta_reset">Zurücksetzen</string> <string name="settings_meta_reset">Zurücksetzen</string>
<string name="settings_meta_reset_confirm">All deine Einstellungen gehen verloren. Weitermachen?</string> <string name="settings_meta_reset_confirm">Alle Einstellungen gehen verloren. Weitermachen?</string>
<string name="settings_meta_report_bug">Einen Fehler melden</string> <string name="settings_meta_report_bug">Einen Fehler melden</string>

View file

@ -64,30 +64,7 @@
--> -->
<string name="settings_launcher_section_appearance">Apariencia</string> <string name="settings_launcher_section_appearance">Apariencia</string>
<string name="settings_launcher_time_format">Formato de fecha</string> <string name="settings_launcher_section_date_time">Formato de fecha</string>
<string-array name="settings_launcher_time_format_spinner_items">
<item>Normal</item>
<item>Inverso</item>
<item>Solo hora</item>
<item>Alemán</item>
<item>Nada</item>
</string-array>
<string-array name="settings_launcher_time_formats_upper">
<item>dd-MM-yyyy</item>
<item>HH:mm:ss</item>
<item>HH:mm:ss</item>
<item>HH:mm:ss</item>
<item/>
</string-array>
<string-array name="settings_launcher_time_formats_lower">
<item>HH:mm:ss</item>
<item>dd-MM-yyyy</item>
<item> </item>
<item>dd.MM.yyyy</item>
<item />
</string-array>
<string name="settings_launcher_theme">Tema</string>
<string-array name="settings_launcher_theme_spinner_items"> <string-array name="settings_launcher_theme_spinner_items">
<item>Normal</item> <item>Normal</item>
<item>Oscuro</item> <item>Oscuro</item>

View file

@ -46,14 +46,7 @@
- -
--> -->
<string name="settings_launcher_section_appearance">Apparence</string> <string name="settings_launcher_section_appearance">Apparence</string>
<string name="settings_launcher_time_format">Format de date</string> <string name="settings_launcher_section_date_time">Format de date</string>
<string-array name="settings_launcher_time_format_spinner_items">
<item>Défaut</item>
<item>Inversé</item>
<item>Temps</item>
<item>Allemand</item>
<item>Rien</item>
</string-array>
<string name="settings_launcher_theme">Thème</string> <string name="settings_launcher_theme">Thème</string>
<string-array name="settings_launcher_theme_spinner_items"> <string-array name="settings_launcher_theme_spinner_items">
<item>Défaut</item> <item>Défaut</item>

View file

@ -40,7 +40,7 @@
<string name="settings_apps_view_all">浏览全部应用</string> <string name="settings_apps_view_all">浏览全部应用</string>
<string name="settings_apps_install">安装应用</string> <string name="settings_apps_install">安装应用</string>
<string name="settings_apps_toast_store_not_found">没有找到应用市场</string> <string name="settings_apps_toast_store_not_found">没有找到应用市场</string>
<string name="settings_launcher_time_format">日期格式</string> <string name="settings_launcher_section_date_time">日期格式</string>
<string name="settings_launcher_choose_wallpaper">选择一个壁纸</string> <string name="settings_launcher_choose_wallpaper">选择一个壁纸</string>
<string name="settings_launcher_change_wallpaper">换壁纸</string> <string name="settings_launcher_change_wallpaper">换壁纸</string>
<string name="settings_launcher_disable_timeout">保持屏幕常亮</string> <string name="settings_launcher_disable_timeout">保持屏幕常亮</string>

View file

@ -70,28 +70,6 @@
--> -->
<string name="settings_launcher_section_appearance">Appearance</string> <string name="settings_launcher_section_appearance">Appearance</string>
<string name="settings_launcher_time_format">Date format</string>
<string-array name="settings_launcher_time_format_spinner_items">
<item>Default</item>
<item>Inverse</item>
<item>Time only</item>
<item>German</item>
<item>Nothing</item>
</string-array>
<string-array name="settings_launcher_time_formats_upper">
<item>yyyy-MM-dd</item>
<item>HH:mm:ss</item>
<item>HH:mm:ss</item>
<item>HH:mm:ss</item>
<item/>
</string-array>
<string-array name="settings_launcher_time_formats_lower">
<item>HH:mm:ss</item>
<item>yyyy-MM-dd</item>
<item/>
<item>dd.MM.yyyy</item>
<item/>
</string-array>
<string name="settings_launcher_theme">Theme</string> <string name="settings_launcher_theme">Theme</string>
<string-array name="settings_launcher_theme_spinner_items"> <string-array name="settings_launcher_theme_spinner_items">
@ -99,6 +77,12 @@
<item>Dark</item> <item>Dark</item>
</string-array> </string-array>
<string name="settings_launcher_section_date_time"><![CDATA[Date & time]]></string>
<string name="settings_launcher_show_time">Show time</string>
<string name="settings_launcher_show_date">Show date</string>
<string name="settings_launcher_date_localized">Use localized date format</string>
<string name="settings_launcher_date_time_flip">Flip date and time</string>
<string name="settings_launcher_choose_wallpaper">Choose a wallpaper</string> <string name="settings_launcher_choose_wallpaper">Choose a wallpaper</string>
<string name="settings_launcher_change_wallpaper">Change wallpaper</string> <string name="settings_launcher_change_wallpaper">Change wallpaper</string>

View file

@ -1,5 +1,6 @@
- Chinese translation (thank you, yzqzss!) - Chinese translation (thank you, yzqzss!)
- improved French translation - improved French translation (thank you, toby-bro!)
- improved German translation
All Apps: All Apps:
- Removed three dots in app list (use long click instead) - Removed three dots in app list (use long click instead)
@ -11,3 +12,4 @@ All Apps:
Settings: Settings:
- Fixed settings for small displays - Fixed settings for small displays
- Removed sensitivity setting (everybody was setting it to maximum anyway) - Removed sensitivity setting (everybody was setting it to maximum anyway)
- Reworked date & time settings

View file

@ -21,3 +21,4 @@ android.enableJetifier=true
kotlin.code.style=official kotlin.code.style=official
android.nonTransitiveRClass=false android.nonTransitiveRClass=false
android.nonFinalResIds=false android.nonFinalResIds=false
org.gradle.configuration-cache=true