Skip to content

Commit

Permalink
upd: translatable update available text
Browse files Browse the repository at this point in the history
  • Loading branch information
solvedDev committed Feb 13, 2021
1 parent 3c5b9c9 commit a734970
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ export default {
message: 'Getting Started',
},
installApp: {
message: 'Install app',
message: 'Install App',
},
updateAvailable: {
message: 'Update Available',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/registerServiceWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (process.env.NODE_ENV === 'production') {
createNotification({
icon: 'mdi-update',
color: 'primary',
message: 'Update Available',
message: 'sidebar.notifications.updateAvailable.message',
textColor: 'white',
onClick: () => {
if (serviceWorker.waiting)
Expand Down

0 comments on commit a734970

Please sign in to comment.