--- strings.txt.old 2004-07-21 00:34:00.000000000 -0700 +++ strings.txt 2004-07-23 12:15:55.000000000 -0700 @@ -1,4 +1,4 @@ -# $Id: strings.txt,v 1.4 2004/07/21 00:34:44 kdf Exp $ +# $Id: strings.txt,v 1.3 2004/07/17 01:44:43 kdf Exp $ # # This tab-delimited file contains all the text strings used in the SlimServer # The format should be self explanatory. To submit a new language, or a better @@ -4706,6 +4706,9 @@ ADD_TO_PLAYLIST PT Adicionar à lista SE Lägg till i låtlistan +CONFIRM + EN Confirm Overwrite + TRACK DE Lied DK Track @@ -5499,7 +5502,7 @@ NOTE RENAME_WARNING DE Der gewählte Name wird bereits verwendet. Bitte verwenden Sie einen anderen Namen für die Playlist. DK Det valgte navn er optaget. Vælg venligst et andet navn for din playliste. - EN The name you chose is already taken. Please choose another name for your playlist. + EN The name you chose is already taken. Please choose another name for your playlist, or check 'confirm overwrite' to replace your existing playlist. FR Ce nom est déjà utilisé. Veuillez choisir un autre nom pour votre liste de lecture. NL De gekozen naam is al in gebruik. Kies een andere naam voor Uw playlist. NO Navnet du brukte er allerede i bruk. Velg et annet navn for din spilleliste. --- Pages.pm.old 2004-07-23 04:29:00.000000000 -0700 +++ Pages.pm 2004-07-23 12:13:42.000000000 -0700 @@ -204,7 +204,7 @@ sub browser { $::d_http && msg("renaming $fulldir to $newfullname\n"); - if ($newfullname ne $fulldir && !-e Slim::Utils::Misc::pathFromFileURL($newfullname) && rename(Slim::Utils::Misc::pathFromFileURL($fulldir), Slim::Utils::Misc::pathFromFileURL($newfullname))) { + if ($newfullname ne $fulldir && (!-e Slim::Utils::Misc::pathFromFileURL($newfullname) || defined $params->{'overwrite'}) && rename(Slim::Utils::Misc::pathFromFileURL($fulldir), Slim::Utils::Misc::pathFromFileURL($newfullname))) { Slim::Music::Info::clearCache($container); Slim::Music::Info::clearCache($fulldir); --- Fishbone/browse_playlist.html.old 2004-07-22 21:20:00.000000000 -0700 +++ Fishbone/browse_playlist.html 2004-07-23 12:19:26.000000000 -0700 @@ -7,12 +7,13 @@ [% IF warn %]
[% "NOTE" | string %] [% "SCAN_WARNING" | string %] [% IF not itunes %][% "SCAN_CLICK" | string %] [% "HERE" | string %].[% END %]
[% END %] [% IF RENAME_WARNING %]

[% "NOTE" | string %] [% "RENAME_WARNING" | string %]

[% END %] - [% IF titled %]
- [% END %] - [% IF playlistname %] -
[% savebuttonname %] [% "THIS_PLAYLIST_AS" | string %] - + [% IF playlistname %]
+ +
[% savebuttonname %] [% "THIS_PLAYLIST_AS" | string %] + + [% IF RENAME_WARNING %][% "CONFIRM" | string %][% END %]
[% END %] [% IF titled %] @@ -20,8 +21,8 @@
[% "DELETE_THIS_PLAYLIST" | string %]      [% "EDIT_PLAYLIST" | string %]
-
[% END %] + [% END %] +

[% IF song_count %][% "LIBRARY_CONTAINS" | string %] [% song_count %] [% "BY" | string %] [% artist_count %][% END %]

[% "SAVED_PLAYLISTS" | string %] --- Default/browse_playlist.html.old 2004-07-08 06:44:00.000000000 -0700 +++ Default/browse_playlist.html 2004-07-23 12:24:19.000000000 -0700 @@ -42,8 +42,9 @@

[% savebuttonname %] [% "THIS_PLAYLIST_AS" | string %] - + + [% IF RENAME_WARNING %][% "CONFIRM" | string %][% END %]
--- EN/browse_playlist.html.old 2004-07-08 06:44:00.000000000 -0700 +++ EN/browse_playlist.html 2004-07-23 12:23:37.000000000 -0700 @@ -17,9 +17,11 @@ [% IF RENAME_WARNING %]

[% "NOTE" | string %] [% "RENAME_WARNING" | string %]


[% END %] - [% IF playlistname %]

[% savebuttonname %] [% "THIS_PLAYLIST_AS" | string %] + [% IF playlistname %]

[% savebuttonname %] [% "THIS_PLAYLIST_AS" | string %] +

+ [% IF RENAME_WARNING %][% "CONFIRM" | string %][% END %] [% END %] [% IF titled %]

[% "DELETE_THIS_PLAYLIST" | string %]

[% END %]