From a2fbc7edc8935d1bf7331a2cdecfa41b134e59de Mon Sep 17 00:00:00 2001 From: Marco Matos Date: Mon, 16 Mar 2026 02:08:26 -0300 Subject: [PATCH] i18n: add localization support for yes/no prompts and answers --- package/contents/tools/sh/management | 14 +++++---- package/contents/tools/sh/messages | 7 ++++- package/contents/tools/sh/mirrorlist | 11 ++++--- package/contents/tools/sh/upgrade | 24 ++++++-------- package/contents/tools/sh/utils | 47 +++++++++++++++------------- package/contents/tools/sh/widgets | 11 ++++--- package/translate/ReadMe.md | 28 ++++++++--------- package/translate/po/de.po | 14 ++++++++- package/translate/po/es.po | 14 ++++++++- package/translate/po/fr.po | 14 ++++++++- package/translate/po/ko.po | 14 ++++++++- package/translate/po/nl.po | 14 ++++++++- package/translate/po/pl.po | 14 ++++++++- package/translate/po/pt_BR.po | 14 ++++++++- package/translate/po/ru.po | 14 ++++++++- package/translate/po/tr.po | 14 ++++++++- package/translate/po/uk.po | 14 ++++++++- package/translate/po/zh_CN.po | 14 ++++++++- package/translate/po/zh_HK.po | 14 ++++++++- package/translate/po/zh_TW.po | 14 ++++++++- package/translate/template.pot | 14 ++++++++- 21 files changed, 258 insertions(+), 80 deletions(-) diff --git a/package/contents/tools/sh/management b/package/contents/tools/sh/management index 793939a..f71b9ff 100755 --- a/package/contents/tools/sh/management +++ b/package/contents/tools/sh/management @@ -385,11 +385,13 @@ rebuildPython() { printExec "$wrapper_sudo -S --rebuild" "$rebuild_packages" while true; do printQuestion "$MNG_RESUME"; read -r answer - case "$answer" in - [Yy]*) echo; break;; - [Nn]*|"") echo; pressReturn;; - *) ;; - esac + if [[ $answer =~ $YES_EXPR ]]; then + echo + break + elif [[ -z $answer || $answer =~ $NO_EXPR ]]; then + echo + pressReturn + fi done pacman -Qqo "$rebuild_dir" | pacman -Qqm - | $wrapper -S --rebuild - fi @@ -572,4 +574,4 @@ main # \e[H Move cursor to top-left # \e[;r Set the scroll region to its default value # stty -echo Hide user input -# stty echo Show user input \ No newline at end of file +# stty echo Show user input diff --git a/package/contents/tools/sh/messages b/package/contents/tools/sh/messages index 3d8539f..fe9e4b5 100644 --- a/package/contents/tools/sh/messages +++ b/package/contents/tools/sh/messages @@ -69,8 +69,13 @@ MNG_WARN = i18n("Review dependency warnings before removing") MNG_RESUME = i18n("Resume?") MNG_RETURN = i18n("Press Enter to return menu") MNG_CALC = i18n("Calculating...") - MNG_EXEC = i18n("Executed:") MNG_DONE = i18n("Nothing to do") + +UTILS_YES_NO = i18n("y/N") + +YES_EXPR = i18n("^[+1yY]") +NO_EXPR = i18n("^[-0nN]") + CMD_ERR = i18n("Required installed") NEWS_ERR = i18n("Cannot fetch news ") diff --git a/package/contents/tools/sh/mirrorlist b/package/contents/tools/sh/mirrorlist index 82a24c7..be19ec4 100755 --- a/package/contents/tools/sh/mirrorlist +++ b/package/contents/tools/sh/mirrorlist @@ -90,11 +90,12 @@ OUTDATED=false printImportant "$MIRROR_TIME" "$NORM_TIME" while true; do printQuestion "$MIRROR_REFRESH"; read -r answer - case "$answer" in - [Yy]*) echo; break;; - [Nn]*|"") (( MENU )) && { returnMenu; } || { echo; exit; };; - *) ;; - esac + if [[ $answer =~ $YES_EXPR ]]; then + echo + break + elif [[ -z $answer || $answer =~ $NO_EXPR ]]; then + (( MENU )) && { returnMenu; } || { echo; exit; } + fi done } diff --git a/package/contents/tools/sh/upgrade b/package/contents/tools/sh/upgrade index 329b7e4..bcd93f8 100755 --- a/package/contents/tools/sh/upgrade +++ b/package/contents/tools/sh/upgrade @@ -146,26 +146,22 @@ fullSystemUpgrade() { printImportant "$UPGRADE_CRITICAL" "${critical_updated[*]}" while true; do printQuestion "$UPGRADE_REBOOT"; read -r answer - case "$answer" in - [Yy]*) sys_reboot; exit;; - [Nn]*|"") break;; - *) ;; - esac + if [[ $answer =~ $YES_EXPR ]]; then + tput civis + printMsg "$UPGRADE_REBOOTING" + read -s -t 2 + qdbus6 org.kde.Shutdown /Shutdown logoutAndReboot + tput cnorm + exit + elif [[ -z $answer || $answer =~ $NO_EXPR ]]; then + break + fi done fi printClose } -sys_reboot() { - tput civis - printMsg "$UPGRADE_REBOOTING" - - read -s -t 2 - - qdbus6 org.kde.Shutdown /Shutdown logoutAndReboot -} - flatpak_package() { printMsg "$UPGRADE_PACKAGE: $2" echo diff --git a/package/contents/tools/sh/utils b/package/contents/tools/sh/utils index 3129056..c437be6 100755 --- a/package/contents/tools/sh/utils +++ b/package/contents/tools/sh/utils @@ -45,7 +45,7 @@ printImportant() { } printQuestion() { - echo -en "$(colorize yellow bold "$ICO_QUESTION $1") [y/N]: " + echo -en "$(colorize yellow bold "$ICO_QUESTION $1") [$UTILS_YES_NO]: " } printExec() { @@ -165,11 +165,11 @@ restartPlasmashell() { sleep 1 while true; do printQuestion "$WIDGETS_RESTART"; read -r answer - case "$answer" in - [Yy]*) break;; - [Nn]*|"") exit;; - *) ;; - esac + if [[ $answer =~ $YES_EXPR ]]; then + break + elif [[ -z $answer || $answer =~ $NO_EXPR ]]; then + exit + fi done eval ${restartCommand} else @@ -411,11 +411,14 @@ install_devel() { [[ $trayEnabledByDefault == "true" ]] && updateJson $metadata "$(jq '.KPlugin.EnabledByDefault = true' $metadata)" while true; do printQuestion "Do you want build translations?"; read -r answer - case "$answer" in - [Yy]*) cd translate; bash build; cd ..; break;; - [Nn]*|"") break;; - *) ;; - esac + if [[ $answer =~ $YES_EXPR ]]; then + cd translate + bash build + cd .. + break + elif [[ -z $answer || $answer =~ $NO_EXPR ]]; then + break + fi done echo tar --exclude=./apdatifier.tar -cf apdatifier.tar . @@ -439,11 +442,12 @@ install_stable() { while true; do printImportant "It looks like you already have the stable version." printQuestion "Do you still want to proceed?"; read -r answer - case "$answer" in - [Yy]*) break;; - [Nn]*|"") printClose; exit;; - *) ;; - esac + if [[ $answer =~ $YES_EXPR ]]; then + break + elif [[ -z $answer || $answer =~ $NO_EXPR ]]; then + printClose + exit + fi done fi @@ -466,11 +470,12 @@ uninstall() { while true; do printQuestion "Continue?"; read -r answer - case "$answer" in - [Yy]*) break;; - [Nn]*|"") printClose; exit;; - *) ;; - esac + if [[ $answer =~ $YES_EXPR ]]; then + break + elif [[ -z $answer || $answer =~ $NO_EXPR ]]; then + printClose + exit + fi done echo diff --git a/package/contents/tools/sh/widgets b/package/contents/tools/sh/widgets index bdb58af..6f18909 100755 --- a/package/contents/tools/sh/widgets +++ b/package/contents/tools/sh/widgets @@ -258,11 +258,12 @@ upgrade_all_packages() { if [[ $widgetConfirmation = true ]]; then while true; do printQuestion "$WIDGETS_PROCEED"; read -r answer - case "$answer" in - [Yy]*) echo; break;; - [Nn]*|"") return 0;; - *) ;; - esac + if [[ $answer =~ $YES_EXPR ]]; then + echo + break + elif [[ -z $answer || $answer =~ $NO_EXPR ]]; then + return 0 + fi done fi diff --git a/package/translate/ReadMe.md b/package/translate/ReadMe.md index a9fdf18..a66985a 100644 --- a/package/translate/ReadMe.md +++ b/package/translate/ReadMe.md @@ -21,17 +21,17 @@ Copy the [`template.pot`](template.pot) file to [`./po`](po) directory and name ## Status | Locale | Lines | % Done| |----------|---------|-------| -| Template | 315 | | -| de | 276/315 | 87% | -| es | 276/315 | 87% | -| fr | 310/315 | 98% | -| ko | 276/315 | 87% | -| nl | 276/315 | 87% | -| pl | 276/315 | 87% | -| pt_BR | 276/315 | 87% | -| ru | 314/315 | 99% | -| tr | 276/315 | 87% | -| uk | 276/315 | 87% | -| zh_CN | 310/315 | 98% | -| zh_HK | 310/315 | 98% | -| zh_TW | 310/315 | 98% | +| Template | 318 | | +| de | 279/318 | 87% | +| es | 279/318 | 87% | +| fr | 313/318 | 98% | +| ko | 279/318 | 87% | +| nl | 279/318 | 87% | +| pl | 279/318 | 87% | +| pt_BR | 279/318 | 87% | +| ru | 317/318 | 99% | +| tr | 279/318 | 87% | +| uk | 279/318 | 87% | +| zh_CN | 313/318 | 98% | +| zh_HK | 313/318 | 98% | +| zh_TW | 313/318 | 98% | diff --git a/package/translate/po/de.po b/package/translate/po/de.po index 3bb6b1b..5feee8b 100644 --- a/package/translate/po/de.po +++ b/package/translate/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2024-06-15 01:04+0200\n" "Last-Translator: Peter Boos \n" "Language-Team: German \n" @@ -321,6 +321,18 @@ msgstr "Ausgeführt:" msgid "Nothing to do" msgstr "Nichts zu tun" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "j/N" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1jJyY]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nN]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "Erforderlich installiert" diff --git a/package/translate/po/es.po b/package/translate/po/es.po index 93d2b45..936f4ca 100644 --- a/package/translate/po/es.po +++ b/package/translate/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2024-05-27 15:58-0600\n" "Last-Translator: RodvinSanchez\n" "Language-Team: Español\n" @@ -308,6 +308,18 @@ msgstr "Ejecutado:" msgid "Nothing to do" msgstr "Nada que hacer" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "s/N" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1sSyY]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nN]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "Requerido instalado" diff --git a/package/translate/po/fr.po b/package/translate/po/fr.po index 402037b..464f05c 100644 --- a/package/translate/po/fr.po +++ b/package/translate/po/fr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2024-06-02 20:39+0200\n" "Last-Translator: foXaCe\n" "Language-Team: \n" @@ -321,6 +321,18 @@ msgstr "Exécuté :" msgid "Nothing to do" msgstr "Rien à faire" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "o/N" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1oOyY]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nN]" + # Required installed #: ../contents/tools/sh/messages msgid "Required installed" diff --git a/package/translate/po/ko.po b/package/translate/po/ko.po index 8709e6a..c127445 100644 --- a/package/translate/po/ko.po +++ b/package/translate/po/ko.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2024-07-02 17:18+0900\n" "Last-Translator: \n" "Language-Team: \n" @@ -318,6 +318,18 @@ msgstr "실행됨:" msgid "Nothing to do" msgstr "할 일 없음" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "예/아" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1yYyY예]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nNnN아]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "설치에 필요" diff --git a/package/translate/po/nl.po b/package/translate/po/nl.po index f46685a..3a3ea4c 100644 --- a/package/translate/po/nl.po +++ b/package/translate/po/nl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2025-05-18 14:38+0200\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: \n" @@ -320,6 +320,18 @@ msgstr "Uitgevoerd:" msgid "Nothing to do" msgstr "Er valt niets te doen" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "j/N" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1jJyY]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nN]" + # Required installed #: ../contents/tools/sh/messages msgid "Required installed" diff --git a/package/translate/po/pl.po b/package/translate/po/pl.po index 5dc5335..087558a 100644 --- a/package/translate/po/pl.po +++ b/package/translate/po/pl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2025-08-16 00:48+0200\n" "Last-Translator: Rygorr Mortis \n" "Language-Team: Polish \n" @@ -310,6 +310,18 @@ msgstr "Wykonano:" msgid "Nothing to do" msgstr "Nic do zrobienia" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "t/N" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1TtYy]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nN]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "Wymagane do zainstalowania" diff --git a/package/translate/po/pt_BR.po b/package/translate/po/pt_BR.po index 61907ae..3c31449 100644 --- a/package/translate/po/pt_BR.po +++ b/package/translate/po/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2024-11-20 22:37-0300\n" "Last-Translator: João Victor Leal\n" "Language-Team: \n" @@ -320,6 +320,18 @@ msgstr "Executado:" msgid "Nothing to do" msgstr "Nada a fazer" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "s/N" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1SsyY]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nN]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "Requer instalado" diff --git a/package/translate/po/ru.po b/package/translate/po/ru.po index 1832705..a552399 100644 --- a/package/translate/po/ru.po +++ b/package/translate/po/ru.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2025-03-09 12:00+0300\n" "Last-Translator: Evgeniy Kazantsev \n" "Language-Team: \n" @@ -319,6 +319,18 @@ msgstr "Выполнено:" msgid "Nothing to do" msgstr "Нечего делать" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "д/Н" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1yYДд]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nNНн]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "Требуется установленная утилита" diff --git a/package/translate/po/tr.po b/package/translate/po/tr.po index 0a755fa..5f286f5 100644 --- a/package/translate/po/tr.po +++ b/package/translate/po/tr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2025-12-05 11:00+0300\n" "Last-Translator: Your Name \n" "Language-Team: Turkish \n" @@ -309,6 +309,18 @@ msgstr "Yürütüldü:" msgid "Nothing to do" msgstr "Yapılacak bir şey yok" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "e/H" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1yYeE]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nNhH]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "Gerekli kuruldu" diff --git a/package/translate/po/uk.po b/package/translate/po/uk.po index bc5217a..2069fca 100644 --- a/package/translate/po/uk.po +++ b/package/translate/po/uk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2025-11-14 21:00+0200\n" "Last-Translator: Yuriy Yasynskyy \n" "Language-Team: LANGUAGE \n" @@ -309,6 +309,18 @@ msgstr "Вконано:" msgid "Nothing to do" msgstr "Нічого робити" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "так/НІ" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^([+1Yy]|[Тт][Аа][Кк]?)$" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^([-0Nn]|[Нн][Іі])$" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "Потребує обов'язкового встановлення" diff --git a/package/translate/po/zh_CN.po b/package/translate/po/zh_CN.po index c6acb6a..e4f2bf0 100644 --- a/package/translate/po/zh_CN.po +++ b/package/translate/po/zh_CN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2026-03-01 13:18+0800\n" "Last-Translator: Shion \n" "Language-Team: \n" @@ -315,6 +315,18 @@ msgstr "执行:" msgid "Nothing to do" msgstr "无事可做" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "是/否" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1yYyY是]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nNnN不否]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "需要安装" diff --git a/package/translate/po/zh_HK.po b/package/translate/po/zh_HK.po index fe9ba27..2aca58a 100644 --- a/package/translate/po/zh_HK.po +++ b/package/translate/po/zh_HK.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2026-03-01 13:18+0800\n" "Last-Translator: Shion \n" "Language-Team: \n" @@ -315,6 +315,18 @@ msgstr "執行:" msgid "Nothing to do" msgstr "無事可做" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "是/否" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1yYyY是]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nNnN不否]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "需要安裝" diff --git a/package/translate/po/zh_TW.po b/package/translate/po/zh_TW.po index 29058c1..2a1b505 100644 --- a/package/translate/po/zh_TW.po +++ b/package/translate/po/zh_TW.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: 2026-03-01 13:18+0800\n" "Last-Translator: Shion \n" "Language-Team: \n" @@ -315,6 +315,18 @@ msgstr "執行:" msgid "Nothing to do" msgstr "無事可做" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "是/否" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "^[+1yYyY是]" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "^[-0nNnN不否]" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr "需要安裝" diff --git a/package/translate/template.pot b/package/translate/template.pot index 9f68ba9..3421b33 100644 --- a/package/translate/template.pot +++ b/package/translate/template.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: apdatifier\n" "Report-Msgid-Bugs-To: https://github.com/exequtic/apdatifier\n" -"POT-Creation-Date: 2026-03-15 14:56-0300\n" +"POT-Creation-Date: 2026-03-15 22:30-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -310,6 +310,18 @@ msgstr "" msgid "Nothing to do" msgstr "" +#: ../contents/tools/sh/messages +msgid "y/N" +msgstr "" + +#: ../contents/tools/sh/messages +msgid "^[+1yY]" +msgstr "" + +#: ../contents/tools/sh/messages +msgid "^[-0nN]" +msgstr "" + #: ../contents/tools/sh/messages msgid "Required installed" msgstr ""