i18n: add missing translatable entries about fsync

This commit is contained in:
SwimmingTiger 2020-06-19 21:22:45 +08:00 committed by Mathieu Comandon
parent 374fc97263
commit 0e6a3ccef1
3 changed files with 6 additions and 4 deletions

View file

@ -278,7 +278,7 @@ class wine(Runner):
"option":
"fsync",
"label":
"Enable Fsync",
_("Enable Fsync"),
"type":
"extended_bool",
"callback":
@ -287,7 +287,7 @@ class wine(Runner):
True,
"active":
True,
"help": (
"help": _(
"Enable futex-based synchronization (fsync). "
"This will increase performance in applications "
"that take advantage of multi-core processors. "

View file

@ -4,6 +4,7 @@ import os
import subprocess
from collections import OrderedDict
from functools import lru_cache
from gettext import gettext as _
# Lutris Modules
from lutris import runtime, settings
@ -368,10 +369,10 @@ def esync_display_limit_warning():
def fsync_display_support_warning():
ErrorDialog(
ErrorDialog(_(
"Your kernel is not patched for fsync."
" Please get a patched kernel to use fsync."
)
))
def esync_display_version_warning(on_launch=False):

View file

@ -84,3 +84,4 @@ lutris/services/xdg.py
lutris/settings.py
lutris/startup.py
lutris/sysoptions.py
lutris/util/wine/wine.py