From 3f04dc724ccbb423f932c2f2918dd03491a92fc7 Mon Sep 17 00:00:00 2001 From: SwimmingTiger Date: Sun, 29 Nov 2020 23:13:51 +0800 Subject: [PATCH] translate "Platform: %s" to zh_CN --- lutris/gui/widgets/game_bar.py | 2 +- po/zh_CN.po | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/lutris/gui/widgets/game_bar.py b/lutris/gui/widgets/game_bar.py index 9c8966113..df5a685f3 100644 --- a/lutris/gui/widgets/game_bar.py +++ b/lutris/gui/widgets/game_bar.py @@ -130,7 +130,7 @@ class GameBar(Gtk.Fixed): platform_label.set_alignment(0, 0.5) platform = gtk_safe(self.game.platform) platform_label.set_tooltip_markup(platform) - platform_label.set_markup("Platform:\n%s" % platform) + platform_label.set_markup(_("Platform:\n%s") % platform) platform_label.set_property("ellipsize", Pango.EllipsizeMode.END) return platform_label diff --git a/po/zh_CN.po b/po/zh_CN.po index e1405387a..e425ba633 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: lutris\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-11-29 11:37+0800\n" -"PO-Revision-Date: 2020-11-29 11:36+0800\n" +"POT-Creation-Date: 2020-11-29 23:12+0800\n" +"PO-Revision-Date: 2020-11-29 23:12+0800\n" "Last-Translator: SwimmingTiger\n" "Language-Team: \n" "Language: zh_CN\n" @@ -1172,6 +1172,15 @@ msgstr "下载中断" msgid "{downloaded:0.2f} / {size:0.2f}MB ({speed:0.2f}MB/s), {time} remaining" msgstr "{downloaded:0.2f} / {size:0.2f}MB ({speed:0.2f}MB/s), 剩余时间: {time}" +#: lutris/gui/widgets/game_bar.py:133 +#, python-format +msgid "" +"Platform:\n" +"%s" +msgstr "" +"平台:\n" +"%s" + #: lutris/gui/widgets/game_bar.py:140 #, python-format msgid ""