diff --git a/po/pt_br.po b/po/pt_BR.po similarity index 100% rename from po/pt_br.po rename to po/pt_BR.po diff --git a/po/ru.po b/po/ru.po index 0483557..4314330 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,6 @@ msgid "Update Failed" msgstr "Ошибка обновления" #: update_station/dialog.py:37 -#, fuzzy msgid "" "Press \"Detail\" to get information about the failure.\n" " Get help at https://forums.ghostbsd.org or ." @@ -104,8 +103,8 @@ msgid "" "If you see this message it means that something is wrong.\n" " Please look at pkg upgrade output." msgstr "" -"Если вы видете это сообщение, значит, что-то пошло не так.\n" -"Пожалуйста, посмотрите на вывод о результах этого обновления\n" +"Если вы видите это сообщение, значит, что-то пошло не так.\n" +"Пожалуйста, посмотрите на вывод о результатах этого обновления\n" "с помощью утилиты pkg." #: update_station/dialog.py:301 @@ -133,29 +132,24 @@ msgid "Updates available!" msgstr "Доступны обновления!" #: update_station/frontend.py:171 -#, fuzzy msgid "Installed packages to be upgraded:" -msgstr "Ранее установленные пакеты будут УДАЛЕНЫ:" +msgstr "Ранее установленные пакеты будут обновлены:" #: update_station/frontend.py:177 -#, fuzzy msgid "Installed packages to be downgraded:" -msgstr "Ранее установленные пакеты будут УДАЛЕНЫ:" +msgstr "Ранее установленные пакеты будут откатаны на предыдущую версию:" #: update_station/frontend.py:183 -#, fuzzy msgid "New packages to be installed:" -msgstr "Новые пакеты будут УСТАНОВЛЕНЫ:" +msgstr "Новые пакеты будут установлены:" #: update_station/frontend.py:189 -#, fuzzy msgid "Installed packages to be reinstalled:" -msgstr "Ранее установленные пакеты будут УДАЛЕНЫ:" +msgstr "Ранее установленные пакеты будут переустановлены:" #: update_station/frontend.py:195 -#, fuzzy msgid "Installed packages to be removed:" -msgstr "Ранее установленные пакеты будут УДАЛЕНЫ:" +msgstr "Ранее установленные пакеты будут удалены:" #: update_station/frontend.py:234 msgid "Installing Update" @@ -170,17 +164,14 @@ msgid "Creating boot environment" msgstr "Создание загрузочной среды" #: update_station/frontend.py:292 update_station/frontend.py:319 -#, fuzzy msgid "Fetching package updates" msgstr "Проверка обновлений" #: update_station/frontend.py:345 -#, fuzzy msgid "Package updates downloaded" msgstr "Обновления загружены" #: update_station/frontend.py:348 -#, fuzzy msgid "Installing package updates" msgstr "Установка обновлений" @@ -190,10 +181,9 @@ msgstr "Переустановка" #: update_station/frontend.py:407 msgid "completed" -msgstr "Завершена" +msgstr "завершено" #: update_station/frontend.py:419 -#, fuzzy msgid "Software packages upgrade completed" msgstr "Обновления загружены" @@ -215,7 +205,7 @@ msgstr "Зеркало синхронизируется" #: update_station/frontend.py:526 msgid "Updates are already running" -msgstr "Ообновления уже запущены" +msgstr "Обновления уже запущены" #: update_station/frontend.py:530 msgid "Checking for updates" @@ -262,33 +252,11 @@ msgid "Major version upgrade" msgstr "Обновление основной версии" #: update_station/notification.py:138 -#, fuzzy msgid "" "\n" "\n" "If you select No, the upgrade will be skipped until the next boot." msgstr "" -"Вы действительно хотите обновиться с {Data.current_abi} на {Data.new_abi}?\n" +"\n" "\n" "Если Вы виберете Нет, то обновлние будет пропущено до следующей перезагрузки." - -#~ msgid "Installed packages to be UPGRADED" -#~ msgstr "Ранее установленные пакеты будут ОБНОВЛЕНЫ:" - -#~ msgid "Installed packages to be REINSTALLED:" -#~ msgstr "Ранее установленные пакеты будут ПЕРЕУСТАНОВЛЕНЫ:" - -#, fuzzy -#~ msgid "Downloading packages to upgrade" -#~ msgstr "Установка обновлений" - -#, fuzzy -#~ msgid "Packages depending on kernel downloaded" -#~ msgstr "Обновления загружены" - -#, fuzzy -#~ msgid "Reinstalling packages depending on kernel" -#~ msgstr "Установка обновлений" - -#~ msgid "OK" -#~ msgstr "ОК" diff --git a/po/zh_CN.po b/po/zh_CN.po new file mode 100644 index 0000000..ff37815 --- /dev/null +++ b/po/zh_CN.po @@ -0,0 +1,251 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-02-26 18:54-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: update_station/dialog.py:31 +msgid "Update Failed" +msgstr "" + +#: update_station/dialog.py:37 +msgid "" +"Press \"Detail\" to get information about the failure.\n" +" Get help at https://forums.ghostbsd.org or ." +msgstr "" + +#: update_station/dialog.py:46 +msgid "Detail" +msgstr "" + +#: update_station/dialog.py:48 update_station/dialog.py:114 +#: update_station/dialog.py:148 update_station/dialog.py:181 +#: update_station/dialog.py:215 update_station/dialog.py:249 +#: update_station/dialog.py:285 update_station/dialog.py:313 +#: update_station/frontend.py:104 update_station/notification.py:87 +msgid "Close" +msgstr "" + +#: update_station/dialog.py:68 update_station/dialog.py:102 +msgid "Update Completed" +msgstr "" + +#: update_station/dialog.py:73 +msgid "The computer needs to restart to run on the updated software." +msgstr "" + +#: update_station/dialog.py:81 +msgid "Restart Now" +msgstr "" + +#: update_station/dialog.py:83 +msgid "Restart Later" +msgstr "" + +#: update_station/dialog.py:107 +msgid "All software on this system is up to date." +msgstr "" + +#: update_station/dialog.py:133 +msgid "No Update Available" +msgstr "" + +#: update_station/dialog.py:141 +msgid "No update available. This system is up to date." +msgstr "" + +#: update_station/dialog.py:167 +msgid "Update Station already started" +msgstr "" + +#: update_station/dialog.py:175 +msgid "Update Station already open." +msgstr "" + +#: update_station/dialog.py:200 update_station/dialog.py:234 +msgid "Server Unreachable" +msgstr "" + +#: update_station/dialog.py:208 +msgid "Packages mirrors are syncing with new packages" +msgstr "" + +#: update_station/dialog.py:242 +msgid "" +"The server is unreachable. Your internet could\n" +"be down or software package server is down." +msgstr "" + +#: update_station/dialog.py:268 +msgid "Something Is Wrong" +msgstr "" + +#: update_station/dialog.py:277 +msgid "" +"If you see this message it means that something is wrong.\n" +" Please look at pkg upgrade output." +msgstr "" + +#: update_station/dialog.py:301 +msgid "Software Station" +msgstr "" + +#: update_station/dialog.py:307 +msgid "You need to be root" +msgstr "" + +#: update_station/frontend.py:91 +msgid "Create boot environment backup" +msgstr "" + +#: update_station/frontend.py:108 +msgid "Install update" +msgstr "" + +#: update_station/frontend.py:121 +msgid "Update Manager" +msgstr "" + +#: update_station/frontend.py:133 +msgid "Updates available!" +msgstr "" + +#: update_station/frontend.py:171 +msgid "Installed packages to be upgraded:" +msgstr "" + +#: update_station/frontend.py:177 +msgid "Installed packages to be downgraded:" +msgstr "" + +#: update_station/frontend.py:183 +msgid "New packages to be installed:" +msgstr "" + +#: update_station/frontend.py:189 +msgid "Installed packages to be reinstalled:" +msgstr "" + +#: update_station/frontend.py:195 +msgid "Installed packages to be removed:" +msgstr "" + +#: update_station/frontend.py:234 +msgid "Installing Update" +msgstr "" + +#: update_station/frontend.py:280 +msgid "Cleaning old boot environment" +msgstr "" + +#: update_station/frontend.py:286 +msgid "Creating boot environment" +msgstr "" + +#: update_station/frontend.py:292 update_station/frontend.py:319 +msgid "Fetching package updates" +msgstr "" + +#: update_station/frontend.py:345 +msgid "Package updates downloaded" +msgstr "" + +#: update_station/frontend.py:348 +msgid "Installing package updates" +msgstr "" + +#: update_station/frontend.py:405 +msgid "Reinstalling" +msgstr "" + +#: update_station/frontend.py:407 +msgid "completed" +msgstr "" + +#: update_station/frontend.py:419 +msgid "Software packages upgrade completed" +msgstr "" + +#: update_station/frontend.py:474 +msgid "Looking For Updates" +msgstr "" + +#: update_station/frontend.py:513 +msgid "Checking if the repository is online" +msgstr "" + +#: update_station/frontend.py:517 +msgid "The repository is online" +msgstr "" + +#: update_station/frontend.py:521 +msgid "The mirror is Syncing" +msgstr "" + +#: update_station/frontend.py:526 +msgid "Updates are already running" +msgstr "" + +#: update_station/frontend.py:530 +msgid "Checking for updates" +msgstr "" + +#: update_station/frontend.py:534 +msgid "Getting the list of packages" +msgstr "" + +#: update_station/frontend.py:538 +msgid "Open the update window" +msgstr "" + +#: update_station/frontend.py:542 +msgid "No update found" +msgstr "" + +#: update_station/frontend.py:548 +msgid "The Mirror is unreachable" +msgstr "" + +#: update_station/notification.py:25 +msgid "Software updates are now available." +msgstr "" + +#: update_station/notification.py:33 +msgid "Major system version upgrade is now available." +msgstr "" + +#: update_station/notification.py:35 +msgid "System and software updates are now available." +msgstr "" + +#: update_station/notification.py:37 +msgid "Update Available" +msgstr "" + +#: update_station/notification.py:85 +msgid "Open Update" +msgstr "" + +#: update_station/notification.py:130 +msgid "Major version upgrade" +msgstr "" + +#: update_station/notification.py:138 +msgid "" +"\n" +"\n" +"If you select No, the upgrade will be skipped until the next boot." +msgstr "" diff --git a/update_translations.sh b/update_translations.sh index fb35ed9..1723c84 100755 --- a/update_translations.sh +++ b/update_translations.sh @@ -1,8 +1,12 @@ #!/usr/bin/env sh -cp -f src/update-station src/update-station.py +cp -f update-station update-station.py -xgettext src/update-station.py -o src/locale/update-station.pot -msgmerge -U src/locale/ru/update-station.po src/locale/update-station.pot +xgettext update-station.py -o pot/update-station.pot -rm src/update-station.py +msgmerge -U po/zh_CN.po po/update-station.pot +msgmerge -U po/fr.po po/update-station.pot +msgmerge -U po/pt_BR.po po/update-station.pot +msgmerge -U po/ru.po po/update-station.pot + +rm update-station.py