1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-30 15:49:31 +00:00

i18n: notifier: Use comment to clarify if a name or number is meant

Closes #338
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-10-18 16:58:42 +02:00
parent 57ec06a6f5
commit 2bfecf1249

View file

@ -65,8 +65,10 @@ notify (CallsNotifier *self, CallsCall *call)
got_number = !!number && (g_strcmp0 (number, "") != 0);
if (calls_best_match_has_individual (contact))
/* %s is a name here */
msg = g_strdup_printf (_("Missed call from <b>%s</b>"), name);
else if (got_number)
/* %s is a number here */
msg = g_strdup_printf (_("Missed call from %s"), number);
else
msg = g_strdup (_("Missed call from unknown caller"));