[gnome-games/wip/exalm/metadata: 7/21] dummy-description: Return empty string



commit c3ac245d284082d5981606d789ca43ca2e9b2132
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Oct 9 02:17:12 2018 +0500

    dummy-description: Return empty string
    
    There's no point in providing an already translated error as a result,
    and this can be done in the UI directly, so be consistent with
    GriloDescription.

 po/POTFILES.in                   | 1 -
 po/POTFILES.skip                 | 1 -
 src/dummy/dummy-description.vala | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2b6893bb..e3cefc19 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -51,7 +51,6 @@ plugins/wii/src/wii-plugin.vala
 src/command/command-runner.vala
 src/core/media-set/media-set.vala
 src/core/plugin-registrar.vala
-src/dummy/dummy-description.vala
 src/dummy/dummy-platform.vala
 src/dummy/dummy-players.vala
 src/dummy/dummy-publisher.vala
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 0e41024b..adafa76c 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -29,7 +29,6 @@ plugins/wii/src/wii-plugin.c
 src/command/command-runner.c
 src/core/media-set/media-set.c
 src/core/plugin-registrar.c
-src/dummy/dummy-description.c
 src/dummy/dummy-developer.c
 src/dummy/dummy-platform.c
 src/dummy/dummy-players.c
diff --git a/src/dummy/dummy-description.vala b/src/dummy/dummy-description.vala
index 39a7c244..53a40650 100644
--- a/src/dummy/dummy-description.vala
+++ b/src/dummy/dummy-description.vala
@@ -2,6 +2,6 @@
 
 public class Games.DummyDescription : Object, Description {
        public string get_description () {
-               return _("No description available.");
+               return "";
        }
 }


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