File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ <h1>CodeTranslateAI</h1>
1313 < div class ="select-wrapper ">
1414 < select id ="language-select ">
1515 < option value ="C "> C</ option >
16- < option value ="C# "> C#</ option >
17- < option value ="C++ "> C++</ option >
16+ < option value ="Csharp "> C#</ option >
17+ < option value ="Cpp "> C++</ option >
1818 < option value ="Go "> Go</ option >
1919 < option value ="Java "> Java</ option >
2020 < option value ="Kotlin "> Kotlin</ option >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ async function handleElementClick(e) {
2222 const cacheKey = `translation_${ hashCode ( selectedCode ) } ` ;
2323 const originalWidth = clickedElement . getBoundingClientRect ( ) . width ;
2424 const { targetLanguage } = await chrome . storage . sync . get ( 'targetLanguage' ) ;
25- const lang = targetLanguage || 'Java' ;
25+ const lang = targetLanguage ;
2626 const cachedData = await getFromCache ( cacheKey ) ;
2727
2828 if ( cachedData && cachedData [ lang ] ) {
You can’t perform that action at this time.
0 commit comments