[gnome-games/wip/exalm/metadata: 15/21] dummy-publisher: Return empty string



commit 18d2389a2f39832231b1ba7177152e618bfb8a89
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Oct 9 02:19:19 2018 +0500

    dummy-publisher: 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
    GriloPublisher.

 po/POTFILES.in                 | 1 -
 po/POTFILES.skip               | 1 -
 src/dummy/dummy-publisher.vala | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 85a7a1b7..e9a87b00 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -52,7 +52,6 @@ src/command/command-runner.vala
 src/core/media-set/media-set.vala
 src/core/plugin-registrar.vala
 src/dummy/dummy-platform.vala
-src/dummy/dummy-publisher.vala
 src/gameinfo/gameinfo-disc-id-disc-title.vala
 src/gameinfo/gameinfo-doc.vala
 src/grilo/grilo-players.vala
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 28dea578..64d7f501 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -31,7 +31,6 @@ src/core/media-set/media-set.c
 src/core/plugin-registrar.c
 src/dummy/dummy-developer.c
 src/dummy/dummy-platform.c
-src/dummy/dummy-publisher.c
 src/gameinfo/gameinfo-disc-id-disc-title.c
 src/gameinfo/gameinfo-doc.c
 src/grilo/grilo-players.c
diff --git a/src/dummy/dummy-publisher.vala b/src/dummy/dummy-publisher.vala
index 95fdb71f..0ddb432a 100644
--- a/src/dummy/dummy-publisher.vala
+++ b/src/dummy/dummy-publisher.vala
@@ -2,6 +2,6 @@
 
 public class Games.DummyPublisher : Object, Publisher {
        public string get_publisher () {
-               return _("Publisher not available.");
+               return "";
        }
 }


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