Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization Support for Extension #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"extensionName": {
"message": "YouTube Summarizer MVP"
},
"extensionDescription": {
"message": "MVP: Summarize YouTube videos using ChatGPT 4o mini API."
},
"settingsTitle": {
"message": "Settings"
},
"selectLanguage": {
"message": "Select Summary Language"
},
"languageTurkish": {
"message": "Turkish"
},
"languageEnglish": {
"message": "English"
},
"languageSpanish": {
"message": "Spanish"
},
"languageFrench": {
"message": "French"
},
"languageGerman": {
"message": "German"
},
"languageSaved": {
"message": "Preferred language saved!"
},
"languageSavedNotification": {
"message": "Preferred language saved!"
},
"languageSavedConsoleLog": {
"message": "Saved language:"
},
Taiizor marked this conversation as resolved.
Show resolved Hide resolved
"darkModeEnabled": {
"message": "Dark mode enabled."
},
"darkModeDisabled": {
"message": "Dark mode disabled."
},
"closeButtonText": {
"message": "Close"
},
"copyButtonText": {
"message": "Copy"
},
"copiedButtonText": {
"message": "Copied!"
},
"copyErrorLog": {
"message": "Failed to copy text:"
},
"noVideoIdError": {
"message": "No video ID found. Cannot get transcript."
},
"noCaptionsError": {
"message": "No captions or transcript found for this video."
},
"serverError": {
"message": "Error fetching transcript from the server."
},
"unexpectedError": {
"message": "An unexpected error occurred:"
},
"noSummaryError": {
"message": "No summary returned from the server."
},
"connectionError": {
"message": "Failed to connect to the transcript service."
},
"fetchErrorLog": {
"message": "Error fetching transcript:"
},
"summarizeButtonText": {
"message": "SUMMARIZE"
},
"summarizeButtonClicked": {
"message": "Summarize button clicked!"
}
Taiizor marked this conversation as resolved.
Show resolved Hide resolved
}
83 changes: 83 additions & 0 deletions src/_locales/tr/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"extensionName": {
"message": "MVP YouTube Özetleyici"
},
"extensionDescription": {
"message": "MVP: ChatGPT 4o mini API'yi kullanarak YouTube videolarını özetleyin."
},
"settingsTitle": {
"message": "Ayarlar"
},
"selectLanguage": {
"message": "Özet Dilini Seçin"
},
"languageTurkish": {
"message": "Türkçe"
},
"languageEnglish": {
"message": "İngilizce"
},
"languageSpanish": {
"message": "İspanyolca"
},
"languageFrench": {
"message": "Fransızca"
},
"languageGerman": {
"message": "Almanca"
},
"languageSaved": {
"message": "Tercih edilen dil kaydedildi!"
},
"languageSavedNotification": {
"message": "Tercih edilen dil kaydedildi!"
},
"languageSavedConsoleLog": {
"message": "Kaydedilen dil:"
},
"darkModeEnabled": {
"message": "Karanlık mod etkinleştirildi."
},
"darkModeDisabled": {
"message": "Karanlık mod devre dışı bırakıldı."
},
"closeButtonText": {
"message": "Kapat"
},
"copyButtonText": {
"message": "Kopyala"
},
"copiedButtonText": {
"message": "Kopyalandı!"
},
"copyErrorLog": {
"message": "Metin kopyalanamadı:"
},
"noVideoIdError": {
"message": "Video kimliği bulunamadı. Transkript alınamıyor."
},
"noCaptionsError": {
"message": "Bu video için altyazı veya transkript bulunamadı."
},
"serverError": {
"message": "Sunucudan transkript alınırken hata oluştu."
},
"unexpectedError": {
"message": "Beklenmedik bir hata oluştu:"
},
"noSummaryError": {
"message": "Sunucudan özet döndürülmedi."
},
"connectionError": {
"message": "Transkript hizmetine bağlanılamadı."
},
"fetchErrorLog": {
"message": "Transkript alınırken hata:"
},
"summarizeButtonText": {
"message": "ÖZETLE"
},
"summarizeButtonClicked": {
"message": "Özetle butonuna tıklandı!"
}
}
Loading