[gnome-games/wip/exalm/metadata: 12/21] dummy-players: Return empty string



commit 01aaf576ce9710c9d5e904ad231ce64b45dac5da
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Oct 9 02:20:32 2018 +0500

    dummy-players: 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
    GriloPlayers.

 po/POTFILES.in               | 1 -
 po/POTFILES.skip             | 1 -
 src/dummy/dummy-players.vala | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e3cefc19..85a7a1b7 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-players.vala
 src/dummy/dummy-publisher.vala
 src/gameinfo/gameinfo-disc-id-disc-title.vala
 src/gameinfo/gameinfo-doc.vala
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index adafa76c..28dea578 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-players.c
 src/dummy/dummy-publisher.c
 src/gameinfo/gameinfo-disc-id-disc-title.c
 src/gameinfo/gameinfo-doc.c
diff --git a/src/dummy/dummy-players.vala b/src/dummy/dummy-players.vala
index d32e5db8..0f015d91 100644
--- a/src/dummy/dummy-players.vala
+++ b/src/dummy/dummy-players.vala
@@ -2,6 +2,6 @@
 
 public class Games.DummyPlayers : Object, Players {
        public string get_players () {
-               return _("Not available");
+               return "";
        }
 }


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