From a4f3671b143f5e0dc70164980c3a5f743d54ec31 Mon Sep 17 00:00:00 2001 From: plum7x Date: Tue, 25 Feb 2025 15:30:03 +0000 Subject: [PATCH 1/5] Translated using Weblate (Chinese (Traditional Han script)) Currently translated at 100.0% (793 of 793 strings) Translation: Kvaesitso/i18n --- .../src/main/res/values-zh-rTW/strings.xml | 31 +++++++++++-------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/core/i18n/src/main/res/values-zh-rTW/strings.xml b/core/i18n/src/main/res/values-zh-rTW/strings.xml index 982036ff..364ddad3 100644 --- a/core/i18n/src/main/res/values-zh-rTW/strings.xml +++ b/core/i18n/src/main/res/values-zh-rTW/strings.xml @@ -107,9 +107,9 @@ 捷徑 %1$s 將被永久移除。繼續? YouTube https://www.youtube.com/results\?search_query=${1} - Google Play商店 + Google Play https://play.google.com/store/search\?q=${1} - 此 URL 中缺少預留位置’${1}‘ + 此 URL 中缺少預留位置『${1}』 替換圖示 刪除圖示 自訂圖示 @@ -145,7 +145,7 @@ 被釘選的標籤將出現在這裡 建立標籤… Nextcloud 伺服器 URL - 伺服器URL禁止為空 + 伺服器 URL 禁止為空 此 URL 不能指向一個有效的 Nextcloud 安裝器 Owncloud 伺服器 URL 此 URL 不能指向一個有效的 Owncloud 安裝器 @@ -376,12 +376,12 @@ 本機檔案 搜尋儲存在此裝置上的文件、照片與其它檔案 Google Drive - 在Google Drive上搜尋 %1$s + 在 Google Drive 上搜尋 %1$s Nextcloud 搜尋%1$s的檔案 Owncloud 使用 Google 登入 - 登入以查詢 Google Drive + 登入以搜尋 Google Drive 日曆 隱藏全天事件 有關此版本應用程式的更多資訊 @@ -478,10 +478,10 @@ 登入 未安裝任何圖示包 - 從過去%1$d天運行的事件 + 從過去 %1$d 天運行的事件 - 已刪除%1$d條目。 + 已刪除 %1$d 個條目。 輸入時啟動 在點擊「前往」後啟動突顯顯示的匹配項或快速操作 @@ -489,7 +489,7 @@ %1$s 分鐘內完成 - 已選擇 %1$d 項目 + 已選擇 %1$d 個項目 啟動應用程式 所有圖示包 @@ -576,7 +576,7 @@ 長度單位 Overpass URL - %1$s 通知 + %1$s 個通知 沒有天氣服務商被選擇或者選擇的服務商不可用 管理已安裝的擴充套件 @@ -748,7 +748,7 @@ 私人空間被鎖定。 暫停工作應用程式 - %1$s電話號碼 + %1$s 個電話號碼 手球場 私人 @@ -782,10 +782,10 @@ 應用程式網格 & 搜尋結果 開啟日曆應用程式 - %1$s電子郵件位址 + %1$s 個電子郵件位址 - %1$s郵政地址 + %1$s 個郵政地址 體操場 紀念碑 @@ -804,6 +804,11 @@ 上一首 下一首 - 已選擇 %1$s 列表 + 已選擇 %1$s 個列表 + 24 小時制 + 12 小時制 + 系統預設 + 時間格式 + 小工具已移除 \ No newline at end of file From 6f0140b19f2d37b69aaabad40a5e2a624b4ed2a3 Mon Sep 17 00:00:00 2001 From: summoner001 Date: Wed, 26 Feb 2025 08:17:43 +0000 Subject: [PATCH 2/5] Translated using Weblate (Hungarian) Currently translated at 100.0% (793 of 793 strings) Translation: Kvaesitso/i18n --- core/i18n/src/main/res/values-hu/strings.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/i18n/src/main/res/values-hu/strings.xml b/core/i18n/src/main/res/values-hu/strings.xml index 6bd3805f..ee5c9f53 100644 --- a/core/i18n/src/main/res/values-hu/strings.xml +++ b/core/i18n/src/main/res/values-hu/strings.xml @@ -818,4 +818,8 @@ Páratartalom Egy címke nem létezhet név nélkül. Ha folytatja, a címke törlődik. Modul törölve + Rendszer alapértelmezett + Időformátum + 24 órás + 12 órás \ No newline at end of file From cae772bd1dda8a708a4b72742dece24f2084f05d Mon Sep 17 00:00:00 2001 From: Fjuro Date: Thu, 27 Feb 2025 21:25:16 +0000 Subject: [PATCH 3/5] Translated using Weblate (Czech) Currently translated at 100.0% (793 of 793 strings) Translation: Kvaesitso/i18n --- core/i18n/src/main/res/values-cs/strings.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/i18n/src/main/res/values-cs/strings.xml b/core/i18n/src/main/res/values-cs/strings.xml index b64ddc98..5b4c776d 100644 --- a/core/i18n/src/main/res/values-cs/strings.xml +++ b/core/i18n/src/main/res/values-cs/strings.xml @@ -827,4 +827,8 @@ Vlhkost Štítek nemůže existovat bez názvu. Pokud budete pokračovat, bude štítek odstraněn. Widget odstraněn + Formát času + 24hodinový + 12hodinový + Podle systému \ No newline at end of file From ff695cb7679bfa864018b8b904a11bdcbe689585 Mon Sep 17 00:00:00 2001 From: leekleak <142348248+leekleak@users.noreply.github.com> Date: Fri, 28 Feb 2025 12:00:12 +0200 Subject: [PATCH 4/5] Use color for icon shape selection (#1285) --- .../ui/settings/icons/IconsSettingsScreen.kt | 34 +++---------------- 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/app/ui/src/main/java/de/mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt b/app/ui/src/main/java/de/mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt index 794e916d..ff7d7d4e 100644 --- a/app/ui/src/main/java/de/mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt +++ b/app/ui/src/main/java/de/mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt @@ -1,6 +1,5 @@ package de.mm20.launcher2.ui.settings.icons -import android.graphics.drawable.ColorDrawable import androidx.appcompat.app.AppCompatActivity import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.BorderStroke @@ -17,9 +16,7 @@ import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.grid.GridCells import androidx.compose.foundation.lazy.grid.LazyVerticalGrid import androidx.compose.foundation.lazy.grid.items -import androidx.compose.foundation.shape.CircleShape import androidx.compose.material.icons.Icons -import androidx.compose.material.icons.rounded.FormatPaint import androidx.compose.material.icons.rounded.Palette import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.Icon @@ -42,13 +39,10 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp import androidx.compose.ui.window.Dialog -import androidx.core.content.ContextCompat import androidx.lifecycle.compose.collectAsStateWithLifecycle import androidx.lifecycle.viewmodel.compose.viewModel import de.mm20.launcher2.icons.IconPack import de.mm20.launcher2.icons.LauncherIcon -import de.mm20.launcher2.icons.StaticIconLayer -import de.mm20.launcher2.icons.StaticLauncherIcon import de.mm20.launcher2.preferences.IconShape import de.mm20.launcher2.preferences.ui.GridSettings import de.mm20.launcher2.ui.R @@ -430,30 +424,10 @@ fun IconShapePreference( .padding(8.dp), horizontalAlignment = Alignment.CenterHorizontally ) { - val context = LocalContext.current - ShapedLauncherIcon( - size = 48.dp, - icon = { - StaticLauncherIcon( - foregroundLayer = StaticIconLayer( - icon = ContextCompat.getDrawable( - context, - R.mipmap.ic_launcher_foreground - )!!, - scale = 1.5f, - ), - backgroundLayer = StaticIconLayer( - icon = ColorDrawable( - context.getColor(R.color.ic_launcher_background) - ) - ) - ) - }, - modifier = Modifier.clickable { - onValueChanged(it) - showDialog = false - }, - shape = getShape(it) + Box( + modifier = Modifier.clip(getShape(it)) + .size(48.dp) + .background(MaterialTheme.colorScheme.primary) ) Text( getShapeName(it) ?: "", From e1ef6cc5b193458ba1bb962be884c74bc2d89ffe Mon Sep 17 00:00:00 2001 From: leekleak <142348248+leekleak@users.noreply.github.com> Date: Fri, 28 Feb 2025 12:53:10 +0200 Subject: [PATCH 5/5] fix selection (#1286) --- .../mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/ui/src/main/java/de/mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt b/app/ui/src/main/java/de/mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt index ff7d7d4e..dc8543c9 100644 --- a/app/ui/src/main/java/de/mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt +++ b/app/ui/src/main/java/de/mm20/launcher2/ui/settings/icons/IconsSettingsScreen.kt @@ -428,6 +428,10 @@ fun IconShapePreference( modifier = Modifier.clip(getShape(it)) .size(48.dp) .background(MaterialTheme.colorScheme.primary) + .clickable { + onValueChanged(it) + showDialog = false + } ) Text( getShapeName(it) ?: "",