[calls/gnome-41] i18n: notifier: Use comment to clarify if a name or number is meant
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls/gnome-41] i18n: notifier: Use comment to clarify if a name or number is meant
- Date: Thu, 28 Oct 2021 12:34:13 +0000 (UTC)
commit e5b617d218dbf722ea4359dddc845128354ba42f
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Mon Oct 18 16:58:42 2021 +0200
i18n: notifier: Use comment to clarify if a name or number is meant
Closes #338
(cherry picked from commit 2bfecf1249ee2675a6acec7a27ffb7bc912b50a4)
src/calls-notifier.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/calls-notifier.c b/src/calls-notifier.c
index 6d2086f4..9cb9c532 100644
--- a/src/calls-notifier.c
+++ b/src/calls-notifier.c
@@ -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"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]