[gnome-sound-recorder] mainwindow: Change Title



commit 2382ba22e86f298172783e90e57dec32e46679af
Author: Saad Patel <patelsaadn gmail com>
Date:   Wed Mar 4 03:24:23 2020 +0530

    mainwindow: Change Title

 src/mainWindow.js | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 37194c5..b517c15 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -354,17 +354,7 @@ const MainView = GObject.registerClass(class MainView extends Gtk.Stack {
 
         this.groupGrid.add(this._scrolledWin);
         this._scrolledWin.show();
-        let sounds = list.getItemCount();
-        let title;
-        if (sounds > 0) {
-            // Translators: This is the title in the headerbar
-            title = Gettext.ngettext("%d Recorded Sound",
-                                     "%d Recorded Sounds",
-                                      sounds).format(sounds);
-        } else {
-            title = _("No Recorded Sounds");
-        }
-        header.set_title(title);
+        header.set_title(_('Sound Recorder'));
 
         this.listBox = null;
         this._startIdx = 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]