mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	client: Translate open help page
This commit is contained in:
		
							parent
							
								
									3bdb87d3aa
								
							
						
					
					
						commit
						720087f082
					
				@ -1,3 +1,4 @@
 | 
			
		||||
import { t } from "../services/i18n.js";
 | 
			
		||||
import NoteContextAwareWidget from "./note_context_aware_widget.js";
 | 
			
		||||
 | 
			
		||||
const TPL = `
 | 
			
		||||
@ -90,7 +91,7 @@ const TPL = `
 | 
			
		||||
        </span>
 | 
			
		||||
    </div>
 | 
			
		||||
    
 | 
			
		||||
    <button class="switch-help-button" type="button" data-help-page="" title="Open help page" style="display: none;">?</button>
 | 
			
		||||
    <button class="switch-help-button" type="button" data-help-page="" title="${t("open-help-page")}" style="display: none;">?</button>
 | 
			
		||||
</div>`;
 | 
			
		||||
 | 
			
		||||
export default class SwitchWidget extends NoteContextAwareWidget {
 | 
			
		||||
 | 
			
		||||
@ -1317,5 +1317,6 @@
 | 
			
		||||
    "template": "Template",
 | 
			
		||||
    "toggle-on-hint": "Make the note a template",
 | 
			
		||||
    "toggle-off-hint": "Remove the note as a template"
 | 
			
		||||
  }
 | 
			
		||||
  },
 | 
			
		||||
  "open-help-page": "Open help page"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1317,5 +1317,6 @@
 | 
			
		||||
    "template": "Șablon",
 | 
			
		||||
    "toggle-off-hint": "Înlătură notița ca șablon",
 | 
			
		||||
    "toggle-on-hint": "Marchează notița drept șablon"
 | 
			
		||||
  }
 | 
			
		||||
  },
 | 
			
		||||
  "open-help-page": "Deschide pagina de informații"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user