// AGPL-3.0-only
//
// This is free software for the public good of a permacomputer
// hosted at permacomputer.com, an always-on computer by the people, for the
// people. One which is durable, easy to repair, and distributed like tap water
// for machine learning intelligence.
//
// The permacomputer is community-owned infrastructure optimized around
// four values:
//
//   TRUTH    - First principles, math & science, open source code
//   FREEDOM  - Voluntary partnerships, freedom from tyranny & corporate control
//   HARMONY  - Minimal waste, self-renewing systems with diverse connections
//   LOVE     - Be yourself without hurting others, cooperation through natural law
//
// This software contributes to that vision by making machine learning
// accessible to everyone through a free, open, embeddable chat interface.
// Code is seeds to sprout on any abandoned technology.
//
// Learn more: https://www.permacomputer.com
//
// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
//
// Copyright 2025-2026 TimeHexOn & foxhop & russell@unturf
// https://www.permacomputer.com

// Swahili (Kiswahili) UI Translations
export const sw = {
	// Main buttons
	readPage: "📖 Soma Ukurasa",
	ttsAnything: "🔊 TTS Chochote",
	translate: "🌐 Tafsiri",
	smartTranslate: "🤖 Tafsiri Mjanja",
	uploadFile: "📁 Pakia Faili",

	// Actions
	refreshModels: "🔄 Onyesha Mifano",
	clearChat: "🗑️ Futa Mazungumzo",
	fullChatRaw: "📋 Mazungumzo Kamili Mbichi",
	fullChatHTML: "📄 Mazungumzo Kamili HTML",
	fullPageRaw: "📝 Ukurasa Kamili Mbichi",
	downloadChat: "💾 Pakua Mazungumzo",

	// Chat UI
	sendButton: "Tuma",
	typePlaceholder: "Andika ujumbe wako...",
	clearChatConfirm: "Futa historia yote ya mazungumzo?",
	askAnythingPlaceholder: "Uliza chochote...",
	askPagePlaceholder: "Uliza kuhusu ukurasa huu...",
	enterTextToSpeakPlaceholder: "Ingiza maandishi ya kuzungumza...",
	processingTokens: "🤖 Inachakata {tokens} alama...",

	// Modal headers
	aiAssistantTitle: "Msaidizi wa AI",
	ttsModalTitle: "Maandishi hadi Sauti",
	translateModalTitle: "Tafsiri",

	// System messages
	pageContentPrefix: "Hii ni maudhui ya ukurasa wa wavuti:",
	additionalContext:
		"Umepachikwa kwenye ukurasa huu. Unapojibu maswali, zingatia maudhui na muktadha wa ukurasa.",

	// Notifications and alerts
	languageChanged:
		"Lugha imewekwa kuwa {lang}. Onyesha ukurasa upya ili kuona vipengele vyote vya kiolesura katika lugha uliyochagua.",
	translationFailed: "Tafsiri imeshindwa: {error}",
	ttsFailed: "TTS imeshindwa: {error}",
	fullChatCopied: "Mazungumzo kamili yamenakiliwa kama markdown mbichi!",
	fullChatHTMLCopied: "Mazungumzo kamili yamenakiliwa kama HTML!",
	fullPageCopied: "Ukurasa kamili umenakiliwa kama markdown!",
	failedToCopy: "Imeshindwa kunakili: {error}",
	failedToCopyPage: "Imeshindwa kunakili ukurasa: {error}",
	failedToCopyCode: "Imeshindwa kunakili msimbo: {error}",
	errorOpeningModal: "Hitilafu ya kufungua modal ya AI: {error}",
	failedToReadPage: "Imeshindwa kusoma ukurasa: {error}",
	languageDetectionFailed: "Utambuzi wa lugha umeshindwa: {error}",

	// Dropdown labels
	currentPage: "Ukurasa wa sasa: {lang}",
	translatingTo: "Inatafsiri...",
	detectingLanguage: "🔍 Inatambua...",

	// Intro/header text
	hermesIntro:
		'inawasilisha mfano mkubwa wa lugha <a href="https://nousresearch.com/hermes3/" target="_blank" style="color: rgba(255,255,255,0.9); text-decoration: underline;">hermes</a> kutoka nous research',
	discussingPage: "Unajadili",

	// TTS placeholder
	ttsPlaceholder:
		"maandishi hadi sauti: andika ujumbe wowote na uache akili bandia izungumze!",
	translatePlaceholder: "Ingiza maandishi yoyote ya kutafsiri...",

	// Translation modal tabs
	translatePageTab: "📄 Tafsiri Ukurasa",
	customTextTab: "✏️ Maandishi ya Kawaida",

	// TTS modal components
	speedLabel: "Kasi:",
	playText: "Cheza Maandishi",

	// Translation modal content
	translatePageInfo: "Tafsiri maudhui ya ukurasa wa sasa katika lugha uliyochagua:",
	translateToLabel: "Tafsiri kuwa:",
	translateButton: "🌐 Tafsiri",
	translatePageButton: "🌐 Tafsiri Ukurasa",
	translateTextButton: "🌐 Tafsiri Maandishi",
	processingText: "Inachakata...",

	// Button labels for UI
	translationModal: "🌐 Modal ya Tafsiri",
	translationModalHeading: "Modal ya Tafsiri",

	// System prompt components
	systemPromptIntro: "Wewe ni Hermes AI, unayeongozwa na Nous Research, uliojengewa ndani ya ukurasa wa wavuti kupitia uncloseai.com. Kazi yako ni kutengeneza utangulizi wa odhi 3 wenye akili wa muktadha ambao unaonyesha uelewa wa kina wa maudhui maalum ya ukurasa, kusudi lake, na hadhira yake.",
	systemPromptTask1: "1. Anza kwa asili kwa kutambua ukurasa huu unahusu nini - kuwa maalum: taja kichwa cha ukurasa, mada kuu, jina la mwandishi ikiwa lipo, au kusudi kuu. Onyesha uelewa wa papo hapo wa aina ya maudhui (makala, nyaraka, ukurasa wa bidhaa, n.k.)",
	systemPromptTask2: "2. Rejelea maelezo 2-3 ya kipekee sana kutoka ukurasa - nukuu maneno halisi, taja vipimo maalum vya data, taja sehemu au vipengele vya kipekee unavyoona. Onyesha umechambua maudhui halisi, si tu kuangalia haraka.",
	systemPromptTask3: "3. Toa msaada wa muktadha kulingana na aina ya ukurasa - kwa nyaraka za kiufundi, toa kueleza dhana; kwa makala, toa kujadili mawazo; kwa bidhaa, jibu kuhusu vipengele. Kuwa maalum kuhusu JINSI unavyoweza kusaidia na maudhui haya MAALUM.",
	systemPromptInstructions: "Kuwa wa mazungumzo lakini mwenye ujuzi. Zindua utangulizi wako katika maudhui halisi ya ukurasa. Epuka kauli za jumla. Andika kwa asili katika",

	// More alerts and messages
	pleaseEnterText: "Tafadhali ingiza maandishi kwanza!",
	pleaseSelectFile: "Tafadhali chagua faili kwanza!",
	pleaseEnterTranslateText: "Tafadhali ingiza maandishi ya kutafsiri!",

	// Read page status messages
	processingContent: "Kuchakata maudhui...",
	readingPageClickToPause: "Kusoma ukurasa... Bonyeza kwa kutua",
	pausedClickToResume: "Kusitishwa. Bonyeza kuendelea",
	downloadPageAudio: "Pakua faili ya .mp3 ya maandishi-hadi-hotuba ya ukurasa huu.",
	downloadChatAudio: "Pakua ujumbe huu kama faili ya .mp3.",
	deleteMessage: "Futa ujumbe",
	copyRawMarkdown: "Nakili maandishi ghafi (Markdown)",
	copyHTML: "Nakili HTML",
	aiModalNotAvailable: "Modal ya AI haipatikani katika muktadha huu",
	useCustomAPI: "Tumia mwisho wa desturi unaofanana na OpenAI.",
	remoteUrlTab: "🌐 URL ya Mbali",
	remoteUrlInfo: "Ingiza URL ya kuleta na kutafsiri:",
	remoteUrlPlaceholder: "https://example.com",
	fetchAndTranslate: "🌐 Leta na Tafsiri",

	// Unsandbox code execution settings
	useUnsandbox: "Tumia funguo za API za unsandbox.com kwa utekelezaji wa msimbo.",
	unsandboxPublicKey: "Ufunguo wa Umma (unsb-pk-...)",
	unsandboxSecretKey: "Ufunguo wa Siri (unsb-sk-...)",

	// Vault settings
	vaultLoggedIn: "Umeingia",
	vaultLocked: "Mipangilio Imefungwa",
	vaultUnlocked: "Mipangilio Imefunguliwa",
	vaultCreate: "Hifadhi Mipangilio",
	vaultUnlock: "Fungua Mipangilio",
	vaultLock: "Funga",
	vaultLockTooltip: "Funga mipangilio yako (ondoka)",
	vaultPassword: "Nywila",
	vaultPasswordPlaceholder: "Chagua nywila...",
	vaultConfirmPassword: "Thibitisha nywila",
	vaultConfirmPlaceholder: "Thibitisha nywila yako...",
	vaultWrongPassword: "Nywila hiyo haikufanya kazi. Tafadhali jaribu tena.",
	vaultPasswordMismatch: "Nywila hazifanani.",
	vaultPasswordTooShort: "Nywila inahitaji angalau herufi 8.",
	vaultCreated: "Mipangilio imehifadhiwa!",
	vaultUnlockedMsg: "Karibu tena!",
	vaultLockedMsg: "Mipangilio imefungwa.",
	vaultRequired: "Ingiza nywila yako ili kufikia mipangilio.",
	vaultWelcome: "Mipangilio yako (mfano, sauti, funguo za API) na mazungumzo ya soga yamefichwa nyuma ya nywila ya chaguo lako. Hii inayaweka faragha kwenye kifaa hiki.",
	vaultLine1: "Mipangilio na mazungumzo yako yamefichwa nyuma ya nywila.",
	vaultLine2: "Hii inayaweka faragha kwenye kifaa hiki.",
	vaultWelcomeBack: "Karibu tena! Ingiza nywila yako ili kufikia mipangilio na mazungumzo yako yaliyohifadhiwa.",
	vaultCreateInfo: "Chagua nywila ili kulinda mipangilio na mazungumzo yako. Mapendeleo yako, funguo za API, na historia ya soga zitafichwa na kuhifadhiwa ndani ya kifaa.",
	vaultSessionInfo: "Utabaki umeingia hadi ufunge mipangilio yako.",
	vaultChangePassword: "Badilisha Nywila",
	vaultDeleteVault: "Futa Mipangilio",
	vaultDeleteConfirm: "Una uhakika? Hii itaondoa mipangilio yako yote iliyohifadhiwa kutoka kwenye kifaa hiki.",
	vaultCurrentPassword: "Nywila ya sasa",
	vaultNewPassword: "Nywila mpya",
	vaultPasswordChanged: "Nywila imebadilishwa!",
	vaultDeleted: "Mipangilio imefutwa.",

	// Vault gate
	vaultGateTitle: "uncloseai.",
	vaultGateNew: "Historia yako ya soga, funguo za API, na mipangilio yamefichwa kwa AES-256 kwa kutumia nywila unayochagua na chumvi maalum ya kifaa. Kila tovuti ina hifadhi yake tofauti — unaweza kutumia nywila tofauti kwa kila tovuti. Chagua nywila ili kuanza.",
	vaultGateReturning: "Historia yako ya soga iliyofichwa, funguo za API, na mipangilio yanakungojea. Ingiza nywila yako ili kufungua hifadhi ya tovuti hii.",
	vaultGateCreate: "Unda Hifadhi",
	vaultGateUnlock: "Fungua",
};