Commit f5616598 authored by Htylol's avatar Htylol

Fixed generate_pot after adding Numa node

parent a81fdc48
......@@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-21 21:55+0500\n"
"POT-Creation-Date: 2025-05-09 02:05+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -316,9 +316,6 @@ msgstr ""
msgid "UPDATING NOW"
msgstr ""
msgid "EXIT"
msgstr ""
msgid "Searching for .exe files... Please wait."
msgstr ""
......@@ -348,6 +345,9 @@ msgid "d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the "
"missing package: <b>d3dadapter9</b>"
msgstr ""
msgid "EXIT"
msgstr ""
msgid "You will need to check internet connection,and\\npress Repeat for "
"repeat download"
msgstr ""
......@@ -1404,7 +1404,118 @@ msgstr ""
msgid "classic"
msgstr ""
msgid "The shortcut will be changed in the PortProton directory."
msgid "light"
msgstr ""
msgid "dark"
msgstr ""
msgid "Show in hours and minutes"
msgstr ""
msgid "Show in days, hours, minutes"
msgstr ""
msgid "According to last launch"
msgstr ""
msgid "By time"
msgstr ""
msgid "GLOBAL SETTINGS (USER.CONF)"
msgstr ""
msgid "Change global settings"
msgstr ""
msgid "Change mirror to"
msgstr ""
msgid "Depending on which mirror is selected, updates will be downloaded "
"from there."
msgstr ""
msgid "Change branch to"
msgstr ""
msgid "Depending on the version of the scripts, PortProton will receive the "
"latest changes first (the DEVEL branch), the STABLE branch is "
"updated later and is stable."
msgstr ""
msgid "Change start gui to"
msgstr ""
msgid "When using PANED in the game start menu, additional buttons are "
"located on one large page; if NOTEBOOK, then they are divided into "
"several."
msgstr ""
msgid "Steam covers download"
msgstr ""
msgid "If downloading steam covers is enabled, they will be downloaded and "
"created. (Disablement is provided in cases where their downloading "
"is unavailable for some reason)"
msgstr ""
msgid "Choose a graphics card to run the game"
msgstr ""
msgid "Select which video card will be used to run the game (used for all "
"running games and programs in PortProton)"
msgstr ""
msgid "Force dpi"
msgstr ""
msgid "Here you can set forced dpi for applications wine"
msgstr ""
msgid "Choice wine audio driver"
msgstr ""
msgid "Fixes sound popling if choice alsa"
msgstr ""
msgid "Select PortProton theme"
msgstr ""
msgid "Allows you to select a theme for PortProton"
msgstr ""
msgid "Select gtk theme"
msgstr ""
msgid "Allows you to select a theme for GTK."
msgstr ""
msgid "Time display"
msgstr ""
msgid "Displays time spent in an application or game"
msgstr ""
msgid "Sort shortcuts by"
msgstr ""
msgid "This setting sorts the shortcuts in the main menu"
msgstr ""
msgid "Open the <b>user.conf</b> settings file in a system text editor to "
"view and change variables manually"
msgstr ""
msgid "Do you really want to reset settings for"
msgstr ""
msgid "Do you actually want to change the scripts version to:"
msgstr ""
msgid "Branch changed to:"
msgstr ""
msgid "The shortcut will be created in the PortProton directory."
msgstr ""
msgid "Name"
......@@ -1419,6 +1530,9 @@ msgstr ""
msgid "Add shortcut to STEAM library"
msgstr ""
msgid "The shortcut will be changed in the PortProton directory."
msgstr ""
msgid "REMOVE SHORTCUT"
msgstr ""
......
......@@ -204,6 +204,7 @@ generate_pot () {
FILES_FOR_GETTEXT=(functions_helper start.sh setup.sh add_in_steam.sh)
for i in "${FILES_FOR_GETTEXT[@]}" ; do
sed -e 's/{translations\[/(gettext \"/g' -e 's/]}/")/g' "${PORT_SCRIPTS_PATH}/$i" > "${PORT_SCRIPTS_PATH}/${i}_tmp"
sed -i '/\[\$/d' "${PORT_SCRIPTS_PATH}/${i}_tmp"
done
#Когда присходит предупреждение: синтаксис $"..." запрещен по соображениям безопасности; используйте eval_gettext
#и ругается на строку в которой нет перевода, можно использовать sed -i '//d' и убрать эту строку
......@@ -5314,7 +5315,7 @@ Binding a game to a single node reduces memory‑access latency and limits costl
PW_AMD_VULKAN_USE="${PW_ADD_SETTINGS[9]}"
NUMA_NODE_INDEX="${PW_ADD_SETTINGS[10]//[[:space:]]/}"
if [[ "$NUMA_NODE_INDEX" =~ ^[0-9]+$ ]] && [[ -v NODE_MAP[$NUMA_NODE_INDEX] ]]; then
if [[ $NUMA_NODE_INDEX =~ ^[0-9]+$ ]] && [[ -v NODE_MAP[$NUMA_NODE_INDEX] ]] ; then
NUMA_CORES="${NODE_MAP[$NUMA_NODE_INDEX]}"
PW_CPU_NUMA_NODE_INDEX="$NUMA_NODE_INDEX"
PW_TASKSET_SLR="taskset -c $NUMA_CORES"
......@@ -5324,7 +5325,7 @@ Binding a game to a single node reduces memory‑access latency and limits costl
fi
export PW_CPU_NUMA_NODE_INDEX PW_TASKSET_SLR
if [[ "${CPU_LIMIT}" =~ ^[0-9]+$ ]] ; then
if [[ $CPU_LIMIT =~ ^[0-9]+$ ]] ; then
PW_WINE_CPU_TOPOLOGY="${CPU_LIMIT}:$(seq -s, 0 $(( CPU_LIMIT - 1 )))"
else
PW_WINE_CPU_TOPOLOGY="disabled"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment