Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
863b8f79d8 | |||
857a8009b6 | |||
9199f28ad9 | |||
ddb1b7494a | |||
fd2b1ba976 | |||
90f0d7de00 | |||
66ad5e0839 | |||
2ac7e072e5 | |||
a3392dabcf | |||
c2c54a04d2 | |||
2c237058b3 | |||
aa2b4b0510 |
BIN
.idea/caches/build_file_checksums.ser
generated
@ -18,8 +18,8 @@ android {
|
||||
applicationId "com.tommasoberlose.anotherwidget"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 29
|
||||
versionCode 96
|
||||
versionName "2.0.9"
|
||||
versionCode 100
|
||||
versionName "2.0.11"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
@ -31,6 +31,8 @@ object Constants {
|
||||
|
||||
enum class WeatherIconPack(val value: Int) {
|
||||
DEFAULT(0),
|
||||
MINIMAL(1)
|
||||
MINIMAL(1),
|
||||
COOL(2),
|
||||
GOOGLE_NEWS(3)
|
||||
}
|
||||
}
|
@ -128,10 +128,8 @@ object IntentHelper {
|
||||
|
||||
putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, e.startDate + start.timeZone.getOffset(start.timeInMillis))
|
||||
putExtra(CalendarContract.EXTRA_EVENT_END_TIME, e.endDate + end.timeZone.getOffset(end.timeInMillis))
|
||||
// putExtra(CalendarContract.EXTRA_EVENT_ALL_DAY, 1)
|
||||
putExtra(CalendarContract.EXTRA_EVENT_ALL_DAY, 1)
|
||||
}
|
||||
|
||||
Log.d("ciao", "intent: ${this} - extras: ${this.extras}")
|
||||
}
|
||||
} else {
|
||||
getCalendarIntent(context).apply {
|
||||
|
@ -47,81 +47,201 @@ object WeatherHelper {
|
||||
}
|
||||
|
||||
fun getWeatherIconResource(icon: String): Int {
|
||||
when (icon) {
|
||||
return when (icon) {
|
||||
"01d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.clear_day else R.drawable.clear_day_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.clear_day_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.clear_day_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.clear_day_4
|
||||
else -> R.drawable.clear_day
|
||||
}
|
||||
}
|
||||
"02d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.partly_cloudy else R.drawable.partly_cloudy_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.partly_cloudy_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.partly_cloudy_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.partly_cloudy_4
|
||||
else -> R.drawable.partly_cloudy
|
||||
}
|
||||
}
|
||||
"03d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.mostly_cloudy else R.drawable.mostly_cloudy_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.mostly_cloudy_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.mostly_cloudy_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.mostly_cloudy_4
|
||||
else -> R.drawable.mostly_cloudy
|
||||
}
|
||||
}
|
||||
"04d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.cloudy_weather else R.drawable.cloudy_weather_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.cloudy_weather_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.cloudy_weather_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.cloudy_weather_4
|
||||
else -> R.drawable.cloudy_weather
|
||||
}
|
||||
}
|
||||
"09d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.storm_weather_day else R.drawable.storm_weather_day_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.storm_weather_day_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.storm_weather_day_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.storm_weather_day_4
|
||||
else -> R.drawable.storm_weather_day
|
||||
}
|
||||
}
|
||||
"10d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.rainy_day else R.drawable.rainy_day_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.rainy_day_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.rainy_day_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.rainy_day_4
|
||||
else -> R.drawable.rainy_day
|
||||
}
|
||||
}
|
||||
"11d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.thunder_day else R.drawable.thunder_day_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.thunder_day_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.thunder_day_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.thunder_day_4
|
||||
else -> R.drawable.thunder_day
|
||||
}
|
||||
}
|
||||
"13d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.snow_day else R.drawable.snow_day_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.snow_day_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.snow_day_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.snow_day_4
|
||||
else -> R.drawable.snow_day
|
||||
}
|
||||
}
|
||||
"50d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.haze_day else R.drawable.haze_day_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.haze_day_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.haze_day_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.haze_day_4
|
||||
else -> R.drawable.haze_day
|
||||
}
|
||||
}
|
||||
"80d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.windy_day else R.drawable.windy_day_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.windy_day_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.windy_day_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.windy_day_4
|
||||
else -> R.drawable.windy_day
|
||||
}
|
||||
}
|
||||
"81d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.rain_snow_day else R.drawable.rain_snow_day_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.rain_snow_day_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.rain_snow_day_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.rain_snow_day_4
|
||||
else -> R.drawable.rain_snow_day
|
||||
}
|
||||
}
|
||||
"82d" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.haze_weather else R.drawable.haze_weather_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.haze_weather_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.haze_weather_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.haze_weather_4
|
||||
else -> R.drawable.haze_weather
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
"01n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.clear_night else R.drawable.clear_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.clear_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.clear_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.clear_night_4
|
||||
else -> R.drawable.clear_night
|
||||
}
|
||||
}
|
||||
"02n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.partly_cloudy_night else R.drawable.partly_cloudy_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.partly_cloudy_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.partly_cloudy_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.partly_cloudy_night_4
|
||||
else -> R.drawable.partly_cloudy_night
|
||||
}
|
||||
}
|
||||
"03n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.mostly_cloudy_night else R.drawable.mostly_cloudy_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.mostly_cloudy_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.mostly_cloudy_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.mostly_cloudy_night_4
|
||||
else -> R.drawable.mostly_cloudy_night
|
||||
}
|
||||
}
|
||||
"04n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.cloudy_weather else R.drawable.cloudy_weather_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.cloudy_weather_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.cloudy_weather_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.cloudy_weather_4
|
||||
else -> R.drawable.cloudy_weather
|
||||
}
|
||||
}
|
||||
"09n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.storm_weather_night else R.drawable.storm_weather_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.storm_weather_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.storm_weather_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.storm_weather_night_4
|
||||
else -> R.drawable.storm_weather_night
|
||||
}
|
||||
}
|
||||
"10n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.rainy_night else R.drawable.rainy_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.rainy_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.rainy_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.rainy_night_4
|
||||
else -> R.drawable.rainy_night
|
||||
}
|
||||
}
|
||||
"11n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.thunder_night else R.drawable.thunder_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.thunder_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.thunder_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.thunder_night_4
|
||||
else -> R.drawable.thunder_night
|
||||
}
|
||||
}
|
||||
"13n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.snow_night else R.drawable.snow_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.snow_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.snow_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.snow_night_4
|
||||
else -> R.drawable.snow_night
|
||||
}
|
||||
}
|
||||
"50n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.haze_night else R.drawable.haze_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.haze_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.haze_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.haze_night_4
|
||||
else -> R.drawable.haze_night
|
||||
}
|
||||
}
|
||||
"80n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.windy_night else R.drawable.windy_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.windy_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.windy_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.windy_night_4
|
||||
else -> R.drawable.windy_night
|
||||
}
|
||||
}
|
||||
"81n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.rain_snow_night else R.drawable.rain_snow_night_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.rain_snow_night_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.rain_snow_night_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.rain_snow_night_4
|
||||
else -> R.drawable.rain_snow_night
|
||||
}
|
||||
}
|
||||
"82n" -> {
|
||||
return if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) R.drawable.haze_weather else R.drawable.haze_weather_2
|
||||
when (Preferences.weatherIconPack) {
|
||||
Constants.WeatherIconPack.COOL.value -> R.drawable.haze_weather_3
|
||||
Constants.WeatherIconPack.MINIMAL.value -> R.drawable.haze_weather_2
|
||||
Constants.WeatherIconPack.GOOGLE_NEWS.value -> R.drawable.haze_weather_4
|
||||
else -> R.drawable.haze_weather
|
||||
}
|
||||
}
|
||||
else -> {
|
||||
return R.drawable.unknown
|
||||
|
@ -300,7 +300,7 @@ class CalendarTabFragment : Fragment() {
|
||||
action_show_until.setOnClickListener {
|
||||
if (Preferences.showEvents) {
|
||||
val dialog = BottomSheetMenu<Int>(requireContext(), header = getString(R.string.settings_show_until_title)).setSelectedValue(Preferences.showUntil)
|
||||
intArrayOf(6,7,0,1,2,3).forEach {
|
||||
intArrayOf(6,7,0,1,2,3, 4, 5).forEach {
|
||||
dialog.addItem(getString(SettingsStringHelper.getShowUntilString(it)), it)
|
||||
}
|
||||
dialog.addOnSelectItemListener { value ->
|
||||
|
@ -251,24 +251,22 @@ class GeneralTabFragment : Fragment() {
|
||||
}
|
||||
|
||||
action_date_format.setOnClickListener {
|
||||
if (Preferences.showEvents) {
|
||||
val now = Calendar.getInstance()
|
||||
val dialog = BottomSheetMenu<String>(requireContext(), header = getString(R.string.settings_date_format_title)).setSelectedValue(Preferences.dateFormat)
|
||||
val now = Calendar.getInstance()
|
||||
val dialog = BottomSheetMenu<String>(requireContext(), header = getString(R.string.settings_date_format_title)).setSelectedValue(Preferences.dateFormat)
|
||||
|
||||
dialog.addItem(DateHelper.getDefaultDateText(requireContext(), now), "")
|
||||
if (Preferences.dateFormat != "") {
|
||||
dialog.addItem(DateHelper.getDateText(requireContext(), now), Preferences.dateFormat)
|
||||
}
|
||||
dialog.addItem(getString(R.string.custom_date_format), "-")
|
||||
|
||||
dialog.addOnSelectItemListener { value ->
|
||||
if (value == "-") {
|
||||
startActivity(Intent(requireContext(), CustomDateActivity::class.java))
|
||||
} else {
|
||||
Preferences.dateFormat = value
|
||||
}
|
||||
}.show()
|
||||
dialog.addItem(DateHelper.getDefaultDateText(requireContext(), now), "")
|
||||
if (Preferences.dateFormat != "") {
|
||||
dialog.addItem(DateHelper.getDateText(requireContext(), now), Preferences.dateFormat)
|
||||
}
|
||||
dialog.addItem(getString(R.string.custom_date_format), "-")
|
||||
|
||||
dialog.addOnSelectItemListener { value ->
|
||||
if (value == "-") {
|
||||
startActivity(Intent(requireContext(), CustomDateActivity::class.java))
|
||||
} else {
|
||||
Preferences.dateFormat = value
|
||||
}
|
||||
}.show()
|
||||
}
|
||||
|
||||
action_background_color.setOnClickListener {
|
||||
|
@ -10,6 +10,7 @@ import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.core.os.BuildCompat
|
||||
import androidx.core.view.isVisible
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import androidx.fragment.app.Fragment
|
||||
@ -28,7 +29,9 @@ import com.tommasoberlose.anotherwidget.databinding.FragmentWeatherSettingsBindi
|
||||
import com.tommasoberlose.anotherwidget.global.Constants
|
||||
import com.tommasoberlose.anotherwidget.global.Preferences
|
||||
import com.tommasoberlose.anotherwidget.global.RequestCode
|
||||
import com.tommasoberlose.anotherwidget.helpers.ColorHelper
|
||||
import com.tommasoberlose.anotherwidget.helpers.SettingsStringHelper
|
||||
import com.tommasoberlose.anotherwidget.helpers.WeatherHelper
|
||||
import com.tommasoberlose.anotherwidget.receivers.WeatherReceiver
|
||||
import com.tommasoberlose.anotherwidget.ui.activities.ChooseApplicationActivity
|
||||
import com.tommasoberlose.anotherwidget.ui.activities.CustomLocationActivity
|
||||
@ -129,9 +132,12 @@ class WeatherTabFragment : Fragment() {
|
||||
|
||||
viewModel.weatherIconPack.observe(viewLifecycleOwner, Observer {
|
||||
maintainScrollPosition {
|
||||
label_weather_icon_pack?.text = when (it) {
|
||||
Constants.WeatherIconPack.MINIMAL.value -> getString(R.string.settings_weather_icon_pack_minimal)
|
||||
else -> getString(R.string.settings_weather_icon_pack_default)
|
||||
label_weather_icon_pack?.text = getString(R.string.settings_weather_icon_pack_default).format((it + 1))
|
||||
weather_icon_pack.setImageDrawable(ContextCompat.getDrawable(requireContext(), WeatherHelper.getWeatherIconResource("01d")))
|
||||
if (it == Constants.WeatherIconPack.MINIMAL.value) {
|
||||
weather_icon_pack.setColorFilter(ContextCompat.getColor(requireContext(), R.color.colorPrimaryText))
|
||||
} else {
|
||||
weather_icon_pack.setColorFilter(ContextCompat.getColor(requireContext(), android.R.color.transparent))
|
||||
}
|
||||
}
|
||||
checkLocationPermission()
|
||||
@ -230,12 +236,13 @@ class WeatherTabFragment : Fragment() {
|
||||
|
||||
action_weather_icon_pack.setOnClickListener {
|
||||
if (Preferences.showWeather) {
|
||||
BottomSheetMenu<Int>(requireContext(), header = getString(R.string.settings_weather_icon_pack_title)).setSelectedValue(Preferences.weatherIconPack)
|
||||
.addItem(getString(R.string.settings_weather_icon_pack_default), Constants.WeatherIconPack.DEFAULT.value)
|
||||
.addItem(getString(R.string.settings_weather_icon_pack_minimal), Constants.WeatherIconPack.MINIMAL.value)
|
||||
.addOnSelectItemListener { value ->
|
||||
Preferences.weatherIconPack = value
|
||||
}.show()
|
||||
val dialog = BottomSheetMenu<Int>(requireContext(), header = getString(R.string.settings_weather_icon_pack_title)).setSelectedValue(Preferences.weatherIconPack)
|
||||
Constants.WeatherIconPack.values().forEach {
|
||||
dialog.addItem(getString(R.string.settings_weather_icon_pack_default).format(it.value + 1), it.value)
|
||||
}
|
||||
dialog.addOnSelectItemListener { value ->
|
||||
Preferences.weatherIconPack = value
|
||||
}.show()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -625,7 +625,7 @@ class MainWidget : AppWidgetProvider() {
|
||||
it.setTextColor(ColorHelper.getFontColor())
|
||||
}
|
||||
|
||||
if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) {
|
||||
if (Preferences.weatherIconPack != Constants.WeatherIconPack.MINIMAL.value) {
|
||||
listOf<ImageView>(v.action_next, v.action_previous)
|
||||
} else {
|
||||
listOf<ImageView>(v.action_next, v.action_previous, v.empty_weather_icon, v.special_weather_icon)
|
||||
@ -637,7 +637,7 @@ class MainWidget : AppWidgetProvider() {
|
||||
it.setTextColor(ColorHelper.getSecondaryFontColor())
|
||||
}
|
||||
|
||||
if (Preferences.weatherIconPack == Constants.WeatherIconPack.DEFAULT.value) {
|
||||
if (Preferences.weatherIconPack != Constants.WeatherIconPack.MINIMAL.value) {
|
||||
listOf<ImageView>(v.second_row_icon)
|
||||
} else {
|
||||
listOf<ImageView>(v.second_row_icon, v.weather_icon)
|
||||
|
BIN
app/src/main/res/drawable/clear_day_3.png
Normal file
After Width: | Height: | Size: 685 B |
BIN
app/src/main/res/drawable/clear_day_4.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
app/src/main/res/drawable/clear_night_3.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/src/main/res/drawable/clear_night_4.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
app/src/main/res/drawable/cloudy_weather_3.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable/cloudy_weather_4.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
app/src/main/res/drawable/haze_day_3.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
app/src/main/res/drawable/haze_day_4.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
app/src/main/res/drawable/haze_night_3.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
app/src/main/res/drawable/haze_night_4.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
app/src/main/res/drawable/haze_weather_3.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable/haze_weather_4.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
app/src/main/res/drawable/mostly_cloudy_3.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
app/src/main/res/drawable/mostly_cloudy_4.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/drawable/mostly_cloudy_night_3.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
app/src/main/res/drawable/mostly_cloudy_night_4.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
app/src/main/res/drawable/partly_cloudy_3.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/src/main/res/drawable/partly_cloudy_4.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
app/src/main/res/drawable/partly_cloudy_night_3.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/src/main/res/drawable/partly_cloudy_night_4.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
app/src/main/res/drawable/rain_snow_3.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
app/src/main/res/drawable/rain_snow_4.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
app/src/main/res/drawable/rain_snow_day_3.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
app/src/main/res/drawable/rain_snow_day_4.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
app/src/main/res/drawable/rain_snow_night_3.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
app/src/main/res/drawable/rain_snow_night_4.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
app/src/main/res/drawable/rainy_day_3.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable/rainy_day_4.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
app/src/main/res/drawable/rainy_night_3.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable/rainy_night_4.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
app/src/main/res/drawable/rainy_weather_3.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable/rainy_weather_4.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/showcase_3.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/showcase_4.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
app/src/main/res/drawable/snow_day_3.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable/snow_day_4.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
app/src/main/res/drawable/snow_night_3.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable/snow_night_4.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
app/src/main/res/drawable/snow_weather_3.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable/snow_weather_4.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
app/src/main/res/drawable/storm_weather_3.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
app/src/main/res/drawable/storm_weather_4.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
app/src/main/res/drawable/storm_weather_day_3.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/storm_weather_day_4.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
app/src/main/res/drawable/storm_weather_night_3.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
app/src/main/res/drawable/storm_weather_night_4.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
app/src/main/res/drawable/thunder_day_3.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
app/src/main/res/drawable/thunder_day_4.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
app/src/main/res/drawable/thunder_night_3.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable/thunder_night_4.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
app/src/main/res/drawable/thunder_weather_3.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/drawable/thunder_weather_4.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
app/src/main/res/drawable/unknown_3.png
Normal file
After Width: | Height: | Size: 90 B |
BIN
app/src/main/res/drawable/windy_day_3.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
app/src/main/res/drawable/windy_day_4.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
app/src/main/res/drawable/windy_night_3.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
app/src/main/res/drawable/windy_night_4.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/drawable/windy_weather_3.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/src/main/res/drawable/windy_weather_4.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
@ -310,54 +310,75 @@
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:text="@string/preferences_header"
|
||||
android:textAlignment="viewStart"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/colorAccent"
|
||||
android:textAppearance="@style/AnotherWidget.Settings.Header"
|
||||
app:textAllCaps="false" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_sort_glance_providers"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/round_flip_to_front"
|
||||
android:tint="@color/colorPrimaryText"/>
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:text="@string/preferences_header"
|
||||
android:textAlignment="viewStart"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/colorAccent"
|
||||
android:textAppearance="@style/AnotherWidget.Settings.Header"
|
||||
app:textAllCaps="false" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/action_sort_glance_providers"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/round_flip_to_front"
|
||||
android:tint="@color/colorPrimaryText"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:text="@string/settings_sort_glance_providers_title"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/settings_sort_glance_providers_subtitle"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/small_clock_warning"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:text="@string/settings_sort_glance_providers_title"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/settings_sort_glance_providers_subtitle"
|
||||
style="@style/AnotherWidget.Settings.Subtitle"/>
|
||||
android:paddingTop="16dp"
|
||||
android:paddingLeft="24dp"
|
||||
android:paddingRight="24dp"
|
||||
android:paddingBottom="32dp"
|
||||
android:duplicateParentState="true"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/glance_info"
|
||||
android:textColor="@color/colorPrimaryText"
|
||||
android:letterSpacing="0"
|
||||
android:fontFamily="@font/product_sans"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
app:textAllCaps="false" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@ -327,6 +327,7 @@
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:id="@+id/weather_icon_pack"
|
||||
android:src="@drawable/round_cloud_queue"
|
||||
android:tint="@color/colorPrimaryText"/>
|
||||
<LinearLayout
|
||||
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name" translatable="false">Another Widget</string>
|
||||
<string name="add_widget">Add</string>
|
||||
@ -106,8 +107,7 @@
|
||||
<string name="action_open_provider">Gå til OpenWeatherMap.com</string>
|
||||
<string name="api_key_info_all_set">Der kan gå op til 10 minutter inden din API nøgle er aktiveret. Vejret vil blive opdateret så snart det er tilgængeligt.</string>
|
||||
<string name="settings_weather_icon_pack_title">Ikonpakke</string>
|
||||
<string name="settings_weather_icon_pack_default">Standard</string>
|
||||
<string name="settings_weather_icon_pack_minimal">Minimal</string>
|
||||
<string name="settings_weather_icon_pack_default">Ikonpakke %d</string>
|
||||
|
||||
<!-- Clock -->
|
||||
<string name="settings_clock_title">Ur</string>
|
||||
@ -146,6 +146,7 @@
|
||||
<string name="daily_steps_counter">%d skridt indtil videre</string>
|
||||
<string name="charging">Oplader</string>
|
||||
<string name="providers">Kilder</string>
|
||||
<string name="glance_info">Glance info will show up only when there are no events displayed and only when a few conditions are verified.</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="action_share">Del</string>
|
||||
|
203
app/src/main/res/values-fr/strings.xml
Normal file
@ -0,0 +1,203 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="add_widget">Ajouter</string>
|
||||
|
||||
<!-- Display -->
|
||||
<string name="settings_general_title">Affichage</string>
|
||||
<string name="settings_font_color_title">Couleur du texte</string>
|
||||
<string name="settings_secondary_font_color_title">Couleur du texte</string>
|
||||
<string name="settings_background_color_title">Couleur de l\'arrière-plan</string>
|
||||
<string name="title_main_text_size">Taille du texte</string>
|
||||
<string name="title_second_text_size">Taille du texte</string>
|
||||
<string name="title_text_shadow">Ombre du texte</string>
|
||||
<string name="settings_text_shadow_subtitle_none">Aucune</string>
|
||||
<string name="settings_text_shadow_subtitle_low">Faible</string>
|
||||
<string name="settings_text_shadow_subtitle_high">Élevée</string>
|
||||
<string name="settings_custom_font_title">Police du widget</string>
|
||||
<string name="custom_font_subtitle_0">Police de l\'appareil</string>
|
||||
<string name="custom_font_subtitle_1">Product Sans</string>
|
||||
<string name="custom_date_format">Format personnalisé</string>
|
||||
<string name="alpha">Opacité </string>
|
||||
<string name="transparent">Transparent</string>
|
||||
<string name="settings_show_dividers_title">Séparateur de texte</string>
|
||||
<string name="first_row_header">Première ligne</string>
|
||||
<string name="second_row_header">Seconde ligne</string>
|
||||
<string name="global_style_header">Widget</string>
|
||||
<string name="action_capitalize_the_date">Date en majuscules</string>
|
||||
<string name="settings_date_format_title">Format de date</string>
|
||||
|
||||
<!-- Calendar -->
|
||||
<string name="settings_calendar_title">Calendrier</string>
|
||||
<string name="title_permission_calendar">Afficher vos événements</string>
|
||||
<string name="description_permission_calendar">Accordez l\'accès à votre calendrier\npour afficher les événements dans votre widget</string>
|
||||
<string name="settings_filter_calendar_title">Filtrer les événements</string>
|
||||
<string name="settings_filter_calendar_subtitle">Modifier la visibilité du calendrier</string>
|
||||
<string name="settings_all_day_title">Événements toute la journée</string>
|
||||
<string name="main_calendar">Calendrier du compte</string>
|
||||
<string name="calendar_settings_list_error">Erreur de chargement de la liste des calendriers</string>
|
||||
<string name="all_day">Événement toute la journée</string>
|
||||
<string name="show_events_visible">Événements visibles</string>
|
||||
<string name="show_events_not_visible">Événements non visibles</string>
|
||||
<string name="settings_show_until_subtitle_6">30 minutes avant</string>
|
||||
<string name="settings_show_until_subtitle_7">1 heure avant</string>
|
||||
<string name="settings_show_until_subtitle_0">3 heures avant</string>
|
||||
<string name="settings_show_until_subtitle_1">6 heures avant</string>
|
||||
<string name="settings_show_until_subtitle_2">12 heures avant</string>
|
||||
<string name="settings_show_until_subtitle_3">24 heures avant</string>
|
||||
<string name="settings_show_until_subtitle_4">3 jours avant</string>
|
||||
<string name="settings_show_until_subtitle_5">7 jours avant</string>
|
||||
<string name="settings_show_until_title">Afficher les événements au moins</string>
|
||||
<string name="day_char">j</string>
|
||||
<string name="settings_calendar_app_title">App calendrier par défaut</string>
|
||||
<string name="error_no_calendar">Aucun calendrier trouvé</string>
|
||||
<string name="tomorrow">demain</string>
|
||||
<string name="today">aujourd\'hui</string>
|
||||
<string name="settings_event_app_title">Taper sur l\'événement ouvre</string>
|
||||
<string name="settings_second_row_info_title">Infos de l\'événement</string>
|
||||
<string name="settings_second_row_info_subtitle_1">Adresse de l\'événement</string>
|
||||
<string name="settings_second_row_info_subtitle_0">Heure de l\'événement</string>
|
||||
<string name="settings_show_diff_time_title">Temps restant jusqu\'à l\'événement</string>
|
||||
<string name="settings_show_declined_events_title">Événements refusés</string>
|
||||
<string name="default_event_app">Détails de l\'événement</string>
|
||||
<string name="default_calendar_app">App calendrier par défaut</string>
|
||||
<string name="settings_show_multiple_events_title">Sélecteur d\'événements multiples</string>
|
||||
<string name="soon">bientôt</string>
|
||||
<string name="now">maintenant</string>
|
||||
<string name="settings_widget_update_frequency_title">Fréquence de màj du temps restant</string>
|
||||
<string name="settings_widget_update_frequency_subtitle">Une fréquence élevée consomme plus de batterie</string>
|
||||
<string name="settings_widget_update_frequency_low">Faible</string>
|
||||
<string name="settings_widget_update_frequency_default">Par défaut</string>
|
||||
<string name="settings_widget_update_frequency_high">Élevée</string>
|
||||
<string name="filters_header">Filtres</string>
|
||||
<string name="event_detail_header">Détails</string>
|
||||
|
||||
<!-- Weather -->
|
||||
<string name="settings_weather_title">Météo</string>
|
||||
<string name="title_permission_location">Afficher la météo</string>
|
||||
<string name="description_permission_location">Accordez l\'accès à votre localisation\npour voir la météo dans votre widget</string>
|
||||
<string name="settings_unit_title">Unité de mesure</string>
|
||||
<string name="settings_weather_refresh_period_title">Fréquence d\'actualisation</string>
|
||||
<string name="settings_weather_refresh_period_subtitle_0">30 minutes</string>
|
||||
<string name="settings_weather_refresh_period_subtitle_1">1 heure</string>
|
||||
<string name="settings_weather_refresh_period_subtitle_2">3 heures</string>
|
||||
<string name="settings_weather_refresh_period_subtitle_3">6 heures</string>
|
||||
<string name="settings_weather_refresh_period_subtitle_4">12 heures</string>
|
||||
<string name="settings_weather_refresh_period_subtitle_5">24 heures</string>
|
||||
<string name="settings_custom_location_title">Localisation</string>
|
||||
<string name="custom_location_gps">Utiliser le GPS</string>
|
||||
<string name="show_weather_visible">Infos météo visibles</string>
|
||||
<string name="show_weather_not_visible">Infos météo non visibles</string>
|
||||
<string name="settings_weather_app_title">Taper sur la météo ouvre</string>
|
||||
<string name="settings_weather_provider_api_key_title">Clé API pour la météo</string>
|
||||
<string name="settings_weather_provider_api_key_subtitle_all_set">Fournisseur météo correctement configuré</string>
|
||||
<string name="settings_weather_provider_api_key_subtitle_not_set">Le fournisseur météo doit être configuré</string>
|
||||
<string name="api_key_hint">Clé API OpenWeather</string>
|
||||
<string name="default_weather_app">Google Weather</string>
|
||||
<string name="weather_warning">La météo de Google Awareness est obsolète. Il faut désormais une clé API OpenWeather pour afficher la météo dans le widget.</string>
|
||||
<string name="api_key_title_1">Inscrivez-vous sur OpenWeather</string>
|
||||
<string name="api_key_subtitle_1">Créez un compte gratuit sur OpenWeather. \nCela ne prendra que quelques minutes.</string>
|
||||
<string name="api_key_title_2">Copiez votre clé API</string>
|
||||
<string name="api_key_subtitle_2">Recherchez la clé API dans vos paramètres du compte et copiez la clé par défaut.</string>
|
||||
<string name="api_key_title_3">Saisissez la clé API dans l\'app</string>
|
||||
<string name="api_key_subtitle_3">Collez la clé dans le champ ci-dessus et enregistrez-la. Une fois la clé activée, la météo deviendra visible.</string>
|
||||
<string name="action_open_provider">Aller sur OpenWeatherMap.com</string>
|
||||
<string name="api_key_info_all_set">Cela peut prendre jusqu\'à 10 minutes avant que votre clé API soit activée. La météo sera mise à jour dès qu\'elle sera disponible !</string>
|
||||
<string name="settings_weather_icon_pack_title">Pack d\'icônes</string>
|
||||
<string name="settings_weather_icon_pack_default">Pack d\'icônes %d</string>
|
||||
|
||||
<!-- Clock -->
|
||||
<string name="settings_clock_title">Horloge</string>
|
||||
<string name="settings_clock_app_title">Taper sur l\'horloge ouvre</string>
|
||||
<string name="title_show_clock">Afficher l\'horloge</string>
|
||||
<string name="show_clock_visible">Horloge visible</string>
|
||||
<string name="show_clock_not_visible">Horloge non visible</string>
|
||||
<string name="settings_clock_text_size_title">Taille du texte</string>
|
||||
<string name="default_clock_app">App horloge par défaut</string>
|
||||
<string name="settings_clock_bottom_margin_title">Marge inférieure de l\'horloge</string>
|
||||
<string name="settings_clock_bottom_margin_subtitle_none">Aucune</string>
|
||||
<string name="settings_clock_bottom_margin_subtitle_small">Petite</string>
|
||||
<string name="settings_clock_bottom_margin_subtitle_medium">Moyenne</string>
|
||||
<string name="settings_clock_bottom_margin_subtitle_large">Grande</string>
|
||||
<string name="clock_warning">En raison de limitations technologiques, l\'horloge n\'aura pas la police personnalisée et les ombres de texte sélectionnées dans la section Affichage.</string>
|
||||
<string name="settings_clock_text_color_title">Couleur du texte</string>
|
||||
<string name="settings_ampm_indicator_title">Afficher l\'indicateur AM/PM</string>
|
||||
<string name="clock_text_header">Style du texte</string>
|
||||
|
||||
<!-- Glance -->
|
||||
<string name="settings_show_next_alarm_title">Prochaine alarme</string>
|
||||
<string name="next_alarm_warning">La prochaine alarme semble erronée.\nElle a été définie par %s.</string>
|
||||
<string name="settings_at_a_glance_title">Coup d\'œil</string>
|
||||
<string name="settings_show_music_title">Musique en cours de lecture</string>
|
||||
<string name="settings_request_notification_access">Nous avons besoin d\'accéder aux notifications pour vérifier la musique en cours de lecture</string>
|
||||
<string name="settings_request_fitness_access">Nous avons besoin de quelques autorisations pour obtenir vos nombres de pas quotidiens depuis Google Fit</string>
|
||||
<string name="title_show_glance">Afficher les infos en un coup d\'œil</string>
|
||||
<string name="description_show_glance_visible">Services activés</string>
|
||||
<string name="description_show_glance_not_visible">Services désactivés</string>
|
||||
<string name="settings_sort_glance_providers_title">Priorité des sources de données</string>
|
||||
<string name="settings_sort_glance_providers_subtitle">Modifier l\'importance des fournisseurs</string>
|
||||
<string name="settings_custom_notes_title">Notes personnalisées</string>
|
||||
<string name="settings_low_battery_level_title">Batterie (en charge/faible)</string>
|
||||
<string name="settings_daily_steps_title">Nombre de pas quotidiens</string>
|
||||
<string name="battery_low_warning">Batterie faible</string>
|
||||
<string name="daily_steps_counter">%d pas jusqu\à présent</string>
|
||||
<string name="charging">En charge</string>
|
||||
<string name="providers">Fournisseurs</string>
|
||||
<string name="glance_info">Glance info will show up only when there are no events displayed and only when a few conditions are verified.</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="action_share">Partager</string>
|
||||
<string name="action_rate">Noter l\'app</string>
|
||||
<string name="action_support">Soutenez-moi</string>
|
||||
<string name="action_feedback">Commentaires</string>
|
||||
<string name="action_about">À propos</string>
|
||||
<string name="action_refresh_widget">Actualiser le widget</string>
|
||||
<string name="error_opening_uri">Erreur d\'ouverture de l\'URL : lien copié dans le presse-papiers</string>
|
||||
<string name="loading_text">Chargement des données…</string>
|
||||
<string name="error_opening_app">Erreur d\'ouverture de l\'app</string>
|
||||
<string name="default_name">App par défaut</string>
|
||||
<string name="action_save">OK</string>
|
||||
<string name="settings_visible">Visible</string>
|
||||
<string name="settings_not_visible">Non visible</string>
|
||||
<string name="support_translations_title">Aider à traduire</string>
|
||||
<string name="support_translations_subtitle">Ouvrir une pull-request sur GitHub</string>
|
||||
<string name="support_website_title">Consulter mes autres projets</string>
|
||||
<string name="support_website_subtitle">Un seul développeur, plusieurs possibilités</string>
|
||||
<string name="error">Oups, quelque chose s\'est mal passé !</string>
|
||||
<string name="settings_theme_title">Thème</string>
|
||||
<string name="support_main_subtitle">On a toujours besoin de beaucoup de café</string>
|
||||
<string name="settings_subtitle_dark_theme_light">Clair</string>
|
||||
<string name="settings_subtitle_dark_theme_dark">Sombre</string>
|
||||
<string name="settings_subtitle_dark_theme_by_battery_saver">Défini par l\'économiseur de batterie</string>
|
||||
<string name="settings_subtitle_dark_theme_follow_system">Selon le thème du système</string>
|
||||
<string name="settings_subtitle_dark_theme_default">Par défaut</string>
|
||||
<string name="search">Recherche</string>
|
||||
<string name="settings_app_version_title">Version de l\'app</string>
|
||||
<string name="settings_title_show_wallpaper">Afficher le fond d\'écran</string>
|
||||
<string name="support_refresh_widget_subtitle">Forcer le redémarrage des services du widget</string>
|
||||
<string name="settings_feedback_subtitle">Ce projet est open-source, n\'hésitez pas à aider</string>
|
||||
<string name="settings_feedback_title">Commentaires et suggestions</string>
|
||||
<string name="xiaomi_warning_title">Appareils Xiaomi</string>
|
||||
<string name="xiaomi_warning_message">Veuillez activer l\'option "Afficher des fenêtres pop-up pendant que vous parcourez en arrière-plan" dans la section "Autres autorisations" des paramètres de l\'application. Sinon, vous ne pourrez ouvrir aucune application en tapant sur le widget.</string>
|
||||
<string name="action_ignore">Ignorer</string>
|
||||
<string name="action_grant_permission">Aller dans Paramètres</string>
|
||||
<string name="settings_title">Paramètres</string>
|
||||
<string name="style_header">Style</string>
|
||||
<string name="actions_header">Actions</string>
|
||||
<string name="provider_header">Configuration</string>
|
||||
<string name="appearance_header">Apparence</string>
|
||||
<string name="preferences_header">Préférences</string>
|
||||
|
||||
<!-- Activities -->
|
||||
<string name="action_choose_application">Choisir l\'app</string>
|
||||
<string name="support_main_title">Soutenir le développeur</string>
|
||||
<string name="thanks">Merci de m\'avoir soutenu !</string>
|
||||
<string name="donation_coffee">Un café italien</string>
|
||||
<string name="donation_donuts">Quelques donuts glacés</string>
|
||||
<string name="donation_dinner">Un dîner chic</string>
|
||||
<string name="donation_breakfast">Un petit-déjeuner anglais</string>
|
||||
<string name="donation_lunch">Un déjeuner rapide</string>
|
||||
<string name="action_show_widget_preview">Afficher l\'aperçu du widget</string>
|
||||
<string name="support_dev_subtitle">Ceci est le projet d\'un unique développeur,\ndonc merci pour le soutien !</string>
|
||||
<string name="settings_title_integrations">Intégrations</string>
|
||||
<string name="label_count_installed_integrations">%d intégrations installées</string>
|
||||
</resources>
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name" translatable="false">Another Widget</string>
|
||||
<string name="add_widget">Tambahkan</string>
|
||||
@ -104,8 +105,7 @@
|
||||
<string name="action_open_provider">Kunjungi OpenWeatherMap.com</string>
|
||||
<string name="api_key_info_all_set">Mungkin membutuhkan lebih kurang 10 menit sebelum kunci API anda diaktifkan. Cuaca akan diperbarui segera setelah data tersedia.</string>
|
||||
<string name="settings_weather_icon_pack_title">Paket ikon</string>
|
||||
<string name="settings_weather_icon_pack_default">Bawaan</string>
|
||||
<string name="settings_weather_icon_pack_minimal">Minimal</string>
|
||||
<string name="settings_weather_icon_pack_default">Paket ikon %d</string>
|
||||
|
||||
<!-- Clock -->
|
||||
<string name="settings_clock_title">Jam</string>
|
||||
@ -144,6 +144,7 @@
|
||||
<string name="daily_steps_counter">%d langkah sejauh ini</string>
|
||||
<string name="charging">Mengisi daya</string>
|
||||
<string name="providers">Penyedia</string>
|
||||
<string name="glance_info">Glance info will show up only when there are no events displayed and only when a few conditions are verified.</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="action_share">Bagikan</string>
|
||||
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name" translatable="false">Another Widget</string>
|
||||
<string name="add_widget">Aggiungi</string>
|
||||
@ -102,9 +103,8 @@
|
||||
<string name="api_key_subtitle_3">Copia qui la chiave API e salva la nuova configurazione.</string>
|
||||
<string name="action_open_provider">Apri OpenWeatherMap.com</string>
|
||||
<string name="api_key_info_all_set">La chiave API potrebbe aver bisogno di più di 20 minuti per diventare attiva, aggiorneremo il meteo non appena sarà possibile.</string>
|
||||
<string name="settings_weather_icon_pack_title">Stile icone</string>
|
||||
<string name="settings_weather_icon_pack_default">Default</string>
|
||||
<string name="settings_weather_icon_pack_minimal">Minimal</string>
|
||||
<string name="settings_weather_icon_pack_title">Icon pack</string>
|
||||
<string name="settings_weather_icon_pack_default">Icon pack %d</string>
|
||||
|
||||
<!-- Clock -->
|
||||
<string name="settings_clock_title">Orologio</string>
|
||||
@ -143,6 +143,7 @@
|
||||
<string name="daily_steps_counter">%d passi fatti finore</string>
|
||||
<string name="charging">In carica</string>
|
||||
<string name="providers">Providers</string>
|
||||
<string name="glance_info">Glance info will show up only when there are no events displayed and only when a few conditions are verified.</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="action_share">Condividi</string>
|
||||
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name" translatable="false">Another Widget</string>
|
||||
<string name="add_widget">Добавить виджет</string>
|
||||
@ -103,8 +104,7 @@
|
||||
<string name="action_open_provider">Перейти на OpenWeatherMap.com</string>
|
||||
<string name="api_key_info_all_set">Активация ключа может занять до десяти минут. Погода обновится как только появится возможность.</string>
|
||||
<string name="settings_weather_icon_pack_title">Набор иконок</string>
|
||||
<string name="settings_weather_icon_pack_default">По умолчанию</string>
|
||||
<string name="settings_weather_icon_pack_minimal">Минималистичный</string>
|
||||
<string name="settings_weather_icon_pack_default">Набор иконок %d</string>
|
||||
|
||||
<!-- Clock -->
|
||||
<string name="settings_clock_title">Часы</string>
|
||||
@ -143,6 +143,7 @@
|
||||
<string name="daily_steps_counter">%d шагов</string>
|
||||
<string name="charging">Зарядка</string>
|
||||
<string name="providers">Операторы</string>
|
||||
<string name="glance_info">Glance info will show up only when there are no events displayed and only when a few conditions are verified.</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="action_share">Поделиться</string>
|
||||
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name" translatable="false">Another Widget</string>
|
||||
<string name="add_widget">Add</string>
|
||||
@ -57,14 +58,14 @@
|
||||
<string name="settings_second_row_info_title">Event info</string>
|
||||
<string name="settings_second_row_info_subtitle_1">Event address</string>
|
||||
<string name="settings_second_row_info_subtitle_0">Event time</string>
|
||||
<string name="settings_show_diff_time_title">Time left to the event</string>
|
||||
<string name="settings_show_diff_time_title">Time until the event</string>
|
||||
<string name="settings_show_declined_events_title">Declined events</string>
|
||||
<string name="default_event_app">Event details</string>
|
||||
<string name="default_calendar_app">Default calendar app</string>
|
||||
<string name="settings_show_multiple_events_title">Multiple events switcher</string>
|
||||
<string name="soon">soon</string>
|
||||
<string name="now">now</string>
|
||||
<string name="settings_widget_update_frequency_title">Time left update frequency</string>
|
||||
<string name="settings_widget_update_frequency_title">Time until event update frequency</string>
|
||||
<string name="settings_widget_update_frequency_subtitle">High frequency causes more battery consumption</string>
|
||||
<string name="settings_widget_update_frequency_low">Low</string>
|
||||
<string name="settings_widget_update_frequency_default">Default</string>
|
||||
@ -88,8 +89,8 @@
|
||||
<string name="settings_weather_refresh_period_subtitle_5">24 hours</string>
|
||||
<string name="settings_custom_location_title">Location</string>
|
||||
<string name="custom_location_gps">Use geolocation</string>
|
||||
<string name="show_weather_visible">Weather info are visible</string>
|
||||
<string name="show_weather_not_visible">Weather info are hidden</string>
|
||||
<string name="show_weather_visible">Weather info is visible</string>
|
||||
<string name="show_weather_not_visible">Weather info is hidden</string>
|
||||
<string name="settings_weather_app_title">Tap on weather opens</string>
|
||||
<string name="settings_weather_provider_api_key_title">Weather API key</string>
|
||||
<string name="settings_weather_provider_api_key_subtitle_all_set">The weather provider is configured correctly</string>
|
||||
@ -106,8 +107,7 @@
|
||||
<string name="action_open_provider">Go to OpenWeatherMap.com</string>
|
||||
<string name="api_key_info_all_set">It may take up to ten minutes before your API key is activated. The weather will be updated as soon as it is available.</string>
|
||||
<string name="settings_weather_icon_pack_title">Icon pack</string>
|
||||
<string name="settings_weather_icon_pack_default">Default</string>
|
||||
<string name="settings_weather_icon_pack_minimal">Minimal</string>
|
||||
<string name="settings_weather_icon_pack_default">Icon pack %d</string>
|
||||
|
||||
<!-- Clock -->
|
||||
<string name="settings_clock_title">Clock</string>
|
||||
@ -146,6 +146,7 @@
|
||||
<string name="daily_steps_counter">%d steps so far</string>
|
||||
<string name="charging">Charging</string>
|
||||
<string name="providers">Providers</string>
|
||||
<string name="glance_info">Glance info will show up only when there are no events displayed and only when a few conditions are verified.</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="action_share">Share</string>
|
||||
@ -205,4 +206,4 @@
|
||||
<string name="support_dev_subtitle">This is a single developer project,\nso thank you for the support!</string>
|
||||
<string name="settings_title_integrations">Integrations</string>
|
||||
<string name="label_count_installed_integrations">%d installed integrations</string>
|
||||
</resources>
|
||||
</resources>
|