Ask before uninstallation (#32)
This commit is contained in:
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-03 13:42+0800\n"
|
||||
"POT-Creation-Date: 2024-12-14 15:39+0800\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"
|
||||
@ -17,283 +17,295 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: nezha/template.sh:35
|
||||
#: nezha/template.sh:39
|
||||
msgid ""
|
||||
"ERROR: sudo is not installed on the system, the action cannot be proceeded."
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:47
|
||||
#: nezha/template.sh:51
|
||||
msgid "Run '$*' failed."
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:57
|
||||
#: nezha/template.sh:61
|
||||
msgid "$dep not found, please install it first."
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:117
|
||||
#: nezha/template.sh:121
|
||||
msgid "Unknown architecture: $uname"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:130 nezha/template.sh:144
|
||||
#: nezha/template.sh:134 nezha/template.sh:148
|
||||
msgid "Docker image with nezha repository exists:"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:136 nezha/template.sh:150
|
||||
#: nezha/template.sh:140 nezha/template.sh:154
|
||||
msgid "No Docker images with the nezha repository were found."
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:163
|
||||
#: nezha/template.sh:167
|
||||
msgid "Select your installation method:"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:165
|
||||
#: nezha/template.sh:169
|
||||
msgid "2. Standalone"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:167
|
||||
#: nezha/template.sh:171
|
||||
msgid "Please enter [1-2]: "
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:179
|
||||
#: nezha/template.sh:183
|
||||
msgid "Please enter the correct number [1-2]"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:196
|
||||
#: nezha/template.sh:200
|
||||
msgid ""
|
||||
"According to the information provided by various geoip api, the current IP "
|
||||
"may be in China"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:197
|
||||
#: nezha/template.sh:201
|
||||
msgid ""
|
||||
"Will the installation be done with a Chinese Mirror? [Y/n] (Custom Mirror "
|
||||
"Input 3): "
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:201
|
||||
#: nezha/template.sh:205
|
||||
msgid "Use Chinese Mirror"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:206 nezha/template.sh:220
|
||||
#: nezha/template.sh:210 nezha/template.sh:224
|
||||
msgid "Do Not Use Chinese Mirror"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:210
|
||||
#: nezha/template.sh:214
|
||||
msgid "Use Custom Mirror"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:211
|
||||
#: nezha/template.sh:215
|
||||
msgid ""
|
||||
"Please enter a custom image (e.g. :dn-dao-github-mirror.daocloud.io). If "
|
||||
"left blank, it won't be used: "
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:244
|
||||
#: nezha/template.sh:248
|
||||
msgid "> Update Script"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:246
|
||||
#: nezha/template.sh:250
|
||||
msgid "https://${GITHUB_RAW_URL}/install_en.sh"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:249 nezha/template.sh:266
|
||||
#: nezha/template.sh:253 nezha/template.sh:270
|
||||
msgid "Execute new script after 3s"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:274
|
||||
#: nezha/template.sh:278
|
||||
msgid "* Press Enter to return to the main menu *"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:279
|
||||
#: nezha/template.sh:283
|
||||
msgid "> Install"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:285
|
||||
#: nezha/template.sh:289
|
||||
msgid ""
|
||||
"You may have already installed the dashboard, repeated installation will "
|
||||
"overwrite the data, please pay attention to backup."
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:286
|
||||
#: nezha/template.sh:290
|
||||
msgid "Exit the installation? [Y/n]"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:290 nezha/template.sh:297
|
||||
#: nezha/template.sh:294 nezha/template.sh:301
|
||||
msgid "Exit the installation"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:294
|
||||
#: nezha/template.sh:298
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:311
|
||||
#: nezha/template.sh:315
|
||||
msgid "Modify Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:315
|
||||
#: nezha/template.sh:319
|
||||
msgid "Download Docker Script"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:318 nezha/template.sh:329
|
||||
#: nezha/template.sh:322 nezha/template.sh:333
|
||||
msgid ""
|
||||
"Script failed to get, please check if the network can link ${GITHUB_RAW_URL}"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:322
|
||||
#: nezha/template.sh:326
|
||||
msgid ""
|
||||
"Please install docker-compose manually. https://docs.docker.com/compose/"
|
||||
"install/linux/"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:333
|
||||
#: nezha/template.sh:337
|
||||
msgid "Please enter the site title: "
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:335
|
||||
#: nezha/template.sh:339
|
||||
msgid "Please enter the exposed port: (default 8008)"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:337
|
||||
#: nezha/template.sh:341
|
||||
msgid ""
|
||||
"Please specify the preset nezha-agent host in install commands: (e.g. "
|
||||
"example.com:443)"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:339
|
||||
#: nezha/template.sh:343
|
||||
msgid "Do you prefer to connect Agent via TLS? [y/N]"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:352
|
||||
#: nezha/template.sh:356
|
||||
msgid "Please specify the backend locale"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:357
|
||||
#: nezha/template.sh:361
|
||||
msgid "Please enter [1-3]: "
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:373
|
||||
#: nezha/template.sh:377
|
||||
msgid "Please enter the correct number [1-3]"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:379
|
||||
#: nezha/template.sh:383
|
||||
msgid "All options cannot be empty"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:405
|
||||
#: nezha/template.sh:409
|
||||
msgid "Downloading service file"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:409 nezha/template.sh:415
|
||||
#: nezha/template.sh:413 nezha/template.sh:419
|
||||
msgid ""
|
||||
"File failed to get, please check if the network can link ${GITHUB_RAW_URL}"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:423
|
||||
#: nezha/template.sh:427
|
||||
msgid ""
|
||||
"Dashboard configuration modified successfully, please wait for Dashboard "
|
||||
"self-restart to take effect"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:433
|
||||
#: nezha/template.sh:437
|
||||
msgid "> Restart and Update"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:442
|
||||
#: nezha/template.sh:446
|
||||
msgid "Nezha Monitoring Restart Successful"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:443
|
||||
#: nezha/template.sh:447
|
||||
msgid "Default address: domain:site_access_port"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:445
|
||||
#: nezha/template.sh:449
|
||||
msgid ""
|
||||
"The restart failed, probably because the boot time exceeded two seconds, "
|
||||
"please check the log information later"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:472
|
||||
#: nezha/template.sh:477
|
||||
msgid ""
|
||||
"Fail to obtain Dashboard version, please check if the network can link "
|
||||
"https://api.github.com/repos/nezhahq/nezha/releases/latest"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:475
|
||||
#: nezha/template.sh:480
|
||||
msgid "The current latest version is: ${_version}"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:504
|
||||
#: nezha/template.sh:511
|
||||
msgid "> View Log"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:530
|
||||
#: nezha/template.sh:537
|
||||
msgid "> Uninstall"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:569
|
||||
msgid "Nezha Monitor Management Script Usage: "
|
||||
#: nezha/template.sh:539
|
||||
msgid "WARNING: Please backup your files before proceeding uninstallation."
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:571
|
||||
msgid "./nezha.sh - Show Menu"
|
||||
#: nezha/template.sh:540
|
||||
msgid "Proceed? [y/N] "
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:572
|
||||
msgid "./nezha.sh install - Install Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:573
|
||||
msgid "./nezha.sh modify_config - Modify Dashboard Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:574
|
||||
msgid "./nezha.sh restart_and_update - Restart and Update the Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:575
|
||||
msgid "./nezha.sh show_log - View Dashboard Log"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:576
|
||||
msgid "./nezha.sh uninstall - Uninstall Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:581
|
||||
msgid "${green}Nezha Monitor Management Script${plain}"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:583
|
||||
msgid "${green}1.${plain} Install Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:584
|
||||
msgid "${green}2.${plain} Modify Dashboard Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:585
|
||||
msgid "${green}3.${plain} Restart and Update Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:586
|
||||
msgid "${green}4.${plain} View Dashboard Log"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:587
|
||||
msgid "${green}5.${plain} Uninstall Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:589
|
||||
msgid "${green}6.${plain} Update Script"
|
||||
#: nezha/template.sh:544
|
||||
msgid "Uninstalling..."
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:591
|
||||
msgid "${green}0.${plain} Exit Script"
|
||||
msgid "Nezha Monitor Management Script Usage: "
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:593
|
||||
msgid "./nezha.sh - Show Menu"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:594
|
||||
msgid "./nezha.sh install - Install Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:595
|
||||
msgid "./nezha.sh modify_config - Modify Dashboard Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:596
|
||||
msgid "./nezha.sh restart_and_update - Restart and Update the Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:597
|
||||
msgid "./nezha.sh show_log - View Dashboard Log"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:598
|
||||
msgid "./nezha.sh uninstall - Uninstall Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:603
|
||||
msgid "${green}Nezha Monitor Management Script${plain}"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:605
|
||||
msgid "${green}1.${plain} Install Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:606
|
||||
msgid "${green}2.${plain} Modify Dashboard Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:607
|
||||
msgid "${green}3.${plain} Restart and Update Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:608
|
||||
msgid "${green}4.${plain} View Dashboard Log"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:609
|
||||
msgid "${green}5.${plain} Uninstall Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:611
|
||||
msgid "${green}6.${plain} Update Script"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:613
|
||||
msgid "${green}0.${plain} Exit Script"
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:615
|
||||
msgid "Please enter [0-6]: "
|
||||
msgstr ""
|
||||
|
||||
#: nezha/template.sh:617
|
||||
#: nezha/template.sh:639
|
||||
msgid "Please enter the correct number [0-6]"
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user