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



commit 2bfecf1249ee2675a6acec7a27ffb7bc912b50a4
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

 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]