SimpleWebServerGUI: restored punctuation improvements in resource strings (they were lost in commit 322e4f468e), regenerated translations and updated Russian translation

This commit is contained in:
Maxim Ganetsky 2022-04-15 01:00:50 +03:00
parent 441e150345
commit a47e9046bc
3 changed files with 53 additions and 82 deletions

View File

@ -26,7 +26,7 @@ msgid "Binding of socket failed"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswbrowsertoopenhtmlpagemacroswsbrowser #: simplewebsrvstrconsts.rsswbrowsertoopenhtmlpagemacroswsbrowser
msgid "Browser to open HTML page, macro $(SWSBrowser)" msgid "Browser to open HTML page (macro $(SWSBrowser))"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswcannotfindbrowsersee #: simplewebsrvstrconsts.rsswcannotfindbrowsersee
@ -52,7 +52,7 @@ msgid "Delete server at \"%s\"?"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswdirectorynotfound #: simplewebsrvstrconsts.rsswdirectorynotfound
msgid "Directory not found" msgid "Directory not found."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswerror #: simplewebsrvstrconsts.rsswerror
@ -61,7 +61,7 @@ msgstr ""
#: simplewebsrvstrconsts.rsswerrorcheckingwhichprocessusestcpport #: simplewebsrvstrconsts.rsswerrorcheckingwhichprocessusestcpport
#, object-pascal-format #, object-pascal-format
msgid "Error checking which process uses TCP port %s" msgid "Error checking which process uses TCP port %s:"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswerrorcreatingdirectory #: simplewebsrvstrconsts.rsswerrorcreatingdirectory
@ -74,12 +74,12 @@ msgstr ""
#: simplewebsrvstrconsts.rsswerrorkillingprocess #: simplewebsrvstrconsts.rsswerrorkillingprocess
#, object-pascal-format #, object-pascal-format
msgid "Error killing process %s" msgid "Error killing process %s:"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswerrorwriting #: simplewebsrvstrconsts.rsswerrorwriting
#, object-pascal-format #, object-pascal-format
msgid "Error writing \"%s\"" msgid "Error writing \"%s\":"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswexecutable #: simplewebsrvstrconsts.rsswexecutable
@ -96,7 +96,7 @@ msgid "Invalid macro. See"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswinvalidport #: simplewebsrvstrconsts.rsswinvalidport
msgid "Invalid Port" msgid "Invalid Port."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswkillpid #: simplewebsrvstrconsts.rsswkillpid
@ -121,7 +121,7 @@ msgid "Location"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswlocationalreadyused #: simplewebsrvstrconsts.rsswlocationalreadyused
msgid "Location already used" msgid "Location already used."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswmissingcontroller #: simplewebsrvstrconsts.rsswmissingcontroller
@ -129,23 +129,23 @@ msgid "missing controller"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswmissinglocaldirectory #: simplewebsrvstrconsts.rsswmissinglocaldirectory
msgid "Missing local directory" msgid "Missing local directory."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswmissinglocation #: simplewebsrvstrconsts.rsswmissinglocation
msgid "Missing Location" msgid "Missing Location."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswmissingserverexecutable #: simplewebsrvstrconsts.rsswmissingserverexecutable
msgid "Missing server executable" msgid "Missing server executable."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswparameterspleaseusemacroport #: simplewebsrvstrconsts.rsswparameterspleaseusemacroport
msgid "Parameters, please use macro $(port)" msgid "Parameters (please use macro $(port))"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswportalreadyused #: simplewebsrvstrconsts.rsswportalreadyused
msgid "Port already used" msgid "Port already used."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswsaddress #: simplewebsrvstrconsts.rsswsaddress
@ -166,7 +166,7 @@ msgid "Server directory \"%s\" not found."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswserverexecutablenotfound #: simplewebsrvstrconsts.rsswserverexecutablenotfound
msgid "Server executable not found" msgid "Server executable not found."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswserverexecutablenotfoundinpath #: simplewebsrvstrconsts.rsswserverexecutablenotfoundinpath
@ -175,7 +175,7 @@ msgid "Server executable \"%s\" not found in PATH."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswserverexecutablenotfoundinpath2 #: simplewebsrvstrconsts.rsswserverexecutablenotfoundinpath2
msgid "Server executable not found in PATH" msgid "Server executable not found in PATH."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswserverexeisnotexecutable #: simplewebsrvstrconsts.rsswserverexeisnotexecutable
@ -184,7 +184,7 @@ msgid "Server exe is not executable: \"%s\""
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswserverexeisnotexecutable2 #: simplewebsrvstrconsts.rsswserverexeisnotexecutable2
msgid "Server exe is not executable" msgid "Server exe is not executable."
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswserverextracommandlineoptionsoneperline #: simplewebsrvstrconsts.rsswserverextracommandlineoptionsoneperline
@ -228,7 +228,7 @@ msgid "User"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswtcpport102465535youcanusemacroportforbelowparams #: simplewebsrvstrconsts.rsswtcpport102465535youcanusemacroportforbelowparams
msgid "TCP Port 1024..65535, you can use macro $(Port) for below params" msgid "TCP Port 1024..65535 (you can use macro $(port) for below params)"
msgstr "" msgstr ""
#: simplewebsrvstrconsts.rsswthefollowingprocessalreadylistens #: simplewebsrvstrconsts.rsswthefollowingprocessalreadylistens

