瀏覽代碼

main: reword inhibit reason

liushuyu 4 年之前
父節點
當前提交
14fc1bec17
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/yuzu/main.cpp

+ 3 - 2
src/yuzu/main.cpp

@@ -1250,9 +1250,10 @@ static std::optional<QDBusObjectPath> HoldWakeLockLinux(u32 window_id = 0) {
         return {};
     }
     QVariantMap options = {};
-    //: TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping
+    //: TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the
+    //: computer from sleeping
     options.insert(QString::fromLatin1("reason"),
-                   QCoreApplication::translate("GMainWindow", "yuzu is emulating a game"));
+                   QCoreApplication::translate("GMainWindow", "yuzu is running a game"));
     // 0x4: Suspend lock; 0x8: Idle lock
     QDBusReply<QDBusObjectPath> reply =
         xdp.call(QString::fromLatin1("Inhibit"),