Function
RBRhythmDBcompute_status_normal
Declaration [src]
char*
rhythmdb_compute_status_normal (
gint n_songs,
glong duration,
guint64 size,
const char* singular,
const char* plural
)
Description [src]
Creates a string containing the “status” information about a list of tracks. The singular and plural strings must be used in a direct ngettext call elsewhere in order for them to be marked for translation correctly.
Parameters
n_songs-
Type:
gintThe number of tracks.
duration-
Type:
glongThe total duration of the tracks.
size-
Type:
guint64The total size of the tracks.
singular-
Type:
const char*Singular form of the format string to use for entries (eg “%d song”).
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. plural-
Type:
const char*Plural form of the format string to use for entries (eg “%d songs”).
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.