Remove unused field from translations

This commit is contained in:
Yigit Colakoglu 2025-07-31 06:59:11 +02:00
parent 4e02f7810e
commit d527797fa2
32 changed files with 5 additions and 42 deletions

View File

@ -128,17 +128,6 @@ const notifyNav = (url: FullSlug) => {
document.dispatchEvent(event)
}
const getFirstParentWithClass = (container: HTMLElement, className: string): HTMLElement | null => {
let current = container.parentElement
while (current) {
if (current.classList.contains(className)) {
return current
}
current = current.parentElement
}
return null
}
function updateTitle(container: HTMLElement | null) {
console.log(container)
if (container) {

View File

@ -66,7 +66,6 @@ export default {
},
encryption: {
title: "🛡️ محتوى محدود 🛡️",
restricted: "هذا المحتوى محدود. ادخل كلمة المرور للعرض:",
enterPassword: "ادخل كلمة المرور",
decrypt: "فك التشفير",
decrypting: "جاري فك التشفير...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Contingut Restringit 🛡️",
restricted: "Aquest contingut està restringit. Introduïu la contrasenya per veure:",
enterPassword: "Introduïu la contrasenya",
decrypt: "Desxifrar",
decrypting: "Desxifrant...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Omezený obsah 🛡️",
restricted: "Tento obsah je omezen. Zadejte heslo pro zobrazení:",
enterPassword: "Zadejte heslo",
decrypt: "Dešifrovat",
decrypting: "Dešifruji...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Eingeschränkter Inhalt 🛡️",
restricted: "Dieser Inhalt ist eingeschränkt. Geben Sie das Passwort ein, um ihn anzuzeigen:",
enterPassword: "Passwort eingeben",
decrypt: "Entschlüsseln",
decrypting: "Entschlüsselt...",

View File

@ -63,7 +63,6 @@ export interface Translation {
}
encryption: {
title: string
restricted: string
enterPassword: string
decrypt: string
decrypting: string

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Restricted Content 🛡️",
restricted: "This content is restricted. Enter the password to view:",
enterPassword: "Enter password",
decrypt: "Decrypt",
decrypting: "Decrypting...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Restricted Content 🛡️",
restricted: "This content is restricted. Enter the password to view:",
enterPassword: "Enter password",
decrypt: "Decrypt",
decrypting: "Decrypting...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Contenido Restringido 🛡️",
restricted: "Este contenido está restringido. Ingrese la contraseña para ver:",
enterPassword: "Ingrese contraseña",
decrypt: "Desencriptar",
decrypting: "Desencriptando...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ محتوای محدود 🛡️",
restricted: "این محتوا محدود است. رمز عبور را وارد کنید:",
enterPassword: "رمز عبور را وارد کنید",
decrypt: "رمزگشایی",
decrypting: "در حال رمزگشایی...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Rajoitettu Sisältö 🛡️",
restricted: "Tämä sisältö on rajoitettu. Anna salasana nähdäksesi:",
enterPassword: "Anna salasana",
decrypt: "Pura salaus",
decrypting: "Puretaan salausta...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Contenu Restreint 🛡️",
restricted: "Ce contenu est restreint. Entrez le mot de passe pour l'afficher :",
enterPassword: "Entrez le mot de passe",
decrypt: "Déchiffrer",
decrypting: "Déchiffrement...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Korlátozott Tartalom 🛡️",
restricted: "Ez a tartalom korlátozott. Adja meg a jelszót a megtekintéshez:",
enterPassword: "Jelszó megadása",
decrypt: "Visszafejtés",
decrypting: "Visszafejtés...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Konten Terbatas 🛡️",
restricted: "Konten ini terbatas. Masukkan kata sandi untuk melihat:",
enterPassword: "Masukkan kata sandi",
decrypt: "Dekripsi",
decrypting: "Mendekripsi...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Contenuto Riservato 🛡️",
restricted: "Questo contenuto è riservato. Inserisci la password per visualizzare:",
enterPassword: "Inserisci password",
decrypt: "Decripta",
decrypting: "Decriptando...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ 制限されたコンテンツ 🛡️",
restricted: "このコンテンツは制限されています。表示するにはパスワードを入力してください:",
enterPassword: "パスワードを入力",
decrypt: "復号化",
decrypting: "復号化中...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ 제한된 콘텐츠 🛡️",
restricted: "이 콘텐츠는 제한되어 있습니다. 보려면 비밀번호를 입력하세요:",
enterPassword: "비밀번호 입력",
decrypt: "복호화",
decrypting: "복호화 중...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Apribotas Turinys 🛡️",
restricted: "Šis turinys yra apribotas. Įveskite slaptažodį, kad peržiūrėtumėte:",
enterPassword: "Įvesti slaptažodį",
decrypt: "Iššifruoti",
decrypting: "Iššifruojama...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Begrenset Innhold 🛡️",
restricted: "Dette innholdet er begrenset. Skriv inn passord for å vise:",
enterPassword: "Skriv inn passord",
decrypt: "Dekrypter",
decrypting: "Dekrypterer...",

View File

@ -62,7 +62,6 @@ export default {
},
encryption: {
title: "🛡️ Beperkte Inhoud 🛡️",
restricted: "Deze inhoud is beperkt. Voer het wachtwoord in om te bekijken:",
enterPassword: "Voer wachtwoord in",
decrypt: "Ontsleutelen",
decrypting: "Ontsleutelen...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Ograniczona Treść 🛡️",
restricted: "Ta treść jest ograniczona. Wprowadź hasło, aby wyświetlić:",
enterPassword: "Wprowadź hasło",
decrypt: "Odszyfruj",
decrypting: "Odszyfrowywanie...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Conteúdo Restrito 🛡️",
restricted: "Este conteúdo é restrito. Digite a senha para visualizar:",
enterPassword: "Digite a senha",
decrypt: "Descriptografar",
decrypting: "Descriptografando...",

View File

@ -62,7 +62,6 @@ export default {
},
encryption: {
title: "🛡️ Conținut Restricționat 🛡️",
restricted: "Acest conținut este restricționat. Introduceți parola pentru a vizualiza:",
enterPassword: "Introduceți parola",
decrypt: "Decriptați",
decrypting: "Se decriptează...",

View File

@ -62,7 +62,6 @@ export default {
},
encryption: {
title: "🛡️ Ограниченный Контент 🛡️",
restricted: "Этот контент ограничен. Введите пароль для просмотра:",
enterPassword: "Введите пароль",
decrypt: "Расшифровать",
decrypting: "Расшифровка...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ เนื้อหาถูกจำกัด 🛡️",
restricted: "เนื้อหานี้ถูกจำกัด กรุณาใส่รหัสผ่านเพื่อดู:",
enterPassword: "ใส่รหัสผ่าน",
decrypt: "ถอดรหัส",
decrypting: "กำลังถอดรหัส...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Kısıtlı İçerik 🛡️",
restricted: "Bu içerik şifreli. Görüntülemek için şifreyi girin:",
enterPassword: "Şifreyi girin",
decrypt: "Şifreyi Çöz",
decrypting: "Şifre çözülüyor...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Обмежений Контент 🛡️",
restricted: "Цей контент обмежений. Введіть пароль, щоб переглянути:",
enterPassword: "Введіть пароль",
decrypt: "Розшифрувати",
decrypting: "Розшифрування...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ Nội Dung Bị Hạn Chế 🛡️",
restricted: "Nội dung này bị hạn chế. Nhập mật khẩu để xem:",
enterPassword: "Nhập mật khẩu",
decrypt: "Giải mã",
decrypting: "Đang giải mã...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ 受限内容 🛡️",
restricted: "此内容受限制。输入密码以查看:",
enterPassword: "输入密码",
decrypt: "解密",
decrypting: "解密中...",

View File

@ -61,7 +61,6 @@ export default {
},
encryption: {
title: "🛡️ 受限內容 🛡️",
restricted: "此內容受限制。輸入密碼以檢視:",
enterPassword: "輸入密碼",
decrypt: "解密",
decrypting: "解密中...",

View File

@ -34,7 +34,10 @@ export const Encrypt: QuartzTransformerPlugin<Partial<Options>> = (userOpts) =>
const opts = { ...defaultOptions, ...userOpts }
// Validate algorithm at build time
if (opts.algorithm && !SUPPORTED_ALGORITHMS.includes(opts.algorithm as SupportedEncryptionAlgorithm)) {
if (
opts.algorithm &&
!SUPPORTED_ALGORITHMS.includes(opts.algorithm as SupportedEncryptionAlgorithm)
) {
throw new Error(
`[EncryptPlugin] Unsupported encryption algorithm: ${opts.algorithm}. Supported algorithms: ${SUPPORTED_ALGORITHMS.join(", ")}`,
)

View File

@ -592,4 +592,4 @@ export async function contentDecryptedEventListener(
}
})
}
}
}