Added the ability to expand variables in translations

This commit is contained in:
2024-09-18 23:04:31 +05:00
parent 61d0c4d88f
commit ae69564ff5
5 changed files with 63 additions and 47 deletions

View File

@ -7,13 +7,13 @@
msgid ""
msgstr "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-18 01:14+0500\n"
"POT-Creation-Date: 2024-09-18 22:54+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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "A running PortProton session was detected.\\nDo you want to end the "
@ -1245,12 +1245,11 @@ msgstr ""
msgid "Change settings gamescope for"
msgstr ""
msgid "Gamescope is not detected on the system, to install it, run the "
#, sh-format
msgid "<b>Gamescope is not detected on the system, to install it, run the "
"command in the terminal:\\nflatpak install -y runtime/org."
"freedesktop.Platform.VulkanLayer.gamescope/x86_64/"
msgstr ""
msgid "(Can be selected and copied)"
"${GAMESCOPE_VERSION}\\n(Can be selected and copied)</b>"
msgstr ""
msgid "<b>Gamescope is not detected on the system, please contact the "
@ -1552,7 +1551,8 @@ msgstr ""
msgid "scripts"
msgstr ""
msgid "Copyright"
#, sh-format
msgid "Copyright © $DATE Castro-Fidel (linux-gaming.ru)"
msgstr ""
msgid "This program comes with absolutely no warranty.\n"
@ -1567,7 +1567,10 @@ msgstr ""
msgid "MIT License"
msgstr ""
msgid "Permission is hereby granted, free of charge, to any person "
#, sh-format
msgid "Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
"\n"
"Permission is hereby granted, free of charge, to any person "
"obtaining a copy\n"
"of this software and associated documentation files (the "
"\"Software\"), to deal\n"