Commit e8b1a9f8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* minor fix (capitalise string at the bottom of the pl, don't create temporary...

* minor fix (capitalise string at the bottom of the pl, don't create temporary strings if you don't use stringWithFormat)
parent 7e9ec875
...@@ -507,7 +507,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/ ...@@ -507,7 +507,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
[o_mi_sort_author setTitle: _NS("Sort Node by Author")]; [o_mi_sort_author setTitle: _NS("Sort Node by Author")];
[o_mi_services setTitle: _NS("Services discovery")]; [o_mi_services setTitle: _NS("Services discovery")];
[o_status_field setStringValue: [NSString stringWithFormat: [o_status_field setStringValue: [NSString stringWithFormat:
_NS("no items in playlist")]]; _NS("No items in the playlist")]];
[o_random_ckb setTitle: _NS("Random")]; [o_random_ckb setTitle: _NS("Random")];
#if 0 #if 0
...@@ -1509,19 +1509,17 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/ ...@@ -1509,19 +1509,17 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
if( p_playlist->i_size >= 2 ) if( p_playlist->i_size >= 2 )
{ {
[o_status_field setStringValue: [NSString stringWithFormat: [o_status_field setStringValue: [NSString stringWithFormat:
_NS("%i items in playlist"), p_playlist->i_size]]; _NS("%i items in the playlist"), p_playlist->i_size]];
} }
else else
{ {
if( p_playlist->i_size == 0 ) if( p_playlist->i_size == 0 )
{ {
[o_status_field setStringValue: [NSString stringWithFormat: [o_status_field setStringValue: _NS("No items in the playlist")];
_NS("no items in playlist")]];
} }
else else
{ {
[o_status_field setStringValue: [NSString stringWithFormat: [o_status_field setStringValue: _NS("1 item in the playlist")];
_NS("1 item in playlist")]];
} }
} }
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment