Add offline message as i18n string

This commit is contained in:
Lei Nelissen
2022-01-02 23:03:15 +01:00
parent f78db52e0a
commit 5d6f65b699
3 changed files with 5 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ function generateStyles(scheme: ColorSchemeName) {
borderColor: scheme === 'dark' ? '#262626' : '#ddd',
},
activeBackground: {
backgroundColor: `${THEME_COLOR}${scheme === 'dark' ? '66' : '16'}`,
backgroundColor: `${THEME_COLOR}${scheme === 'dark' ? '26' : '16'}`,
},
imageBackground: {
backgroundColor: scheme === 'dark' ? '#333' : '#ddd',

View File

@@ -55,5 +55,6 @@
"delete-album": "Delete Album",
"delete-playlist": "Delete Playlist",
"total-download-size": "Total Download Size",
"retry-failed-downloads": "Retry Failed Downloads"
"retry-failed-downloads": "Retry Failed Downloads",
"you-are-offline-message": "You are currently offline. You can only play previously downloaded music."
}

View File

@@ -53,4 +53,5 @@ export type LocaleKeys = 'play-next'
| 'delete-track'
| 'total-download-size'
| 'no-downloads'
| 'retry-failed-downloads'
| 'retry-failed-downloads'
| 'you-are-offline-message'