View File

@ -36,9 +36,7 @@ msgid "Binding of socket failed"
msgstr "Не удалось привязать сокет" msgstr "Не удалось привязать сокет"
#: simplewebsrvstrconsts.rsswbrowsertoopenhtmlpagemacroswsbrowser #: simplewebsrvstrconsts.rsswbrowsertoopenhtmlpagemacroswsbrowser
#, fuzzy msgid "Browser to open HTML page (macro $(SWSBrowser))"
#| msgid "Browser to open HTML page (macro $(SWSBrowser))"
msgid "Browser to open HTML page, macro $(SWSBrowser)"
msgstr "Браузер для открытия страницы HTML (макрос $(SWSBrowser))" msgstr "Браузер для открытия страницы HTML (макрос $(SWSBrowser))"
#: simplewebsrvstrconsts.rsswcannotfindbrowsersee #: simplewebsrvstrconsts.rsswcannotfindbrowsersee
@ -64,9 +62,7 @@ msgid "Delete server at \"%s\"?"
msgstr "Удалить сервер, расположенный в \"%s\"?" msgstr "Удалить сервер, расположенный в \"%s\"?"
#: simplewebsrvstrconsts.rsswdirectorynotfound #: simplewebsrvstrconsts.rsswdirectorynotfound
#, fuzzy msgid "Directory not found."
#| msgid "Directory not found."
msgid "Directory not found"
msgstr "Каталог не найден." msgstr "Каталог не найден."
#: simplewebsrvstrconsts.rsswerror #: simplewebsrvstrconsts.rsswerror
@ -74,9 +70,8 @@ msgid "Error"
msgstr "Ошибка" msgstr "Ошибка"
#: simplewebsrvstrconsts.rsswerrorcheckingwhichprocessusestcpport #: simplewebsrvstrconsts.rsswerrorcheckingwhichprocessusestcpport
#, object-pascal-format, fuzzy #, object-pascal-format
#| msgid "Error checking which process uses TCP port %s:" msgid "Error checking which process uses TCP port %s:"
msgid "Error checking which process uses TCP port %s"
msgstr "Ошибка при поиске процесса, использующего порт %s:" msgstr "Ошибка при поиске процесса, использующего порт %s:"
#: simplewebsrvstrconsts.rsswerrorcreatingdirectory #: simplewebsrvstrconsts.rsswerrorcreatingdirectory
@ -88,15 +83,13 @@ msgid "Error finding free TCP port:"
msgstr "Ошибка при поиске свободного порта TCP:" msgstr "Ошибка при поиске свободного порта TCP:"
#: simplewebsrvstrconsts.rsswerrorkillingprocess #: simplewebsrvstrconsts.rsswerrorkillingprocess
#, object-pascal-format, fuzzy #, object-pascal-format
#| msgid "Error killing process %s:" msgid "Error killing process %s:"
msgid "Error killing process %s"
msgstr "Ошибка при принудительном завершении процесса %s:" msgstr "Ошибка при принудительном завершении процесса %s:"
#: simplewebsrvstrconsts.rsswerrorwriting #: simplewebsrvstrconsts.rsswerrorwriting
#, object-pascal-format, fuzzy #, object-pascal-format
#| msgid "Error writing \"%s\":" msgid "Error writing \"%s\":"
msgid "Error writing \"%s\""
msgstr "Ошибка при записи \"%s\":" msgstr "Ошибка при записи \"%s\":"
#: simplewebsrvstrconsts.rsswexecutable #: simplewebsrvstrconsts.rsswexecutable
@ -113,9 +106,7 @@ msgid "Invalid macro. See"
msgstr "Некорректный макрос. Смотрите" msgstr "Некорректный макрос. Смотрите"
#: simplewebsrvstrconsts.rsswinvalidport #: simplewebsrvstrconsts.rsswinvalidport
#, fuzzy msgid "Invalid Port."
#| msgid "Invalid Port."
msgid "Invalid Port"
msgstr "Некорректный порт." msgstr "Некорректный порт."
#: simplewebsrvstrconsts.rsswkillpid #: simplewebsrvstrconsts.rsswkillpid
@ -140,9 +131,7 @@ msgid "Location"
msgstr "Расположение" msgstr "Расположение"
#: simplewebsrvstrconsts.rsswlocationalreadyused #: simplewebsrvstrconsts.rsswlocationalreadyused
#, fuzzy msgid "Location already used."
#| msgid "Location already used."
msgid "Location already used"
msgstr "Расположение уже используется." msgstr "Расположение уже используется."
#: simplewebsrvstrconsts.rsswmissingcontroller #: simplewebsrvstrconsts.rsswmissingcontroller
@ -150,33 +139,23 @@ msgid "missing controller"
msgstr "отсутствует контроллер" msgstr "отсутствует контроллер"
#: simplewebsrvstrconsts.rsswmissinglocaldirectory #: simplewebsrvstrconsts.rsswmissinglocaldirectory
#, fuzzy msgid "Missing local directory."
#| msgid "Missing local directory."
msgid "Missing local directory"
msgstr "Отсутствует локальный каталог." msgstr "Отсутствует локальный каталог."
#: simplewebsrvstrconsts.rsswmissinglocation #: simplewebsrvstrconsts.rsswmissinglocation
#, fuzzy msgid "Missing Location."
#| msgid "Missing Location."
msgid "Missing Location"
msgstr "Отсутствует расположение." msgstr "Отсутствует расположение."
#: simplewebsrvstrconsts.rsswmissingserverexecutable #: simplewebsrvstrconsts.rsswmissingserverexecutable
#, fuzzy msgid "Missing server executable."
#| msgid "Missing server executable."
msgid "Missing server executable"
msgstr "Отсутствует исполнимый файл сервера." msgstr "Отсутствует исполнимый файл сервера."
#: simplewebsrvstrconsts.rsswparameterspleaseusemacroport #: simplewebsrvstrconsts.rsswparameterspleaseusemacroport
#, fuzzy msgid "Parameters (please use macro $(port))"
#| msgid "Parameters (please use macro $(port))"
msgid "Parameters, please use macro $(port)"
msgstr "Параметры (используйте макрос $(port))" msgstr "Параметры (используйте макрос $(port))"
#: simplewebsrvstrconsts.rsswportalreadyused #: simplewebsrvstrconsts.rsswportalreadyused
#, fuzzy msgid "Port already used."
#| msgid "Port already used."
msgid "Port already used"
msgstr "Порт уже используется." msgstr "Порт уже используется."
#: simplewebsrvstrconsts.rsswsaddress #: simplewebsrvstrconsts.rsswsaddress
@ -197,9 +176,7 @@ msgid "Server directory \"%s\" not found."
msgstr "Каталог сервера \"%s\" не найден." msgstr "Каталог сервера \"%s\" не найден."
#: simplewebsrvstrconsts.rsswserverexecutablenotfound #: simplewebsrvstrconsts.rsswserverexecutablenotfound
#, fuzzy msgid "Server executable not found."
#| msgid "Server executable not found."
msgid "Server executable not found"
msgstr "Исполнимый файл сервера не найден." msgstr "Исполнимый файл сервера не найден."
#: simplewebsrvstrconsts.rsswserverexecutablenotfoundinpath #: simplewebsrvstrconsts.rsswserverexecutablenotfoundinpath
@ -208,9 +185,7 @@ msgid "Server executable \"%s\" not found in PATH."
msgstr "Исполнимый файл сервера \"%s\" не найден в PATH." msgstr "Исполнимый файл сервера \"%s\" не найден в PATH."
#: simplewebsrvstrconsts.rsswserverexecutablenotfoundinpath2 #: simplewebsrvstrconsts.rsswserverexecutablenotfoundinpath2
#, fuzzy msgid "Server executable not found in PATH."
#| msgid "Server executable not found in PATH."
msgid "Server executable not found in PATH"
msgstr "Исполнимый файл сервера не найден в PATH." msgstr "Исполнимый файл сервера не найден в PATH."
#: simplewebsrvstrconsts.rsswserverexeisnotexecutable #: simplewebsrvstrconsts.rsswserverexeisnotexecutable
@ -219,9 +194,7 @@ msgid "Server exe is not executable: \"%s\""
msgstr "Файл сервера не является исполнимым: \"%s\"" msgstr "Файл сервера не является исполнимым: \"%s\""
#: simplewebsrvstrconsts.rsswserverexeisnotexecutable2 #: simplewebsrvstrconsts.rsswserverexeisnotexecutable2
#, fuzzy msgid "Server exe is not executable."
#| msgid "Server exe is not executable."
msgid "Server exe is not executable"
msgstr "Файл сервера не является исполнимым." msgstr "Файл сервера не является исполнимым."
#: simplewebsrvstrconsts.rsswserverextracommandlineoptionsoneperline #: simplewebsrvstrconsts.rsswserverextracommandlineoptionsoneperline
@ -265,9 +238,7 @@ msgid "User"
msgstr "Пользователь" msgstr "Пользователь"
#: simplewebsrvstrconsts.rsswtcpport102465535youcanusemacroportforbelowparams #: simplewebsrvstrconsts.rsswtcpport102465535youcanusemacroportforbelowparams
#, fuzzy msgid "TCP Port 1024..65535 (you can use macro $(port) for below params)"
#| msgid "TCP Port 1024..65535 (you can use macro $(port) for below params)"
msgid "TCP Port 1024..65535, you can use macro $(Port) for below params"
msgstr "Порт TCP из диапазона 1024..65535 (можно использовать макрос $(port) в параметрах ниже)" msgstr "Порт TCP из диапазона 1024..65535 (можно использовать макрос $(port) в параметрах ниже)"
#: simplewebsrvstrconsts.rsswthefollowingprocessalreadylistens #: simplewebsrvstrconsts.rsswthefollowingprocessalreadylistens
@ -277,7 +248,7 @@ msgstr "Его уже занял следующий процесс:"
#: simplewebsrvstrconsts.rsswthereisalreadyaserveronportoriginpath #: simplewebsrvstrconsts.rsswthereisalreadyaserveronportoriginpath
#, object-pascal-format #, object-pascal-format
msgid "There is already a server on port %s:%sOrigin: %sPath: %s" msgid "There is already a server on port %s:%sOrigin: %sPath: %s"
msgstr "" msgstr "На порту %s уже имеется сервер:%sПроисхождение: %sПуть: %s"
#: simplewebsrvstrconsts.rsswtoolsoptionssimplewebserverbrowser #: simplewebsrvstrconsts.rsswtoolsoptionssimplewebserverbrowser
msgid "Tools / Options / Simple Web Server / Browser" msgid "Tools / Options / Simple Web Server / Browser"

