mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
first i18n entry (moving notification strings)
This commit is contained in:
parent
eb32e0ddb3
commit
db9a4f4dc0
2 changed files with 9 additions and 3 deletions
|
@ -48,10 +48,10 @@ chrome.runtime.onInstalled.addListener(function(details) {
|
|||
var options = {
|
||||
priority: 0,
|
||||
type: 'basic',
|
||||
title: 'Baseflight Configurator Update',
|
||||
message: 'Application just updated to version: ' + manifest.version,
|
||||
title: manifest.name,
|
||||
message: chrome.i18n.getMessage('notifications_app_just_updated_to_version', [manifest.version]),
|
||||
iconUrl: '/images/icon_128.png',
|
||||
buttons: [{'title': 'Click this button to start the application'}]
|
||||
buttons: [{'title': chrome.i18n.getMessage('notifications_click_here_to_start_app')}]
|
||||
};
|
||||
|
||||
chrome.notifications.create('baseflight_update', options, function(notificationId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue