Skip to content

Commit 68bac23

Browse files
authored
Update Translations.kt
1 parent 5955df7 commit 68bac23

1 file changed

Lines changed: 56 additions & 3 deletions

File tree

source-code/app/src/main/java/com/hackeros/app/utils/Translations.kt

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,30 @@ data class Translations(
148148
val custom_theme_hex_hint: String = "Hex code",
149149
val custom_theme_preview: String = "Preview",
150150
val custom_theme_save: String = "Save Theme",
151-
val custom_theme_cancel: String = "Cancel"
151+
val custom_theme_cancel: String = "Cancel",
152+
// --- v0.7 ---
153+
// Native "documentation link" detail pages (Hacker Lang / H# / HackerScript) - fixes the
154+
// old behaviour where these links opened an external browser tab.
155+
val doc_detail_back: String = "Back",
156+
val doc_detail_native_notice: String = "Native in-app page - no browser, no WebView",
157+
val doc_detail_pl_only_notice: String = "This reference is currently only available in Polish (same as the source).",
158+
// Section visibility toggles for the 4 sections that gained the show/hide switch already
159+
// used by Documentation and Games Store (Releases/Wallpapers/Gallery/Team).
160+
val pref_show_releases_section: String = "Show Releases",
161+
val pref_show_wallpapers_section: String = "Show Wallpapers",
162+
val pref_show_gallery_section: String = "Show Gallery",
163+
val pref_show_team_section: String = "Show Team",
164+
val pref_sections_last_enabled_hint: String = "Keep at least one section enabled - Settings is always available to turn others back on.",
165+
// Wallpapers now fetched live instead of hardcoded.
166+
val wallpapers_empty: String = "No wallpapers available right now",
167+
// Games Store: source-build (GitHub repo) entries.
168+
val games_source_build_title: String = "Build from source",
169+
val games_source_build_desc: String = "This game ships as a source repository rather than a prebuilt package. Building native binaries on-device isn't supported yet - clone and build it using the commands below.",
170+
val games_source_copy_commands: String = "Copy commands",
171+
// Team screen contact card.
172+
val team_contact_title: String = "Contact",
173+
val team_contact_desc: String = "Questions, ideas, or found a bug? Reach out - tap to email us.",
174+
val team_contact_future_note: String = "Coming soon: send a message straight from this screen."
152175
)
153176

154177
val TRANSLATIONS: Map<Language, Translations> = mapOf(
@@ -257,7 +280,22 @@ val TRANSLATIONS: Map<Language, Translations> = mapOf(
257280
custom_theme_hex_hint = "Kod hex",
258281
custom_theme_preview = "Podgląd",
259282
custom_theme_save = "Zapisz motyw",
260-
custom_theme_cancel = "Anuluj"
283+
custom_theme_cancel = "Anuluj",
284+
doc_detail_back = "Wstecz",
285+
doc_detail_native_notice = "Natywna strona w aplikacji - bez przeglądarki, bez WebView",
286+
doc_detail_pl_only_notice = "Ta dokumentacja jest na razie dostępna tylko po polsku (tak jak źródło).",
287+
pref_show_releases_section = "Pokaż Wydania",
288+
pref_show_wallpapers_section = "Pokaż Tapety",
289+
pref_show_gallery_section = "Pokaż Galerię",
290+
pref_show_team_section = "Pokaż Zespół",
291+
pref_sections_last_enabled_hint = "Musisz zostawić co najmniej jedną sekcję włączoną - Ustawienia są zawsze dostępne, aby włączyć pozostałe z powrotem.",
292+
wallpapers_empty = "Brak dostępnych tapet",
293+
games_source_build_title = "Budowanie ze źródeł",
294+
games_source_build_desc = "Ta gra jest dystrybuowana jako repozytorium źródłowe, a nie gotowy pakiet. Budowanie natywnych plików binarnych bezpośrednio na telefonie nie jest jeszcze wspierane - sklonuj i zbuduj ją za pomocą poniższych poleceń.",
295+
games_source_copy_commands = "Kopiuj polecenia",
296+
team_contact_title = "Kontakt",
297+
team_contact_desc = "Pytania, pomysły albo znalazłeś błąd? Napisz do nas - dotknij, aby wysłać e-mail.",
298+
team_contact_future_note = "Wkrótce: wysyłanie wiadomości bezpośrednio z tego ekranu."
261299
),
262300
Language.EN to Translations(
263301
nav_releases = "Releases", nav_wallpapers = "Wallpapers", nav_gallery = "Gallery",
@@ -365,7 +403,22 @@ val TRANSLATIONS: Map<Language, Translations> = mapOf(
365403
custom_theme_hex_hint = "Hex code",
366404
custom_theme_preview = "Preview",
367405
custom_theme_save = "Save Theme",
368-
custom_theme_cancel = "Cancel"
406+
custom_theme_cancel = "Cancel",
407+
doc_detail_back = "Back",
408+
doc_detail_native_notice = "Native in-app page - no browser, no WebView",
409+
doc_detail_pl_only_notice = "This reference is currently only available in Polish (same as the source).",
410+
pref_show_releases_section = "Show Releases",
411+
pref_show_wallpapers_section = "Show Wallpapers",
412+
pref_show_gallery_section = "Show Gallery",
413+
pref_show_team_section = "Show Team",
414+
pref_sections_last_enabled_hint = "Keep at least one section enabled - Settings is always available to turn others back on.",
415+
wallpapers_empty = "No wallpapers available right now",
416+
games_source_build_title = "Build from source",
417+
games_source_build_desc = "This game ships as a source repository rather than a prebuilt package. Building native binaries on-device isn't supported yet - clone and build it using the commands below.",
418+
games_source_copy_commands = "Copy commands",
419+
team_contact_title = "Contact",
420+
team_contact_desc = "Questions, ideas, or found a bug? Reach out - tap to email us.",
421+
team_contact_future_note = "Coming soon: send a message straight from this screen."
369422
),
370423
Language.DE to Translations(
371424
nav_releases = "Releases", nav_wallpapers = "Hintergründe", nav_gallery = "Galerie",

0 commit comments

Comments
 (0)