View File

@ -10,17 +10,17 @@ resourcestring
rsSWSAddress = 'Address'; rsSWSAddress = 'Address';
rsSWSPort = 'Port'; rsSWSPort = 'Port';
rsSWTCPPort102465535YouCanUseMacroPortForBelowParams = 'TCP Port 1024..65535' rsSWTCPPort102465535YouCanUseMacroPortForBelowParams = 'TCP Port 1024..65535'
+', you can use macro $(Port) for below params'; +' (you can use macro $(port) for below params)';
rsSWExecutable = 'Executable'; rsSWExecutable = 'Executable';
rsSWWorkingDirectory = 'Working Directory'; rsSWWorkingDirectory = 'Working Directory';
rsSWParametersPleaseUseMacroPort = 'Parameters, please use macro $(port)'; rsSWParametersPleaseUseMacroPort = 'Parameters (please use macro $(port))';
rsSWCommandLineParameters = 'Command line parameters'; rsSWCommandLineParameters = 'Command line parameters';
rsSWAddCustomServer = 'Add Custom Server'; rsSWAddCustomServer = 'Add Custom Server';
rsSWSelectDirectory = 'Select Directory'; rsSWSelectDirectory = 'Select Directory';
rsSWServerExtraCommandLineOptionsOnePerLine = 'Server extra command-line ' rsSWServerExtraCommandLineOptionsOnePerLine = 'Server extra command-line '
+'options (one per line)'; +'options (one per line)';
rsSWBrowserToOpenHTMLPageMacroSWSBrowser = 'Browser to open HTML page, macro' rsSWBrowserToOpenHTMLPageMacroSWSBrowser = 'Browser to open HTML page (macro'
+' $(SWSBrowser)'; +' $(SWSBrowser))';
rsSWAddExtraCommandLineOptionsForTheCommandWhichStarts = 'Add extra command-' rsSWAddExtraCommandLineOptionsForTheCommandWhichStarts = 'Add extra command-'
+'line options for the command which starts the webserver.'; +'line options for the command which starts the webserver.';
rsSWUseThisBrowserWhenOpeningTheURLOrHTMLFileOfAWebBro = 'Use this browser ' rsSWUseThisBrowserWhenOpeningTheURLOrHTMLFileOfAWebBro = 'Use this browser '
@ -29,7 +29,7 @@ resourcestring
rsSWSUserOrigin = 'User'; rsSWSUserOrigin = 'User';
rsSWUnableToAddLocation = 'Unable to add location:'; rsSWUnableToAddLocation = 'Unable to add location:';
rsSWMissingController = 'missing controller'; rsSWMissingController = 'missing controller';
rsSWMissingLocation = 'Missing Location'; rsSWMissingLocation = 'Missing Location.';
rsSWAddSimpleWebServerLocation = 'Add Simple Web Server Location'; rsSWAddSimpleWebServerLocation = 'Add Simple Web Server Location';
rsSWLocation = 'Location'; rsSWLocation = 'Location';
rsSWAnArbitraryNameForTheURLSubfolder = 'An arbitrary name for the URL ' rsSWAnArbitraryNameForTheURLSubfolder = 'An arbitrary name for the URL '
@ -42,22 +42,22 @@ resourcestring
rsSWThereIsAlreadyAServerOnPortOriginPath = 'There is already a server on ' rsSWThereIsAlreadyAServerOnPortOriginPath = 'There is already a server on '
+'port %s:%sOrigin: %sPath: %s'; +'port %s:%sOrigin: %sPath: %s';
rsSWErrorFindingFreeTCPPort = 'Error finding free TCP port:'; rsSWErrorFindingFreeTCPPort = 'Error finding free TCP port:';
rsSWErrorKillingProcess = 'Error killing process %s'; rsSWErrorKillingProcess = 'Error killing process %s:';
rsSWErrorCheckingWhichProcessUsesTCPPort = 'Error checking which process ' rsSWErrorCheckingWhichProcessUsesTCPPort = 'Error checking which process '
+'uses TCP port %s'; +'uses TCP port %s:';
rsSWCannotFindBrowserSee = 'Cannot find browser. See'; rsSWCannotFindBrowserSee = 'Cannot find browser. See';
rsSWInvalidMacroSee = 'Invalid macro. See'; rsSWInvalidMacroSee = 'Invalid macro. See';
rsSWToolsOptionsSimpleWebServerBrowser = 'Tools / Options / Simple Web ' rsSWToolsOptionsSimpleWebServerBrowser = 'Tools / Options / Simple Web '
+'Server / Browser'; +'Server / Browser';
rsSWServerExecutableNotFound = 'Server executable not found'; rsSWServerExecutableNotFound = 'Server executable not found.';
rsSWServerExeIsNotExecutable2 = 'Server exe is not executable'; rsSWServerExeIsNotExecutable2 = 'Server exe is not executable.';
rsSWInvalidPort = 'Invalid Port'; rsSWInvalidPort = 'Invalid Port.';
rsSWPortAlreadyUsed = 'Port already used'; rsSWPortAlreadyUsed = 'Port already used.';
rsSWLocalDirectoryNotFound = 'Local directory not found:'; rsSWLocalDirectoryNotFound = 'Local directory not found:';
rsSWLocationAlreadyUsed = 'Location already used'; rsSWLocationAlreadyUsed = 'Location already used.';
rsSWErrorWriting = 'Error writing "%s"'; rsSWErrorWriting = 'Error writing "%s":';
rsSWErrorCreatingDirectory = 'Error creating directory'; rsSWErrorCreatingDirectory = 'Error creating directory';
rsSWDirectoryNotFound = 'Directory not found'; rsSWDirectoryNotFound = 'Directory not found.';
rsSWSimpleWebServerAddress = 'Simple Web Server Address'; rsSWSimpleWebServerAddress = 'Simple Web Server Address';
rsSWSimpleWebServerPort = 'Simple Web Server Port'; rsSWSimpleWebServerPort = 'Simple Web Server Port';
rsSWSimpleWebServerExecutable = 'Simple Web Server Executable'; rsSWSimpleWebServerExecutable = 'Simple Web Server Executable';
@ -73,9 +73,9 @@ resourcestring
rsSWKillProcess = 'Kill process?'; rsSWKillProcess = 'Kill process?';
rsSWKillPID = 'Kill PID %s'; rsSWKillPID = 'Kill PID %s';
rsSWTryAnotherPort = 'Try another port'; rsSWTryAnotherPort = 'Try another port';
rsSWMissingServerExecutable = 'Missing server executable'; rsSWMissingServerExecutable = 'Missing server executable.';
rsSWServerExecutableNotFoundInPATH2 = 'Server executable not found in PATH'; rsSWServerExecutableNotFoundInPATH2 = 'Server executable not found in PATH.';
rsSWMissingLocalDirectory = 'Missing local directory'; rsSWMissingLocalDirectory = 'Missing local directory.';
rsSWStartServer = 'Start Server'; rsSWStartServer = 'Start Server';
rsSWStopServer = 'Stop Server'; rsSWStopServer = 'Stop Server';
rsSWDelete = 'Delete?'; rsSWDelete = 'Delete?';