File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -185,11 +185,16 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => {
185185 { enabledCount > 7 && (
186186 < >
187187 < DismissibleUpsell
188- upsellId = "autoApprovePowerUser "
188+ upsellId = "autoApprovePowerUserA "
189189 onClick = { ( ) => openUpsell ( ) }
190190 dismissOnClick = { false }
191191 variant = "banner" >
192- { t ( "cloud:upsell.autoApprovePowerUser" ) }
192+ < Trans
193+ i18nKey = "cloud:upsell.autoApprovePowerUser"
194+ components = { {
195+ learnMoreLink : < VSCodeLink href = "#" /> ,
196+ } }
197+ />
193198 </ DismissibleUpsell >
194199 </ >
195200 ) }
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ describe("DismissibleUpsell", () => {
110110
111111 it ( "hides the upsell if it's in the dismissed list" , async ( ) => {
112112 const { container } = render (
113- < DismissibleUpsell id = "test-upsell" >
113+ < DismissibleUpsell upsellId = "test-upsell" >
114114 < div > Test content</ div >
115115 </ DismissibleUpsell > ,
116116 )
@@ -154,7 +154,7 @@ describe("DismissibleUpsell", () => {
154154
155155 it ( "applies the className prop to the container" , ( ) => {
156156 const { container } = render (
157- < DismissibleUpsell id = "test-upsell" className = "custom-class" >
157+ < DismissibleUpsell upsellId = "test-upsell" className = "custom-class" >
158158 < div > Test content</ div >
159159 </ DismissibleUpsell > ,
160160 )
Original file line number Diff line number Diff line change 1919 "pasteCallbackUrl" : " Copy the redirect URL from your browser and paste it here:" ,
2020 "startOver" : " Start over" ,
2121 "upsell" : {
22- "autoApprovePowerUser" : " Giving Roo some independence? Control it from anywhere with Roo Code Cloud. Click to learn more." ,
22+ "autoApprovePowerUser" : " Giving Roo some independence? Control it from anywhere with Roo Code Cloud. <learnMoreLink>Learn more</learnMoreLink> ." ,
2323 "longRunningTask" : " This might take a while. Continue from anywhere with Cloud." ,
2424 "taskList" : " Roo Code Cloud is here: follow and control your tasks from anywhere. <learnMoreLink>Learn more</learnMoreLink>."
2525 }
You can’t perform that action at this time.
0 commit comments