[office/tellico] /: Title the game collection more accurately as "Video Games"

Robby Stephenson null at kde.org
Sat Sep 23 03:17:33 BST 2023


Git commit d6401167991b1b3a2c06e20505bf9875861d0598 by Robby Stephenson.
Committed on 23/09/2023 at 04:16.
Pushed by rstephenson into branch 'master'.

Title the game collection more accurately as "Video Games"

BUG: 472709
FIXED-IN: 4.0

M  +1    -1    doc/details.docbook
M  +1    -1    src/collectionfactory.cpp
M  +1    -1    src/collections/gamecollection.cpp
M  +2    -2    src/mainwindow.cpp

https://invent.kde.org/office/tellico/-/commit/d6401167991b1b3a2c06e20505bf9875861d0598

diff --git a/doc/details.docbook b/doc/details.docbook
index 6d5fb2010..772174715 100644
--- a/doc/details.docbook
+++ b/doc/details.docbook
@@ -383,7 +383,7 @@ Music collections have 15 default fields:
 </sect2>
 
 <sect2 id="game-collection">
-<title>Game Collections</title>
+<title>Video Game Collections</title>
 <para>
 Video game collections have 16 default fields:
 <emphasis>Title</emphasis>,
diff --git a/src/collectionfactory.cpp b/src/collectionfactory.cpp
index 6a571c006..fe5abd0e0 100644
--- a/src/collectionfactory.cpp
+++ b/src/collectionfactory.cpp
@@ -91,7 +91,7 @@ Tellico::CollectionNameHash CollectionFactory::nameHash() {
   hash[Data::Collection::Stamp]       = i18n("Stamp Collection");
   hash[Data::Collection::Wine]        = i18n("Wine Collection");
   hash[Data::Collection::Card]        = i18n("Card Collection");
-  hash[Data::Collection::Game]        = i18n("Game Collection");
+  hash[Data::Collection::Game]        = i18n("Video Game Collection");
   hash[Data::Collection::File]        = i18n("File Catalog");
   hash[Data::Collection::BoardGame]   = i18n("Board Game Collection");
   hash[Data::Collection::Base]        = i18n("Custom Collection");
diff --git a/src/collections/gamecollection.cpp b/src/collections/gamecollection.cpp
index 7f4637f41..f7fdcec2d 100644
--- a/src/collections/gamecollection.cpp
+++ b/src/collections/gamecollection.cpp
@@ -36,7 +36,7 @@ namespace {
 using Tellico::Data::GameCollection;
 
 GameCollection::GameCollection(bool addDefaultFields_, const QString& title_)
-   : Collection(title_.isEmpty() ? i18n("My Games") : title_) {
+   : Collection(title_.isEmpty() ? i18n("My Video Games") : title_) {
   setDefaultGroupField(QStringLiteral("platform"));
   if(addDefaultFields_) {
     addFields(defaultFields());
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 72f7f8253..1c2fd1c5f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -299,8 +299,8 @@ void MainWindow::initActions() {
   COLL_ACTION(Wine, "new_wine_collection", i18n("New &Wine Collection"),
               i18n("Create a new wine collection"), "wine");
 
-  COLL_ACTION(Game, "new_game_collection", i18n("New &Game Collection"),
-              i18n("Create a new game collection"), "game");
+  COLL_ACTION(Game, "new_game_collection", i18n("New Video &Game Collection"),
+              i18n("Create a new video game collection"), "game");
 
   COLL_ACTION(BoardGame, "new_boardgame_collection", i18n("New Boa&rd Game Collection"),
               i18n("Create a new board game collection"), "boardgame");


More information about the kde-doc-english mailing list