mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15:22 +03:00
Merge pull request #810 from McGiverGim/bf-add_window_title
Add Betaflight Configurator as window title
This commit is contained in:
commit
07bdeb65e1
2 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
||||||
"translation_version": {
|
"translation_version": {
|
||||||
"message": "0"
|
"message": "0"
|
||||||
},
|
},
|
||||||
|
"windowTitle": {
|
||||||
|
"message": "Betaflight Configurator",
|
||||||
|
"description": "Title of the application window, usually not translated"
|
||||||
|
},
|
||||||
"warningTitle": {
|
"warningTitle": {
|
||||||
"message": "Warning"
|
"message": "Warning"
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,6 +9,7 @@ function startApplication() {
|
||||||
chrome.app.window.create('main.html', {
|
chrome.app.window.create('main.html', {
|
||||||
id: 'main-window',
|
id: 'main-window',
|
||||||
frame: 'chrome',
|
frame: 'chrome',
|
||||||
|
title: chrome.i18n.getMessage('windowTitle'),
|
||||||
innerBounds: {
|
innerBounds: {
|
||||||
minWidth: 1024,
|
minWidth: 1024,
|
||||||
minHeight: 550
|
minHeight: 550
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue