diff options
author | Robin Gareus <robin@gareus.org> | 2013-01-03 19:53:11 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-01-03 19:53:11 +0000 |
commit | 20f5d6736e7f85351e2c7727b42e04f92f53566f (patch) | |
tree | 73773dcb8cf43367bd9b366003f011704d567b94 /gtk2_ardour/sfdb_ui.cc | |
parent | 80cab708db3adf8b4234a70d05d9e21244aac6a9 (diff) |
yet another plural form fix
git-svn-id: svn://localhost/ardour2/branches/3.0@13766 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r-- | gtk2_ardour/sfdb_ui.cc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc index 81c8f0d717..8dacd0dff1 100644 --- a/gtk2_ardour/sfdb_ui.cc +++ b/gtk2_ardour/sfdb_ui.cc @@ -1058,15 +1058,10 @@ SoundFileBrowser::freesound_search() gdk_window_set_cursor (get_window()->gobj(), prev_cursor); freesound_progress_bar.set_fraction(0.0); - switch (matches) { - case 0: - freesound_progress_bar.set_text(_("Search returned no results.")); - break; - case 1: - freesound_progress_bar.set_text(_("Found one match.")); - break; - default: - freesound_progress_bar.set_text(string_compose(_("Found %1 matche(s)"), matches)); + if (matches == 0) { + freesound_progress_bar.set_text(_("Search returned no results.")); + } else { + freesound_progress_bar.set_text(string_compose(P_("Found %1 match", "Found %1 matches", matches), matches)); } freesound_list_view.get_column(1)->set_sizing(TREE_VIEW_COLUMN_AUTOSIZE); #endif |