forked from AuroraMiddleware/gtk
Use dngettext instead of ngettext
Since we are a library, we have to pass the domain explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=764261
This commit is contained in:
parent
5dabfa7b39
commit
568feffa69
@ -129,7 +129,7 @@ measure_available_space_finished (GObject *object,
|
|||||||
* should be based on the free space available.
|
* should be based on the free space available.
|
||||||
* i.e. 1 GB / 24 GB available.
|
* i.e. 1 GB / 24 GB available.
|
||||||
*/
|
*/
|
||||||
label = g_strdup_printf (ngettext ("%s / %s available", "%s / %s available", plural_form),
|
label = g_strdup_printf (dngettext (GETTEXT_PACKAGE, "%s / %s available", "%s / %s available", plural_form),
|
||||||
formatted_free_size, formatted_total_size);
|
formatted_free_size, formatted_total_size);
|
||||||
|
|
||||||
gtk_label_set_label (row->available_space_label, label);
|
gtk_label_set_label (row->available_space_label, label);
|
||||||
|
Loading…
Reference in New Issue
Block a user