change some text

This commit is contained in:
Royce551 2021-03-20 07:30:57 -05:00
parent e55d4f6ec7
commit 3bd50a38a0
3 changed files with 11 additions and 36 deletions

View file

@ -23,8 +23,7 @@ namespace FRESHMusicPlayer.Handlers
public override void Nuke(bool nukePlaylists = true) public override void Nuke(bool nukePlaylists = true)
{ {
Database.GetCollection<DatabaseTrack>("tracks").DeleteAll(); base.Nuke(nukePlaylists);
if (nukePlaylists) Database.GetCollection<DatabasePlaylist>("playlists").DeleteAll();
notificationHandler.Add(new Notification notificationHandler.Add(new Notification
{ {
ContentText = Properties.Resources.NOTIFICATION_CLEARSUCCESS, ContentText = Properties.Resources.NOTIFICATION_CLEARSUCCESS,

View file

@ -133,7 +133,7 @@ namespace FRESHMusicPlayer.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Manual file path/URL entry. /// Looks up a localized string similar to File path or URL.
/// </summary> /// </summary>
public static string IMPORT_MANUALENTRY { public static string IMPORT_MANUALENTRY {
get { get {
@ -187,7 +187,7 @@ namespace FRESHMusicPlayer.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to No lyrics. /// Looks up a localized string similar to No lyrics available.
/// </summary> /// </summary>
public static string LYRICS_NOLYRICS { public static string LYRICS_NOLYRICS {
get { get {
@ -578,15 +578,6 @@ namespace FRESHMusicPlayer.Properties {
} }
} }
/// <summary>
/// Looks up a localized string similar to Import library from old FMP.
/// </summary>
public static string SETTINGS_IMPORTOLDFMP {
get {
return ResourceManager.GetString("SETTINGS_IMPORTOLDFMP", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Integration. /// Looks up a localized string similar to Integration.
/// </summary> /// </summary>
@ -633,7 +624,7 @@ namespace FRESHMusicPlayer.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Playback Tracking. /// Looks up a localized string similar to Playtime Logging.
/// </summary> /// </summary>
public static string SETTINGS_PLAYBACKTRACKING { public static string SETTINGS_PLAYBACKTRACKING {
get { get {
@ -642,16 +633,7 @@ namespace FRESHMusicPlayer.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Get pre-release versions of FMP. /// Looks up a localized string similar to Reset settings to default.
/// </summary>
public static string SETTINGS_PRERELEASE {
get {
return ResourceManager.GetString("SETTINGS_PRERELEASE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reset configuration to defaults.
/// </summary> /// </summary>
public static string SETTINGS_RESET { public static string SETTINGS_RESET {
get { get {
@ -660,7 +642,7 @@ namespace FRESHMusicPlayer.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to To apply your changes, FMP needs to restart.. /// Looks up a localized string similar to FMP needs to restart to apply your changes..
/// </summary> /// </summary>
public static string SETTINGS_RESTART_NEEDED_PROMPT { public static string SETTINGS_RESTART_NEEDED_PROMPT {
get { get {

View file

@ -142,7 +142,7 @@
<value>You can also drag and drop to this page.</value> <value>You can also drag and drop to this page.</value>
</data> </data>
<data name="IMPORT_MANUALENTRY" xml:space="preserve"> <data name="IMPORT_MANUALENTRY" xml:space="preserve">
<value>Manual file path/URL entry</value> <value>File path or URL</value>
</data> </data>
<data name="LIBRARY_ADD_TO_PLAYLIST" xml:space="preserve"> <data name="LIBRARY_ADD_TO_PLAYLIST" xml:space="preserve">
<value>Add to playlist</value> <value>Add to playlist</value>
@ -160,7 +160,7 @@
<value>Lyrics</value> <value>Lyrics</value>
</data> </data>
<data name="LYRICS_NOLYRICS" xml:space="preserve"> <data name="LYRICS_NOLYRICS" xml:space="preserve">
<value>No lyrics</value> <value>No lyrics available</value>
</data> </data>
<data name="MAINWINDOW_ALBUMS" xml:space="preserve"> <data name="MAINWINDOW_ALBUMS" xml:space="preserve">
<value>Albums</value> <value>Albums</value>
@ -293,9 +293,6 @@ Thank you for using FRESHMusicPlayer! ♥</value>
<data name="SETTINGS_GENERAL" xml:space="preserve"> <data name="SETTINGS_GENERAL" xml:space="preserve">
<value>General</value> <value>General</value>
</data> </data>
<data name="SETTINGS_IMPORTOLDFMP" xml:space="preserve">
<value>Import library from old FMP</value>
</data>
<data name="SETTINGS_INTEGRATION" xml:space="preserve"> <data name="SETTINGS_INTEGRATION" xml:space="preserve">
<value>Integration</value> <value>Integration</value>
</data> </data>
@ -312,16 +309,13 @@ Thank you for using FRESHMusicPlayer! ♥</value>
<value>You are about to irreversibly clear your library. Are you sure?</value> <value>You are about to irreversibly clear your library. Are you sure?</value>
</data> </data>
<data name="SETTINGS_PLAYBACKTRACKING" xml:space="preserve"> <data name="SETTINGS_PLAYBACKTRACKING" xml:space="preserve">
<value>Playback Tracking</value> <value>Playtime Logging</value>
</data>
<data name="SETTINGS_PRERELEASE" xml:space="preserve">
<value>Get pre-release versions of FMP</value>
</data> </data>
<data name="SETTINGS_RESET" xml:space="preserve"> <data name="SETTINGS_RESET" xml:space="preserve">
<value>Reset configuration to defaults</value> <value>Reset settings to default</value>
</data> </data>
<data name="SETTINGS_RESTART_NEEDED_PROMPT" xml:space="preserve"> <data name="SETTINGS_RESTART_NEEDED_PROMPT" xml:space="preserve">
<value>To apply your changes, FMP needs to restart.</value> <value>FMP needs to restart to apply your changes.</value>
</data> </data>
<data name="SETTINGS_RESTART_NOW" xml:space="preserve"> <data name="SETTINGS_RESTART_NOW" xml:space="preserve">
<value>Restart now</value> <value>Restart now</value>