mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	chore(call_to_action): add missing translation
This commit is contained in:
		
							parent
							
								
									2e0f606a7a
								
							
						
					
					
						commit
						33043c7133
					
				@ -1999,6 +1999,7 @@
 | 
			
		||||
    "next_theme_button": "Try the new theme",
 | 
			
		||||
    "background_effects_title": "Background effects are now stable",
 | 
			
		||||
    "background_effects_message": "On Windows devices, background effects are now fully stable. The background effects adds a touch of color to the user interface by blurring the background behind it. This technique is also used in other applications such as Windows Explorer.",
 | 
			
		||||
    "background_effects_button": "Enable background effects"
 | 
			
		||||
    "background_effects_button": "Enable background effects",
 | 
			
		||||
    "dismiss": "Dismiss"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ import Button from "../react/Button";
 | 
			
		||||
import Modal from "../react/Modal";
 | 
			
		||||
import ReactBasicWidget from "../react/ReactBasicWidget";
 | 
			
		||||
import { CallToAction, dismissCallToAction, getCallToActions } from "./call_to_action_definitions";
 | 
			
		||||
import { t } from "../../services/i18n";
 | 
			
		||||
 | 
			
		||||
function CallToActionDialogComponent({ activeCallToActions }: { activeCallToActions: CallToAction[] }) {
 | 
			
		||||
    if (!activeCallToActions.length) {
 | 
			
		||||
@ -30,7 +31,7 @@ function CallToActionDialogComponent({ activeCallToActions }: { activeCallToActi
 | 
			
		||||
            onHidden={() => setShown(false)}
 | 
			
		||||
            footerAlignment="between"
 | 
			
		||||
            footer={<>
 | 
			
		||||
                <Button text="Dismiss" onClick={async () => {
 | 
			
		||||
                <Button text={t("call_to_action.dismiss")} onClick={async () => {
 | 
			
		||||
                    await dismissCallToAction(activeItem.id);
 | 
			
		||||
                    goToNext();
 | 
			
		||||
                }} />
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user