Skip to content

Commit f1b9197

Browse files
authored
Merge pull request #350 from OpenHub-Store/home-topics-impl
2 parents d8f39d9 + f079447 commit f1b9197

34 files changed

Lines changed: 820 additions & 85 deletions

File tree

core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ class InstalledAppsRepositoryImpl(
186186
newVersionName: String,
187187
newVersionCode: Long,
188188
signingFingerprint: String?,
189+
isPendingInstall: Boolean,
189190
) {
190191
val app = installedAppsDao.getAppByPackage(packageName) ?: return
191192

@@ -220,6 +221,7 @@ class InstalledAppsRepositoryImpl(
220221
latestVersionName = newVersionName,
221222
latestVersionCode = newVersionCode,
222223
isUpdateAvailable = false,
224+
isPendingInstall = isPendingInstall,
223225
lastUpdatedAt = System.currentTimeMillis(),
224226
lastCheckedAt = System.currentTimeMillis(),
225227
signingFingerprint = signingFingerprint,

core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/repository/InstalledAppsRepository.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ interface InstalledAppsRepository {
3434
newVersionName: String,
3535
newVersionCode: Long,
3636
signingFingerprint: String?,
37+
isPendingInstall: Boolean = true,
3738
)
3839

3940
suspend fun updateApp(app: InstalledApp)

core/presentation/src/commonMain/composeResources/values-ar/strings-ar.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,12 @@
266266
<string name="home_category_hot_release">إصدار ساخن</string>
267267
<string name="home_category_most_popular">الأكثر شعبية</string>
268268

269+
<string name="home_topic_privacy">الخصوصية</string>
270+
<string name="home_topic_media">الوسائط</string>
271+
<string name="home_topic_productivity">الإنتاجية</string>
272+
<string name="home_topic_networking">الشبكة</string>
273+
<string name="home_topic_dev_tools">أدوات المطور</string>
274+
269275
<string name="home_finding_repositories">جارٍ البحث عن مستودعات...</string>
270276
<string name="home_loading_more">جارٍ تحميل المزيد...</string>
271277
<string name="home_no_more_repositories">لا مزيد من المستودعات</string>

core/presentation/src/commonMain/composeResources/values-bn/strings-bn.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@
232232
<string name="home_category_hot_release">হট রিলিজ</string>
233233
<string name="home_category_most_popular">সবচেয়ে জনপ্রিয়</string>
234234

235+
<string name="home_topic_privacy">গোপনীয়তা</string>
236+
<string name="home_topic_media">মিডিয়া</string>
237+
<string name="home_topic_productivity">উৎপাদনশীলতা</string>
238+
<string name="home_topic_networking">নেটওয়ার্ক</string>
239+
<string name="home_topic_dev_tools">ডেভ টুলস</string>
240+
235241
<string name="home_finding_repositories">রিপোজিটরি খোঁজা হচ্ছে...</string>
236242
<string name="home_loading_more">আরও লোড হচ্ছে...</string>
237243
<string name="home_no_more_repositories">আর কোনো রিপোজিটরি নেই</string>

core/presentation/src/commonMain/composeResources/values-es/strings-es.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@
178178
<string name="home_category_hot_release">Lanzamiento en caliente</string>
179179
<string name="home_category_most_popular">Los más populares</string>
180180

181+
<string name="home_topic_privacy">Privacidad</string>
182+
<string name="home_topic_media">Multimedia</string>
183+
<string name="home_topic_productivity">Productividad</string>
184+
<string name="home_topic_networking">Red</string>
185+
<string name="home_topic_dev_tools">Herramientas de desarrollo</string>
186+
181187
<string name="home_finding_repositories">Buscando repositorios...</string>
182188
<string name="home_loading_more">Cargando...</string>
183189
<string name="home_no_more_repositories">No hay más repositorios</string>

core/presentation/src/commonMain/composeResources/values-fr/strings-fr.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@
178178
<string name="home_category_hot_release">Sortie en salles</string>
179179
<string name="home_category_most_popular">Les plus populaires</string>
180180

181+
<string name="home_topic_privacy">Confidentialité</string>
182+
<string name="home_topic_media">Médias</string>
183+
<string name="home_topic_productivity">Productivité</string>
184+
<string name="home_topic_networking">Réseau</string>
185+
<string name="home_topic_dev_tools">Outils de développement</string>
186+
181187
<string name="home_finding_repositories">Recherche de dépôts...</string>
182188
<string name="home_loading_more">Chargement...</string>
183189
<string name="home_no_more_repositories">Plus aucun dépôt</string>

core/presentation/src/commonMain/composeResources/values-hi/strings-hi.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@
228228
<string name="error_asset_not_supported">संपदा प्रकार .%1$s समर्थित नहीं</string>
229229
<string name="error_file_not_found">डाउनलोड की गई फ़ाइल नहीं मिली</string>
230230

231-
<string name="home_category_trending">रुझान</string>
232-
233231
<string name="home_finding_repositories">रिपॉजिटरी ढूंढी जा रही हैं...</string>
234232
<string name="home_loading_more">और लोड हो रहा है...</string>
235233
<string name="home_no_more_repositories">अब और कोई रिपॉजिटरी नहीं</string>
@@ -357,9 +355,16 @@
357355
<string name="versions_title">संस्करण</string>
358356

359357
<!-- Home categories -->
358+
<string name="home_category_trending">रुझान</string>
360359
<string name="home_category_hot_release">हॉट रिलीज़</string>
361360
<string name="home_category_most_popular">सबसे लोकप्रिय</string>
362361

362+
<string name="home_topic_privacy">गोपनीयता</string>
363+
<string name="home_topic_media">मीडिया</string>
364+
<string name="home_topic_productivity">उत्पादकता</string>
365+
<string name="home_topic_networking">नेटवर्क</string>
366+
<string name="home_topic_dev_tools">डेव टूल्स</string>
367+
363368
<!-- Install status -->
364369
<string name="pending_install">इंस्टॉल लंबित</string>
365370

core/presentation/src/commonMain/composeResources/values-it/strings-it.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@
232232
<string name="home_category_hot_release">Rilascio a caldo</string>
233233
<string name="home_category_most_popular">I più popolari</string>
234234

235+
<string name="home_topic_privacy">Privacy</string>
236+
<string name="home_topic_media">Media</string>
237+
<string name="home_topic_productivity">Produttività</string>
238+
<string name="home_topic_networking">Rete</string>
239+
<string name="home_topic_dev_tools">Strumenti di sviluppo</string>
240+
235241
<string name="home_finding_repositories">Ricerca di repositories...</string>
236242
<string name="home_loading_more">Caricamento in corso...</string>
237243
<string name="home_no_more_repositories">Non ci sono più repositories</string>

core/presentation/src/commonMain/composeResources/values-ja/strings-ja.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@
179179
<string name="home_category_hot_release">ホットリリース</string>
180180
<string name="home_category_most_popular">最も人気のある</string>
181181

182+
<string name="home_topic_privacy">プライバシー</string>
183+
<string name="home_topic_media">メディア</string>
184+
<string name="home_topic_productivity">生産性</string>
185+
<string name="home_topic_networking">ネットワーク</string>
186+
<string name="home_topic_dev_tools">開発ツール</string>
187+
182188
<string name="home_finding_repositories">リポジトリを検索中…</string>
183189
<string name="home_loading_more">読み込み中…</string>
184190
<string name="home_no_more_repositories">これ以上ありません</string>

core/presentation/src/commonMain/composeResources/values-ko/strings-ko.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@
230230
<string name="home_category_hot_release">핫 릴리스</string>
231231
<string name="home_category_most_popular">가장 인기 있는</string>
232232

233+
<string name="home_topic_privacy">개인정보</string>
234+
<string name="home_topic_media">미디어</string>
235+
<string name="home_topic_productivity">생산성</string>
236+
<string name="home_topic_networking">네트워크</string>
237+
<string name="home_topic_dev_tools">개발 도구</string>
238+
233239
<string name="home_finding_repositories">저장소를 찾는 중...</string>
234240
<string name="home_loading_more">더 불러오는 중...</string>
235241
<string name="home_no_more_repositories">더 이상 저장소가 없습니다</string>

0 commit comments

Comments
 (0)