Update credits
This commit is contained in:
parent
e7e48de98e
commit
8679600ec3
File diff suppressed because it is too large
Load Diff
@ -3,139 +3,21 @@
|
|||||||
########################################################################
|
########################################################################
|
||||||
# grep ';subscription;' stat-subscriptions.csv | awk -F';' '{print $1}' | sort -u | sed "s/\"//g" > thanks
|
# grep ';subscription;' stat-subscriptions.csv | awk -F';' '{print $1}' | sort -u | sed "s/\"//g" > thanks
|
||||||
########################################################################
|
########################################################################
|
||||||
if [[ "$LANGUAGE" == "ru" ]]
|
KEY_CREDITS=$RANDOM
|
||||||
then
|
DATE=$(date +'%Y')
|
||||||
KEY_CREDITS=$RANDOM
|
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=1 --show-uri \
|
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=1 --show-uri --scroll \
|
||||||
--image-path="$PW_GUI_ICON_PATH" --image="port_proton" --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
--text-align=center --text="$(eval_gettext "PortProton v. \${install_ver}
|
||||||
--text-align=center --scroll --text="PortProton v. ${install_ver}
|
scripts v. \${scripts_install_ver}")" --text-info <<< "$(eval_gettext "https://linux-gaming.ru
|
||||||
scripts v. ${scripts_install_ver}
|
|
||||||
|
|
||||||
https://linux-gaming.ru
|
Copyright © \$DATE Castro-Fidel (linux-gaming.ru)
|
||||||
|
|
||||||
Авторские права © $(date +'%Y') Castro-Fidel (linux-gaming.ru)
|
|
||||||
|
|
||||||
Эта программа поставляется без каких-либо гарантий.
|
|
||||||
Подробнее см. в Лицензия." 2>/dev/null &
|
|
||||||
|
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=2 \
|
|
||||||
--text-align=center --scroll --text="Автор: Casro-Fidel (Михаил Тергоев)
|
|
||||||
|
|
||||||
Помощники разработчика и тестировщики:
|
|
||||||
Xpamych
|
|
||||||
Htylol
|
|
||||||
Boria138
|
|
||||||
Vano Majukin
|
|
||||||
Eljeyna
|
|
||||||
SDR
|
|
||||||
Мэлс
|
|
||||||
Cefeiko
|
|
||||||
Dezert1r
|
|
||||||
Taz_mania
|
|
||||||
Anton_Famillianov
|
|
||||||
RidBowt
|
|
||||||
chal55rus
|
|
||||||
UserDiscord
|
|
||||||
Survolog
|
|
||||||
gavr
|
|
||||||
RusNor
|
|
||||||
aldiserg
|
|
||||||
an9949an
|
|
||||||
andrey4korop
|
|
||||||
zorn
|
|
||||||
Сергей 33(46)RUS
|
|
||||||
WelchDragon
|
|
||||||
Vuursteen
|
|
||||||
Akai
|
|
||||||
" 2>/dev/null &
|
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=3 --text-info --scroll <<< " Лицензия Массачусетского технологического института (MIT License)
|
|
||||||
|
|
||||||
Авторские права © $(date +'%Y') Castro-Fidel (linux-gaming.ru)
|
|
||||||
|
|
||||||
Настоящим предоставляется бесплатное разрешение любому лицу, получившему копию данного
|
|
||||||
программного обеспечения и связанных с ним файлов документации (Программное
|
|
||||||
обеспечение), для в Программном обеспечении без ограничений, включая, помимо прочего,
|
|
||||||
права использовать, копировать, изменять, объединять, публиковать, распространять,
|
|
||||||
сублицензировать и/или продавать копий Программного обеспечения, а также разрешить
|
|
||||||
лицам, которым Программное обеспечение предоставляется для этого при соблюдении
|
|
||||||
следующих условий:
|
|
||||||
|
|
||||||
Вышеприведенное уведомление об авторских правах и это уведомление о разрешении должны
|
|
||||||
быть включены во все копии или существенные части Программного обеспечения.
|
|
||||||
|
|
||||||
ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ ПРЕДОСТАВЛЯЕТСЯ (КАК ЕСТЬ), БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ, ЯВНЫХ ИЛИ
|
|
||||||
ПОДРАЗУМЕВАЕТСЯ, ВКЛЮЧАЯ, ПОМИМО ПРОЧЕГО, ГАРАНТИИ КОММЕРЧЕСКОЙ ЦЕННОСТИ,
|
|
||||||
ПРИГОДНОСТЬ ДЛЯ ОПРЕДЕЛЕННОЙ ЦЕЛИ И НЕНАРУШЕНИЕ ПРАВ. НИ ПРИ КАКИХ ОБСТОЯТЕЛЬСТВАХ
|
|
||||||
АВТОРЫ ИЛИ ВЛАДЕЛЕЦ АВТОРСКИХ ПРАВ НЕСУТ ОТВЕТСТВЕННОСТЬ ЗА ЛЮБЫЕ ПРЕТЕНЗИИ, УЩЕРБ ИЛИ
|
|
||||||
ДРУГОЕ. ОТВЕТСТВЕННОСТЬ, БУДУЩАЯ ПО ДОГОВОРУ, ДЕЛИКТУ ИЛИ ИНЫМ ОБРАЗОМ, ВОЗНИКАЮЩАЯ ИЗ
|
|
||||||
ВНЕ ИЛИ В СВЯЗИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ СДЕЛКАМИ В
|
|
||||||
ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ." 2>/dev/null &
|
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=4 \
|
|
||||||
--text-info --fontname="Serif bold italic 12" --show-uri --scroll \
|
|
||||||
<<< " Проект поддержали:
|
|
||||||
https://boosty.to/portwine-linux.ru
|
|
||||||
|
|
||||||
$(cat ${PORT_WINE_PATH}/data/scripts/thanks)
|
|
||||||
|
|
||||||
Список будет дополняться...
|
|
||||||
" 2>/dev/null &
|
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=5 --text="Хотите присоединится и помочь в развитии проекта:" \
|
|
||||||
--title=JOIN --window-icon=group --image=system-config-users --uri-color=red --show-uri \
|
|
||||||
--text-info --scroll <<< \
|
|
||||||
"Website: https://linux-gaming.ru/
|
|
||||||
Discord: http://discord.gg/yJSEFjF
|
|
||||||
VK: https://vk.com/linuxgamingru
|
|
||||||
-------------------------------------------
|
|
||||||
Стать платным подписчиком:
|
|
||||||
boosty: https://boosty.to/portwine-linux.ru
|
|
||||||
Yandex кошелек: 410012267513818
|
|
||||||
-------------------------------------------" 2>/dev/null &
|
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=6 --show-uri --title="THIRD PARTY LIBRARIES" \
|
|
||||||
--fontname="Serif bold italic 10" --text-info <<< " Сторонние библиотеки, которые используются в PortProton
|
|
||||||
|
|
||||||
PortProton собран на основе бесплатных библиотек программного обеспечения:
|
|
||||||
|
|
||||||
WINE-PROTON: https://github.com/ValveSoftware/Proton
|
|
||||||
WINE-PROTON-GE: https://github.com/GloriousEggroll/proton-ge-custom/
|
|
||||||
Kron4ek/Wine: https://github.com/Kron4ek/Wine-Builds
|
|
||||||
YAD: https://github.com/v1cont/yad
|
|
||||||
DGVOODOO2: https://dege.fw.hu/" 2>/dev/null &
|
|
||||||
|
|
||||||
"${pw_yad}" --title "О НАС" --key="${KEY_CREDITS}" --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
|
||||||
--notebook --no-buttons --tab-pos=bottom --expand \
|
|
||||||
--tab="О PORTPROTON" --tab="АВТОРЫ" --tab="ЛИЦЕНЗИЯ" --tab="СПОНСОРЫ" --tab="ПРИСОЕДИНИТЬСЯ" \
|
|
||||||
--tab="БИБЛИОТЕКИ"
|
|
||||||
echo "Exit from credits"
|
|
||||||
/usr/bin/env bash -c ${pw_full_command_line[*]} &
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
KEY_CREDITS=$RANDOM
|
|
||||||
|
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=1 --show-uri \
|
|
||||||
--image-path="$PW_GUI_ICON_PATH" --image="port_proton" \
|
|
||||||
--text-align=center --scroll --text="PortProton v. ${install_ver}
|
|
||||||
scripts v. ${scripts_install_ver}
|
|
||||||
|
|
||||||
|
|
||||||
https://linux-gaming.ru
|
|
||||||
|
|
||||||
Copyright © 2024 Castro-Fidel (linux-gaming.ru)
|
|
||||||
|
|
||||||
This program comes with absolutely no warranty.
|
This program comes with absolutely no warranty.
|
||||||
See the License for details." 2>/dev/null &
|
See the License for details.
|
||||||
|
")" 2>/dev/null &
|
||||||
|
|
||||||
|
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=2 --scroll \
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=2 \
|
--text-info <<< "$(gettext "Author: Casro-Fidel (Mikhail Tergoev)
|
||||||
--text-align=center --scroll --text="Author: Casro-Fidel (Mikhail Tergoev)
|
|
||||||
|
|
||||||
Developer assistants and testers:
|
Developer assistants and testers:
|
||||||
Xpamych
|
Xpamych
|
||||||
@ -163,14 +45,14 @@ zorn
|
|||||||
WelchDragon
|
WelchDragon
|
||||||
Vuursteen
|
Vuursteen
|
||||||
Akai
|
Akai
|
||||||
" 2>/dev/null &
|
")" 2>/dev/null &
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=3 --text-info --scroll <<< "MIT License
|
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=3 --text-info --scroll <<< "$(eval_gettext "MIT License
|
||||||
|
|
||||||
Copyright (©) 2024 Castro-Fidel (linux-gaming.ru)
|
Copyright © \$DATE Castro-Fidel (linux-gaming.ru)
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the \"Software\"), to deal
|
||||||
in the Software without restriction, including without limitation the rights
|
in the Software without restriction, including without limitation the rights
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
@ -185,32 +67,33 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE." 2>/dev/null &
|
SOFTWARE.
|
||||||
|
")" 2>/dev/null &
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=4 \
|
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=4 \
|
||||||
--text-info --fontname="Serif bold italic 12" --show-uri --scroll \
|
--text-info --fontname="Serif bold italic 12" --show-uri --scroll \
|
||||||
<<< " The project was supported:
|
<<< "$(gettext "The project was supported:
|
||||||
https://boosty.to/portwine-linux.ru:
|
https://boosty.to/portwine-linux.ru:")
|
||||||
|
|
||||||
$(cat ${PORT_WINE_PATH}/data/scripts/thanks)
|
$(cat "${PORT_WINE_PATH}"/data/scripts/thanks)
|
||||||
|
|
||||||
The list will be updated...
|
$(gettext "The list will be updated...
|
||||||
" 2>/dev/null &
|
")" 2>/dev/null &
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=5 --text="Do you want to join and help in the development of the project:" \
|
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=5 \
|
||||||
--title=JOIN --window-icon=group --image=system-config-users --uri-color=red --show-uri \
|
--text="$(gettext "Do you want to join and help in the development of the project:")" \
|
||||||
--text-info --scroll <<< \
|
--image-path="$PW_GUI_ICON_PATH" --image="port_proton" \
|
||||||
"Website: http://linux-gaming.ru
|
--uri-color=red --show-uri --text-info --scroll <<< "$(gettext "Website: http://linux-gaming.ru
|
||||||
Discord: http://discord.gg/yJSEFjF
|
Discord: http://discord.gg/yJSEFjF
|
||||||
VK: https://vk.com/linuxgamingru
|
VK: https://vk.com/linuxgamingru
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
Become a paid subscriber:
|
Become a paid subscriber:
|
||||||
boosty: https://boosty.to/portwine-linux.ru
|
boosty: https://boosty.to/portwine-linux.ru
|
||||||
Yandex wallet: 410012267513818
|
Yandex wallet: 410012267513818
|
||||||
-------------------------------------------" 2>/dev/null &
|
-------------------------------------------")" 2>/dev/null &
|
||||||
|
|
||||||
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=6 --show-uri --title="THIRD PARTY LIBRARIES" \
|
"${pw_yad}" --plug="${KEY_CREDITS}" --tabnum=6 --show-uri --title="THIRD PARTY LIBRARIES" --fontname="Serif bold italic 10" \
|
||||||
--fontname="Serif bold italic 10" --text-info <<< " Third-party libraries that are used in PortProton
|
--text-info <<< "$(gettext " Third-party libraries that are used in PortProton
|
||||||
|
|
||||||
PortProton is built on the basis of the following free software libraries:
|
PortProton is built on the basis of the following free software libraries:
|
||||||
|
|
||||||
@ -218,15 +101,14 @@ WINE-PROTON: https://github.com/ValveSoftware/Proton
|
|||||||
WINE-PROTON-GE: https://github.com/GloriousEggroll/proton-ge-custom/
|
WINE-PROTON-GE: https://github.com/GloriousEggroll/proton-ge-custom/
|
||||||
Kron4ek/Wine: https://github.com/Kron4ek/Wine-Builds
|
Kron4ek/Wine: https://github.com/Kron4ek/Wine-Builds
|
||||||
YAD: https://github.com/v1cont/yad
|
YAD: https://github.com/v1cont/yad
|
||||||
DGVOODOO2: https://dege.fw.hu/" 2>/dev/null &
|
DGVOODOO2: https://dege.fw.hu/"
|
||||||
|
)" 2>/dev/null &
|
||||||
|
|
||||||
|
"${pw_yad}" --title "$(gettext "ABOUT US")" --key="${KEY_CREDITS}" --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||||
|
--notebook --no-buttons --tab-pos=bottom --expand --width=1000 --height=400 \
|
||||||
|
--tab="$(gettext "ABOUT PORTPROTON")" --tab="$(gettext "AUTORS")" --tab="$(gettext "LICENSE")" \
|
||||||
|
--tab="$(gettext "SPONSORS")" --tab="$(gettext "JOIN")" --tab="$(gettext "THIRD PARTY LIBRARIES")"
|
||||||
|
|
||||||
"${pw_yad}" --title "ABOUT US" --key="${KEY_CREDITS}" ---window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
echo "Exit from credits"
|
||||||
--notebook --no-buttons --tab-pos=bottom --expand \
|
/usr/bin/env bash -c "${pw_full_command_line[*]}" &
|
||||||
--tab="ABOUT PORTPROTON" --tab="AUTORS" --tab="LICENSE" --tab="SPONSORS" --tab="JOIN" \
|
exit 0
|
||||||
--tab="THIRD PARTY LIBRARIES"
|
|
||||||
|
|
||||||
echo "Exit from credits"
|
|
||||||
/usr/bin/env bash -c ${pw_full_command_line[*]} &
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
@ -99,11 +99,14 @@ generate_pot () {
|
|||||||
LANG_PO="${PORT_WINE_PATH}/data/locales/${lang}/LC_MESSAGES/PortProton.po"
|
LANG_PO="${PORT_WINE_PATH}/data/locales/${lang}/LC_MESSAGES/PortProton.po"
|
||||||
LANG_MO="${PORT_WINE_PATH}/data/locales/${lang}/LC_MESSAGES/PortProton.mo"
|
LANG_MO="${PORT_WINE_PATH}/data/locales/${lang}/LC_MESSAGES/PortProton.mo"
|
||||||
TEMPLATE_POT="${PORT_WINE_PATH}/data/locales/PortProton.pot"
|
TEMPLATE_POT="${PORT_WINE_PATH}/data/locales/PortProton.pot"
|
||||||
|
pushd "${PORT_WINE_PATH}" 1>/dev/null || fatal
|
||||||
xgettext --from-code=UTF-8 --language Shell -i \
|
xgettext --from-code=UTF-8 --language Shell -i \
|
||||||
"${PORT_WINE_PATH}/data/scripts/start.sh" \
|
"data/scripts/start.sh" \
|
||||||
"${PORT_WINE_PATH}/data/scripts/setup.sh" \
|
"data/scripts/setup.sh" \
|
||||||
"${PORT_WINE_PATH}/data/scripts/functions_helper" \
|
"data/scripts/functions_helper" \
|
||||||
|
"data/scripts/credits" \
|
||||||
-o "$TEMPLATE_POT"
|
-o "$TEMPLATE_POT"
|
||||||
|
popd 1>/dev/null || fatal
|
||||||
if [[ -f "$LANG_PO" ]] ; then
|
if [[ -f "$LANG_PO" ]] ; then
|
||||||
echo "update $LANG_PO file"
|
echo "update $LANG_PO file"
|
||||||
msgmerge --update "$LANG_PO" "$TEMPLATE_POT"
|
msgmerge --update "$LANG_PO" "$TEMPLATE_POT"
|
||||||
@ -116,6 +119,10 @@ generate_pot () {
|
|||||||
}
|
}
|
||||||
export -f generate_pot
|
export -f generate_pot
|
||||||
|
|
||||||
|
eval_gettext () {
|
||||||
|
gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")
|
||||||
|
}
|
||||||
|
|
||||||
try_copy_file () {
|
try_copy_file () {
|
||||||
if [[ ! -f "$1" ]] ; then print_info "file $1 not found for copy" && return 1
|
if [[ ! -f "$1" ]] ; then print_info "file $1 not found for copy" && return 1
|
||||||
elif [[ -z "$2" ]] ; then print_error "no way to copy file $1" && return 1
|
elif [[ -z "$2" ]] ; then print_error "no way to copy file $1" && return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user