From e8b1a9f87d29b362cbb2513f66cdea0e7a430682 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Sat, 1 Oct 2005 13:47:58 +0000 Subject: [PATCH] * minor fix (capitalise string at the bottom of the pl, don't create temporary strings if you don't use stringWithFormat) --- modules/gui/macosx/playlist.m | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index 117ffafb5e..e650989125 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -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_services setTitle: _NS("Services discovery")]; [o_status_field setStringValue: [NSString stringWithFormat: - _NS("no items in playlist")]]; + _NS("No items in the playlist")]]; [o_random_ckb setTitle: _NS("Random")]; #if 0 @@ -1509,19 +1509,17 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/ if( p_playlist->i_size >= 2 ) { [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 { if( p_playlist->i_size == 0 ) { - [o_status_field setStringValue: [NSString stringWithFormat: - _NS("no items in playlist")]]; + [o_status_field setStringValue: _NS("No items in the playlist")]; } else { - [o_status_field setStringValue: [NSString stringWithFormat: - _NS("1 item in playlist")]]; + [o_status_field setStringValue: _NS("1 item in the playlist")]; } } vlc_object_release( p_playlist ); -- 2.39.5