diff --git a/app/src/main/java/com/bitchat/android/ui/LocationNotesSheet.kt b/app/src/main/java/com/bitchat/android/ui/LocationNotesSheet.kt index 320ee81d..0332c064 100644 --- a/app/src/main/java/com/bitchat/android/ui/LocationNotesSheet.kt +++ b/app/src/main/java/com/bitchat/android/ui/LocationNotesSheet.kt @@ -215,9 +215,14 @@ private fun LocationNotesHeader( horizontalArrangement = Arrangement.SpaceBetween, verticalAlignment = Alignment.CenterVertically ) { - // "#geohash ± 1 • X notes" to indicate neighboring cells are included + // Localized title with ±1 and note count Text( - text = "#$geohash ± 1 • $count ${if (count == 1) "note" else "notes"}", + text = pluralStringResource( + id = R.plurals.location_notes_title, + count = count, + geohash, + count + ), fontFamily = FontFamily.Monospace, fontSize = 18.sp, color = MaterialTheme.colorScheme.onSurface @@ -255,9 +260,9 @@ private fun LocationNotesHeader( } } - // Description - iOS exact text + // Description Text( - text = "add short permanent notes to this location for other visitors to find.", + text = stringResource(R.string.location_notes_description), fontFamily = FontFamily.Monospace, fontSize = 12.sp, color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.6f) @@ -267,7 +272,7 @@ private fun LocationNotesHeader( if (state == LocationNotesManager.State.NO_RELAYS) { Spacer(modifier = Modifier.height(4.dp)) Text( - text = "geo relays unavailable; notes paused", + text = stringResource(R.string.location_notes_relays_unavailable), fontFamily = FontFamily.Monospace, fontSize = 11.sp, color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.6f) @@ -338,7 +343,7 @@ private fun NoRelaysRow(onRetry: () -> Unit) { .padding(vertical = 6.dp) ) { Text( - text = "no geo relays nearby", + text = stringResource(R.string.location_notes_no_relays_title), fontFamily = FontFamily.Monospace, fontSize = 13.sp, fontWeight = FontWeight.SemiBold, @@ -346,14 +351,14 @@ private fun NoRelaysRow(onRetry: () -> Unit) { ) Spacer(modifier = Modifier.height(4.dp)) Text( - text = "notes rely on geo relays. check connection and try again.", + text = stringResource(R.string.location_notes_no_relays_desc), fontFamily = FontFamily.Monospace, fontSize = 12.sp, color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.6f) ) Spacer(modifier = Modifier.height(4.dp)) Text( - text = "retry", + text = stringResource(R.string.retry), fontFamily = FontFamily.Monospace, fontSize = 12.sp, color = MaterialTheme.colorScheme.primary, @@ -380,7 +385,7 @@ private fun LoadingRow() { ) Spacer(modifier = Modifier.width(10.dp)) Text( - text = "loading notes…", + text = stringResource(R.string.loading_location_notes), fontFamily = FontFamily.Monospace, fontSize = 12.sp, color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.6f) @@ -399,7 +404,7 @@ private fun EmptyRow() { .padding(vertical = 6.dp) ) { Text( - text = "no notes yet", + text = stringResource(R.string.location_notes_empty_title), fontFamily = FontFamily.Monospace, fontSize = 13.sp, fontWeight = FontWeight.SemiBold, @@ -407,7 +412,7 @@ private fun EmptyRow() { ) Spacer(modifier = Modifier.height(4.dp)) Text( - text = "be the first to add one for this spot.", + text = stringResource(R.string.location_notes_empty_desc), fontFamily = FontFamily.Monospace, fontSize = 12.sp, color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.6f) @@ -443,7 +448,7 @@ private fun ErrorRow(message: String, onDismiss: () -> Unit) { } Spacer(modifier = Modifier.height(4.dp)) Text( - text = "dismiss", + text = stringResource(R.string.dismiss), fontFamily = FontFamily.Monospace, fontSize = 12.sp, color = MaterialTheme.colorScheme.primary, @@ -499,7 +504,7 @@ private fun LocationNotesInputSection( // Placeholder when empty (matches main chat) if (draft.isEmpty()) { Text( - text = "add a note for this place", + text = stringResource(R.string.location_notes_input_placeholder), style = MaterialTheme.typography.bodyMedium.copy( fontFamily = FontFamily.Monospace ), @@ -530,7 +535,7 @@ private fun LocationNotesInputSection( ) { Icon( imageVector = Icons.Filled.ArrowUpward, - contentDescription = "Send", + contentDescription = stringResource(R.string.send_message), modifier = Modifier.size(20.dp), tint = if (!sendButtonEnabled) { colorScheme.onSurface.copy(alpha = 0.5f) diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 9e6f27e2..94414ce5 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -349,4 +349,17 @@ %d أشخاص + + #%1$s ± 1 • %2$d ملاحظة + #%1$s ± 1 • %2$d ملاحظات + + أضف ملاحظات قصيرة ودائمة إلى هذا المكان ليتمكن الزوار الآخرون من العثور عليها. + قنوات الترحيل الجغرافية غير متاحة؛ تم إيقاف الملاحظات + لا توجد قنوات ترحيل جغرافية قريبة + تعتمد الملاحظات على قنوات الترحيل الجغرافية. تحقق من الاتصال ثم أعد المحاولة. + جارٍ تحميل الملاحظات… + لا توجد ملاحظات بعد + كن أول من يضيف ملاحظة لهذا المكان. + إغلاق + أضف ملاحظة لهذا المكان diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 1eb689ed..786c9dcb 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -349,4 +349,18 @@ %d Personen + + + #%1$s ± 1 • %2$d Notiz + #%1$s ± 1 • %2$d Notizen + + füge kurze dauerhafte Notizen zu diesem Ort hinzu, damit andere Besucher sie finden. + Geo-Relays nicht verfügbar; Notizen pausiert + keine Geo-Relays in der Nähe + Notizen basieren auf Geo-Relays. Verbindung prüfen und erneut versuchen. + Notizen werden geladen… + noch keine Notizen + sei der Erste, der hier eine Notiz hinterlässt. + schließen + füge eine Notiz zu diesem Ort hinzu diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 67e71521..acf3cb92 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -349,4 +349,17 @@ %d personas + + #%1$s ± 1 • %2$d nota + #%1$s ± 1 • %2$d notas + + agrega notas cortas y permanentes a este lugar para que otros visitantes las encuentren. + relés geográficos no disponibles; notas en pausa + no hay relés geográficos cercanos + las notas dependen de relés geográficos. verifica la conexión e inténtalo de nuevo. + cargando notas… + aún no hay notas + sé el primero en añadir una para este sitio. + cerrar + agrega una nota para este lugar diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 64d27cbf..751412e9 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -363,4 +363,17 @@ %d personnes + + #%1$s ± 1 • %2$d note + #%1$s ± 1 • %2$d notes + + ajoutez de courtes notes permanentes à cet endroit pour que d'autres visiteurs les trouvent. + relais géo indisponibles ; notes en pause + aucun relais géo à proximité + les notes dépendent des relais géo. vérifiez la connexion et réessayez. + chargement des notes… + aucune note pour le moment + soyez le premier à en ajouter pour cet endroit. + fermer + ajoutez une note pour cet endroit diff --git a/app/src/main/res/values-he/strings.xml b/app/src/main/res/values-he/strings.xml index fbca26d0..a15f87af 100644 --- a/app/src/main/res/values-he/strings.xml +++ b/app/src/main/res/values-he/strings.xml @@ -1,5 +1,18 @@ + + #%1$s ± 1 • %2$d הערה + #%1$s ± 1 • %2$d הערות + + הוסף הערות קצרות וקבועות למיקום זה כדי שמבקרים אחרים ימצאו אותן. + ממסרי מיקום אינם זמינים; ההערות הושהו + אין ממסרי מיקום בקרבת מקום + ההערות תלויות בממסרי מיקום. בדוק חיבור ונסה שוב. + טוען הערות… + אין עדיין הערות + היה הראשון להוסיף הערה למקום זה. + סגור + הוסף הערה למקום זה diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 59f0723c..20981383 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -349,4 +349,17 @@ %d लोग + + #%1$s ± 1 • %2$d नोट + #%1$s ± 1 • %2$d नोट्स + + अन्य आगंतुकों के लिए इस स्थान पर छोटी स्थायी नोट्स जोड़ें। + जियो रिले उपलब्ध नहीं; नोट्स विरामित + आसपास कोई जियो रिले नहीं + नोट्स जियो रिले पर निर्भर हैं। कनेक्शन जांचें और फिर से प्रयास करें। + नोट्स लोड हो रहे हैं… + अभी कोई नोट नहीं + इस स्थान के लिए पहला नोट जोड़ें। + बंद करें + इस स्थान के लिए एक नोट जोड़ें diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index 65e7b40b..00f8e7cf 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -349,4 +349,17 @@ %d orang + + #%1$s ± 1 • %2$d catatan + #%1$s ± 1 • %2$d catatan + + tambahkan catatan singkat permanen ke lokasi ini agar pengunjung lain dapat menemukannya. + relay geo tidak tersedia; catatan dijeda + tidak ada relay geo di sekitar + catatan bergantung pada relay geo. periksa koneksi lalu coba lagi. + memuat catatan… + belum ada catatan + jadilah yang pertama menambahkan catatan untuk tempat ini. + tutup + tambahkan catatan untuk tempat ini diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index f1f1066e..d086ba3e 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -383,4 +383,17 @@ %d persone + + #%1$s ± 1 • %2$d nota + #%1$s ± 1 • %2$d note + + aggiungi brevi note permanenti a questo luogo per altri visitatori. + relay geolocalizzati non disponibili; note in pausa + nessun relay geolocalizzato nelle vicinanze + le note dipendono dai relay geo. controlla la connessione e riprova. + caricamento note… + nessuna nota ancora + sii il primo ad aggiungerne una per questo posto. + chiudi + aggiungi una nota per questo luogo diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index b1118a17..be41d3d4 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -349,4 +349,17 @@ %d 人 + + #%1$s ± 1 • %2$d 件のメモ + #%1$s ± 1 • %2$d 件のメモ + + 他の訪問者が見つけられるよう、この場所に短いメモを追加しましょう。 + ジオリレーが利用できません。メモを一時停止中 + 近くにジオリレーがありません + メモはジオリレーに依存します。接続を確認して再試行してください。 + メモを読み込み中… + まだメモはありません + この場所の最初のメモを追加しましょう。 + 閉じる + この場所へのメモを追加 diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index 52dfd76e..3163fa0c 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -349,4 +349,17 @@ %d명 + + #%1$s ± 1 • %2$d개의 노트 + #%1$s ± 1 • %2$d개의 노트 + + 다른 방문자들이 볼 수 있도록 이 위치에 짧은 영구 노트를 추가하세요. + 지오 릴레이를 사용할 수 없음; 노트 일시 중지됨 + 주변에 지오 릴레이가 없음 + 노트는 지오 릴레이에 의존합니다. 연결을 확인하고 다시 시도하세요. + 노트 불러오는 중… + 아직 노트가 없습니다 + 이 장소에 첫 번째 노트를 추가해 보세요. + 닫기 + 이 장소에 노트 추가 diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 38e3c212..8d4d3096 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -381,4 +381,17 @@ %d personen + + #%1$s ± 1 • %2$d notitie + #%1$s ± 1 • %2$d notities + + voeg korte permanente notities toe aan deze locatie zodat andere bezoekers ze kunnen vinden. + geo-relays niet beschikbaar; notities gepauzeerd + geen geo-relays in de buurt + notities zijn afhankelijk van geo-relays. controleer de verbinding en probeer opnieuw. + notities laden… + nog geen notities + wees de eerste die een notitie voor deze plek toevoegt. + sluiten + voeg een notitie toe voor deze plek diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index df589a4b..492b0af0 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -1,5 +1,18 @@ + + #%1$s ± 1 • %2$d notatka + #%1$s ± 1 • %2$d notatek + + dodaj krótkie stałe notatki do tej lokalizacji, aby inni odwiedzający mogli je znaleźć. + przekaźniki geo niedostępne; notatki wstrzymane + brak przekaźników geo w pobliżu + notatki zależą od przekaźników geo. sprawdź połączenie i spróbuj ponownie. + ładowanie notatek… + brak notatek + bądź pierwszy, który doda notatkę dla tego miejsca. + zamknij + dodaj notatkę dla tego miejsca diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 3a6085f0..7d1998be 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -349,4 +349,17 @@ %d pessoas + + #%1$s ± 1 • %2$d nota + #%1$s ± 1 • %2$d notas + + adicione notas curtas e permanentes a este local para que outros visitantes as encontrem. + relés geográficos indisponíveis; notas em pausa + nenhum relé geográfico nas proximidades + as notas dependem de relés geográficos. verifique a conexão e tente novamente. + carregando notas… + ainda não há notas + seja o primeiro a adicionar uma para este local. + fechar + adicione uma nota para este local diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 17f39885..207810b4 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -349,4 +349,17 @@ %d pessoas + + #%1$s ± 1 • %2$d nota + #%1$s ± 1 • %2$d notas + + adicione notas curtas e permanentes a este local para que outros visitantes as encontrem. + relés geográficos indisponíveis; notas em pausa + nenhum relé geográfico nas proximidades + as notas dependem de relés geográficos. verifique a conexão e tente novamente. + carregando notas… + ainda não há notas + seja o primeiro a adicionar uma para este local. + fechar + adicione uma nota para este local diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index a6f9526e..85fd0ba4 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -339,4 +339,17 @@ %d человек + + #%1$s ± 1 • %2$d заметка + #%1$s ± 1 • %2$d заметок + + добавьте короткие постоянные заметки к этому месту, чтобы другие посетители могли их найти. + гео-релей недоступны; заметки приостановлены + рядом нет гео-релеев + заметки зависят от гео-релеев. проверьте подключение и повторите попытку. + загрузка заметок… + заметок пока нет + станьте первым, кто добавит заметку для этого места. + закрыть + добавьте заметку для этого места diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 5ae23301..62d8ef18 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -337,4 +337,17 @@ 1 person %d personer + + #%1$s ± 1 • %2$d anteckning + #%1$s ± 1 • %2$d anteckningar + + lägg till korta permanenta anteckningar för den här platsen så att andra besökare kan hitta dem. + geo-reläer är inte tillgängliga; anteckningar pausade + inga geo-reläer i närheten + anteckningar är beroende av geo-reläer. kontrollera anslutningen och försök igen. + laddar anteckningar… + inga anteckningar ännu + var först med att lägga till en anteckning för den här platsen. + stäng + lägg till en anteckning för den här platsen diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index b2830852..cb728f5c 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -337,4 +337,17 @@ 1 kişi %d kişi + + #%1$s ± 1 • %2$d not + #%1$s ± 1 • %2$d not + + Diğer ziyaretçilerin bulabilmesi için bu konuma kısa kalıcı notlar ekleyin. + coğrafi röleler kullanılamıyor; notlar duraklatıldı + yakınlarda coğrafi röle yok + notlar coğrafi rölelere bağlıdır. bağlantıyı kontrol edip tekrar deneyin. + notlar yükleniyor… + henüz not yok + bu yer için ilk notu ekleyen siz olun. + kapat + bu yer için bir not ekleyin diff --git a/app/src/main/res/values-ur/strings.xml b/app/src/main/res/values-ur/strings.xml index 9475fc97..f6a5832c 100644 --- a/app/src/main/res/values-ur/strings.xml +++ b/app/src/main/res/values-ur/strings.xml @@ -349,4 +349,17 @@ %d لوگ + + #%1$s ± 1 • %2$d نوٹ + #%1$s ± 1 • %2$d نوٹس + + دیگر زائرین کے لیے اس جگہ پر مختصر مستقل نوٹس شامل کریں۔ + جغرافیائی ریلے دستیاب نہیں؛ نوٹس معطل + قریب کوئی جغرافیائی ریلے نہیں + نوٹس جغرافیائی ریلے پر منحصر ہیں۔ کنکشن چیک کریں اور دوبارہ کوشش کریں۔ + نوٹس لوڈ ہو رہے ہیں… + ابھی تک کوئی نوٹس نہیں + اس جگہ کے لیے پہلا نوٹ شامل کریں۔ + بند کریں + اس جگہ کے لیے ایک نوٹ شامل کریں diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 2d670d71..6ab11776 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -1,5 +1,18 @@ + + #%1$s ± 1 • %2$d 条笔记 + #%1$s ± 1 • %2$d 条笔记 + + 为此位置添加简短的永久备注,方便其他访客查看。 + 地理中继不可用;笔记已暂停 + 附近没有地理中继 + 笔记依赖地理中继。请检查连接后重试。 + 正在加载笔记… + 还没有笔记 + 成为第一个为此地点添加笔记的人。 + 关闭 + 为此地点添加一条笔记 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 2a3aa81b..b119edfb 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -1,5 +1,18 @@ + + #%1$s ± 1 • %2$d 則筆記 + #%1$s ± 1 • %2$d 則筆記 + + 為此位置新增簡短永久備註,供其他訪客查看。 + 地理中繼無法使用;筆記已暫停 + 附近沒有地理中繼 + 筆記依賴地理中繼。請檢查連線後重試。 + 正在載入筆記… + 尚無筆記 + 成為第一個為此地點新增筆記的人。 + 關閉 + 為此地點新增一則筆記 diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index b4a90b17..1ae11941 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -362,4 +362,17 @@ %d 人 + + #%1$s ± 1 • %2$d 条笔记 + #%1$s ± 1 • %2$d 条笔记 + + 为此位置添加简短的永久备注,方便其他访客查看。 + 地理中继不可用;笔记已暂停 + 附近没有地理中继 + 笔记依赖地理中继。请检查连接后重试。 + 正在加载笔记… + 还没有笔记 + 成为第一个为此地点添加笔记的人。 + 关闭 + 为此地点添加一条笔记 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 78e4d9cc..cc4903f6 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -217,6 +217,21 @@ province region + + + #%1$s ± 1 • %2$d note + #%1$s ± 1 • %2$d notes + + add short permanent notes to this location for other visitors to find. + geo relays unavailable; notes paused + no geo relays nearby + notes rely on geo relays. check connection and try again. + loading notes… + no notes yet + be the first to add one for this spot. + dismiss + add a note for this place + debug tools developer utilities for diagnostics and control